Crystal Space
Welcome, Guest. Please login or register.
November 25, 2014, 12:04:03 am

Login with username, password and session length
Search:     Advanced search
9018 Posts in 2046 Topics by 9111 Members
Latest Member: Jorak
* Home Help Search Login Register
  Show Posts
Pages: [1]
1  Associate Projects / CEL Discussion / Re: Running CEL in visual C++ on: October 01, 2013, 10:34:58 pm
I'll give it a shot.

Given that you're on Windows (b/c you're using msvc++),
your environmental variables should look like this:

Crystal Space:
Name: Crystal
Value: C:\CS (or C:\...whatever)

Name: CEL
Value: C:\CEL (or C:\...whater)

In VC,
Tools-->Options-->Project and Solutions-->VC++ Directories:
Under Include:
Under Library:

Note that the directory where you have CS installed is not necessarily that but wherever you have it located. Same is true for CEL.
Make sure to include the appropriate Preprocessor definitions and the appropriate Additional Dependancies

I did this but I am still having the same problem whenever I try to run the application.  It compiles just fine.  I tried setting CRYSTAL and CEL both as system and user variables:

I checked the file system and the .dll file is there in the root CS directory and the \out\release\bin directory.
2  Crystal Space Development / Support / Re: DLL file missing :( on: October 01, 2013, 09:56:09 pm
I think I'm having the same problem.  When I try to run an app, I get the message (without _d when I try it in release mode):
The program can't start because crystalspace-2.0-vc10_d.dll is missing from your computer.  Try reinstalling the program to fix this problem.

Is there something I haven't set up correctly?  I'm using VS 2010 on Windows 7.  Here is what I have done:
System Environment variables:
CRYSTAL = c:\crystalspace-src-2.0
CEL = c:\cel-src-2.0

Linker - Additional library directories:

VC++ Directories:
Include: c:\cel-src-2.0\include;c:\crystalspace-src-2.0\include
Library: c:\cel-src-2.0\out\debug10\libs;c:\crystalspace-src-2.0\out\debug10\libs

I also get these messages in the output when I try to run it:
'test.exe': Loaded 'C:\Users\Francis\Documents\Visual Studio 2010\Projects\test\Debug\test.exe', Symbols loaded.
'test.exe': Loaded 'C:\Windows\SysWOW64\ntdll.dll', Cannot find or open the PDB file
'test.exe': Loaded 'C:\Windows\SysWOW64\kernel32.dll', Cannot find or open the PDB file
'test.exe': Loaded 'C:\Windows\SysWOW64\KernelBase.dll', Cannot find or open the PDB file
The program '[6024] test.exe: Native' has exited with code -1073741515 (0xc0000135).
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.2 | SMF © 2006-2007, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
Page created in 4.154 seconds with 17 queries.