Crystal Space
Welcome, Guest. Please login or register.
September 02, 2014, 03:30:26 pm

Login with username, password and session length
Search:     Advanced search
9009 Posts in 2043 Topics by 8378 Members
Latest Member: Gwenlode
* Home Help Search Login Register
  Show Posts
Pages: [1]
1  Crystal Space Development / Support / Question about including assimp on: September 12, 2012, 10:28:51 pm
Hey!

I've been going through the tutorials. A page suggests that Crystal Space has included assimp and that viewmesh should be able to load any model that assimp can load. However it's not clear to me if I have to do something to include the assimp library or does CS include it on it's own? Do I have to enable some preprocessor variables? My confusion was raised when I tried to load a .3ds model with Viewmesh.
The exact chain of errors was:
(The model is a tank)
            1) crystalspace.genmesh3dsfactoryloader.load: Can't find material 'M1_Abrams'!
            2) crystalspace.genmesh3dsfactoryloader.load: Error parsing the 3DS file!
            3) crystalspace.genmesh3dsfactoryloader.load: Error loading the 3DS file!
            4) crystalspace.maploader.parse: Model file not recognized (M1_Abrams.3DS)!

But I tried the assimp library by itself and it has no problems loading the model. So, what am I doing wrong here?
2  Crystal Space Development / Support / Re: Problem compiling sndsystem for Windows on: September 11, 2012, 06:22:00 pm
Oh you were right! You know actually what I did first was replace the dsound.h header from the VC directory (made a backup of course), and changed the VC++ directories so it would include the VC first than WinSDK, but I guess something went wrong. What I did now is put the dsound directory before the Windows SDK and it compiled. Thanks!
3  Crystal Space Development / Support / Problem compiling sndsystem for Windows on: September 11, 2012, 04:21:49 am
Hey everyone!

I am a new user to Crystal Space. I just found it and decided to give it a try.
I downloaded CS 2.0 latest stable release. Went through the documentation on getting CS built.

winlibs version: 2.0_002
OS: Windows 7, Home, Service Pack 1
IDE: Visual Studio 2010, Version 10.0.4 Service Pack 1
.NET Framework: Version 4.0.30319 Service Pack 1
Windows SDK: 7.0A
Compiler: VisualC
Video card: Intel HD Graphics 3000 (iCore3)

Almost everything compiled fine. The one thing that is not compiling is the sound system; it burns when it tries to find the direct sound definitions.

To be exact:

Code:
ClCompile:
1>  driver_ds.cpp
1>c:\sdks\crystal space\plugins\sndsys\renderer\software\drivers\directsound\driver_ds.h(165): error C2146: syntax error : missing ';' before identifier 'm_pDirectSoundDevice'
1>c:\sdks\crystal space\plugins\sndsys\renderer\software\drivers\directsound\driver_ds.h(165): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\sdks\crystal space\plugins\sndsys\renderer\software\drivers\directsound\driver_ds.h(165): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>..\..\plugins\sndsys\renderer\software\drivers\directsound\driver_ds.cpp(59): error C2614: 'CS::Plugin::SndSysDIRECTSOUND::SndSysDriverDirectSound' : illegal member initialization: 'm_pDirectSoundDevice' is not a base or member
1>..\..\plugins\sndsys\renderer\software\drivers\directsound\driver_ds.cpp(133): error C2065: 'm_pDirectSoundDevice' : undeclared identifier
1>..\..\plugins\sndsys\renderer\software\drivers\directsound\driver_ds.cpp(133): error C3861: 'DirectSoundCreate8': identifier not found
1>..\..\plugins\sndsys\renderer\software\drivers\directsound\driver_ds.cpp(158): error C2065: 'm_pDirectSoundDevice' : undeclared identifier
1>..\..\plugins\sndsys\renderer\software\drivers\directsound\driver_ds.cpp(158): error C2227: left of '->SetCooperativeLevel' must point to class/struct/union/generic type
1>          type is ''unknown-type''
1>..\..\plugins\sndsys\renderer\software\drivers\directsound\driver_ds.cpp(175): error C2065: 'm_pDirectSoundDevice' : undeclared identifier
1>..\..\plugins\sndsys\renderer\software\drivers\directsound\driver_ds.cpp(175): error C2227: left of '->Release' must point to class/struct/union/generic type
1>          type is ''unknown-type''
1>..\..\plugins\sndsys\renderer\software\drivers\directsound\driver_ds.cpp(176): error C2065: 'm_pDirectSoundDevice' : undeclared identifier
1>..\..\plugins\sndsys\renderer\software\drivers\directsound\driver_ds.cpp(187): error C2065: 'm_pDirectSoundDevice' : undeclared identifier
1>..\..\plugins\sndsys\renderer\software\drivers\directsound\driver_ds.cpp(187): error C2065: 'm_pDirectSoundDevice' : undeclared identifier
1>..\..\plugins\sndsys\renderer\software\drivers\directsound\driver_ds.cpp(187): error C2227: left of '->Release' must point to class/struct/union/generic type
1>          type is ''unknown-type''
1>..\..\plugins\sndsys\renderer\software\drivers\directsound\driver_ds.cpp(188): error C2065: 'm_pDirectSoundDevice' : undeclared identifier
1>..\..\plugins\sndsys\renderer\software\drivers\directsound\driver_ds.cpp(224): error C2065: 'm_pDirectSoundDevice' : undeclared identifier
1>..\..\plugins\sndsys\renderer\software\drivers\directsound\driver_ds.cpp(224): error C2227: left of '->CreateSoundBuffer' must point to class/struct/union/generic type
1>          type is ''unknown-type''
1>..\..\plugins\sndsys\renderer\software\drivers\directsound\driver_ds.cpp(246): error C2065: 'LPDIRECTSOUNDNOTIFY8' : undeclared identifier
1>..\..\plugins\sndsys\renderer\software\drivers\directsound\driver_ds.cpp(246): error C2146: syntax error : missing ';' before identifier 'lpDsNotify'
1>..\..\plugins\sndsys\renderer\software\drivers\directsound\driver_ds.cpp(246): error C2065: 'lpDsNotify' : undeclared identifier
1>..\..\plugins\sndsys\renderer\software\drivers\directsound\driver_ds.cpp(247): error C2065: 'IID_IDirectSoundNotify8' : undeclared identifier
1>..\..\plugins\sndsys\renderer\software\drivers\directsound\driver_ds.cpp(247): error C2065: 'lpDsNotify' : undeclared identifier
1>..\..\plugins\sndsys\renderer\software\drivers\directsound\driver_ds.cpp(265): error C2065: 'lpDsNotify' : undeclared identifier
1>..\..\plugins\sndsys\renderer\software\drivers\directsound\driver_ds.cpp(265): error C2227: left of '->SetNotificationPositions' must point to class/struct/union/generic type
1>          type is ''unknown-type''
1>..\..\plugins\sndsys\renderer\software\drivers\directsound\driver_ds.cpp(274): error C2065: 'lpDsNotify' : undeclared identifier
1>..\..\plugins\sndsys\renderer\software\drivers\directsound\driver_ds.cpp(274): error C2227: left of '->Release' must point to class/struct/union/generic type
1>          type is ''unknown-type''
1>
1>Build FAILED.
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.379 seconds with 17 queries.