Crystal Space
Welcome, Guest. Please login or register.
August 21, 2014, 05:25:03 pm

Login with username, password and session length
Search:     Advanced search
9012 Posts in 2050 Topics by 8332 Members
Latest Member: Msquartcarle03
* 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)

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

In VC,
Tools-->Options-->Project and Solutions-->VC++ Directories:
Under Include:
C:\CS
C:\CEL
Under Library:
C:\CS\out\release9\libs
C:\CS\out\debug9\libs
C:\CEL\out\release9\libs
C:\...

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:
CRYSTAL
C:\crystalspace-src-2.0
CEL
C:\cel-src-2.0

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):
Quote
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:
C:\cel-src-2.0;c:\crystalspace-src-2.0

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:
Quote
'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 6.19 seconds with 18 queries.