Crystal Space
Welcome, Guest. Please login or register.
April 17, 2014, 09:00:46 am

Login with username, password and session length
Search:     Advanced search
8990 Posts in 2037 Topics by 7588 Members
Latest Member: Msdromyc030
* Home Help Search Login Register
+  Crystal Space
|-+  Crystal Space Project Development
| |-+  Bug Reports
| | |-+  cs-pseudo-stable-2006-01-27 VC8 and iEvent problem. +some impresion on CS
« previous next »
Pages: [1] Print
Author Topic: cs-pseudo-stable-2006-01-27 VC8 and iEvent problem. +some impresion on CS  (Read 8609 times)
newbie.
Guest


Email
« on: March 27, 2006, 11:16:03 am »

I know that you probably hear it often but first of all i would like to say that i almost resigned from using CS. I’m new to CS and compiling engine gave me hell of a trouble.

As you can see I’m a Visual Studio user, so I'm used to starting things easy way.

Before compiling i had to change names of some files for engine to be build.

I don’t remember exactly but cal3d and cegui for visual studio have to be renamed.
And also i had to download SDK for directX (about 300 MB). The minimal directX didn't work.

I have spent about one day on all this and seriously i was going to switch to ogre which didn't bring me any trouble installing.
Plus ogre project creator for VC is pretty helpful.

Can't you just put all necessary things into one file ??

At last I have compiled "simple" application and all happy started with maze tutorial ("mazetut").
And i have got this errors while trying to build:

'Type' : is not a member of 'iEvent'
'csevKeyboard' : undeclared identifier
'cscmdQuit' : undeclared identifier

So My first impression is     , well ,  just guess.
Logged
jorrit
Administrator
Hero Member
*****
Posts: 1704


View Profile
« Reply #1 on: March 27, 2006, 11:32:53 am »

About the building errors with CS I'm not sure what is wrong. I know CS compiles fine with VC8 because I know several people who do that. Perhaps you can tell us exactly which problems you got (i.e. the errors)? There should be no need to change names of files and there should be no need to download the full DirectX SDK. At least it is not needed for all the people that I know use VC8.

About the tutorial problem it appears that you are trying to use the tutorial code for version 0.98 of CS. You should not use the documentation on the 0.98 release. Instead you must use the documentation from the latest CVS release (http://crystalspace3d.org/docs/online/manual/). Even better is to use the documentation that comes with your version of CS as that documentation is up-to-date with your version of CS. So just point your browser to the docs/html/... file and read that.

Greetings,
Logged
engine.lib
Guest


Email
« Reply #2 on: March 27, 2006, 02:09:52 pm »

i have to rename this files:
      directory: C:\Program Files\CS\libs\csutil\win32\libs\


cal3d-vc8.lib  to  cal3d.lib
CEGUIBase-vc8.lib  to  CEGUIBase.lib

or else when trying to compile VC generated 'cannot open cal3d.lib' and 'cannot open CEGUIBase.lib" or sth similar.

after this changes VC generated information that ddraw.h not found. so i had to instal DirectX SDK.

Summary I have installed the following packages:


dxsdk_feb2006.exe
cs-pseudo-stable-2006-01-27.zip
cs-win32libs-0.99r0_020.exe
crystalspace_099_060127.exe






Logged
jorrit
Administrator
Hero Member
*****
Posts: 1704


View Profile
« Reply #3 on: March 27, 2006, 02:14:21 pm »

i have to rename this files:
      directory: C:\Program Files\CS\libs\csutil\win32\libs\


cal3d-vc8.lib  to  cal3d.lib
CEGUIBase-vc8.lib  to  CEGUIBase.lib

or else when trying to compile VC generated 'cannot open cal3d.lib' and 'cannot open CEGUIBase.lib" or sth similar.

after this changes VC generated information that ddraw.h not found. so i had to instal DirectX SDK.

Summary I have installed the following packages:


dxsdk_feb2006.exe
cs-pseudo-stable-2006-01-27.zip
cs-win32libs-0.99r0_020.exe
crystalspace_099_060127.exe


You used the wrong version of cs-win32libs. For the latest pseudo-stable you MUST use version 018 and not version 020 (this is indicated in the download page where you can download the pseudo-stable from).

Greetings,
Logged
lib.lib
Guest


Email
« Reply #4 on: March 30, 2006, 10:29:33 am »

I used this one u mentioned and still had the same bug.
Logged
jorrit
Administrator
Hero Member
*****
Posts: 1704


View Profile
« Reply #5 on: March 30, 2006, 10:36:16 am »

I used this one u mentioned and still had the same bug.

Well don't know what to say then. I don't use MSVC myself but others in my team do and it works for them. Sorry, no clue sad

Greetings,
Logged
lib.lib
Guest


Email
« Reply #6 on: March 30, 2006, 09:58:42 pm »

[edit]Previously i posted in a wrong forum allow me to post this post second time[/edit]

ok i have got it compiled without erorrs.

i have made it like that.

unapcked cs-pseudo-stable-2006-01-27.zip and copied CS into "Program Files".
unapcked cel-pseudo-stable-2006-01-27.zip and copied CEL into "Program Files".

Set environmental variables Control Panels-->My Computer-->Properities-->Advenced-->Environmental Variable

CRYSTAL   C:\Program Files\CS
CEL   C:\Program Files\CEL

installed:
cs-win32libs-0.99r0_018.exe

in visual studio tool-->options-->Projects and Solutions-->VC++ Directories:

    include directories added :
C:\CrystalSpaceLibs\include    //where cs-win32libs-0.99r0_018.exe was instaled
C:\Program Files\CS\include
C:\Program Files\cel\include

   library directories added:
C:\CrystalSpaceLibs\lib\vc8
          builded CS solution
C:\Program Files\CS\out\release8\libs
          builded CEL solution
C:\Program Files\cel\out\release8\libs

i have installed also directX SDK but it is not needed probably.


And now only problem i have got is:
while running celtest application, messageBox appears with this message.

"crystalspace.maploader.parse.map: Could not open map file 'basic_world' on VFS!"
Logged
Pages: [1] Print 
« previous next »
Jump to:  

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.456 seconds with 15 queries.