Crystal Space
Welcome,
Guest
. Please
login
or
register
.
June 19, 2013, 04:13:34 am
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Search:
Advanced search
9261
Posts in
2262
Topics by
5443
Members
Latest Member:
Michealclark
Crystal Space
Crystal Space Development
Support
Compile Errors
« previous
next »
Pages:
[
1
]
2
Author
Topic: Compile Errors (Read 5452 times)
bluntman
Newbie
Posts: 9
Compile Errors
«
on:
September 20, 2005, 12:03:12 am »
Hey guys, when I compile CS with visual studio 6 on windows XP i get 24 errors when the compiler is linking directx files... I'm pretty sure it mostly has to do with the audio subsystem but anyways I wanted to use openAL instead of DirectSound, any guidance?
Errors:
--------------------Configuration: plgsndds3d - Win32 Release_NR--------------------
Compiling resources...
Compiling...
sndhdl.cpp
C:\Program Files\Microsoft DirectX 9.0 SDK (October 2004)\Include\dsound.h(305) : error C2146: syntax error : missing ';' before identifier 'dwReserved1'
C:\Program Files\Microsoft DirectX 9.0 SDK (October 2004)\Include\dsound.h(305) : error C2501: 'DWORD_PTR' : missing storage-class or type specifiers
C:\Program Files\Microsoft DirectX 9.0 SDK (October 2004)\Include\dsound.h(305) : error C2501: 'dwReserved1' : missing storage-class or type specifiers
C:\Program Files\Microsoft DirectX 9.0 SDK (October 2004)\Include\dsound.h(306) : error C2146: syntax error : missing ';' before identifier 'dwReserved2'
C:\Program Files\Microsoft DirectX 9.0 SDK (October 2004)\Include\dsound.h(306) : error C2501: 'DWORD_PTR' : missing storage-class or type specifiers
C:\Program Files\Microsoft DirectX 9.0 SDK (October 2004)\Include\dsound.h(306) : error C2501: 'dwReserved2' : missing storage-class or type specifiers
sndlstn.cpp
etc...
Logged
mark
Full Member
Posts: 101
Re: Compile Errors
«
Reply #1 on:
September 20, 2005, 08:20:14 am »
recently there are some mails in the mailinglist about the soundsystem and directx.
1) CS gets/has a new soundsystem (checkedin since yesterday)
2) it seems that soundcode written for directx 7 is not compatible with directx 8,9 or something like that
You can try the latest CVS sources to try the new system or downgrade directx.
You even may ignore the errors, because you said that you won't use the directx plugin, so you don't have to care if it's not been build.
Logged
Gentoo Linux ~x86, kernel 2.6.11-cko9 smp, gcc 3.4.4-r1, binutils 2.16.1, glibc 2.3.5 NPTL
CS+CEL Pseudo Stable 2005.09.03
sunshine
Administrator
Sr. Member
Posts: 292
Re: Compile Errors
«
Reply #2 on:
September 20, 2005, 01:58:37 pm »
Can you figure out what it is on the indicated lines which causes the complaints? Maybe we just need to #include some other Windows header first or typedef some type.
Logged
bluntman
Newbie
Posts: 9
Re: Compile Errors
«
Reply #3 on:
September 20, 2005, 10:30:01 pm »
Umm I dont feel like debugging dx code... but since I'm wickid new here where do I get the openAL libs for cs and how do I set it up to use them?
Logged
sunshine
Administrator
Sr. Member
Posts: 292
Re: Compile Errors
«
Reply #4 on:
September 20, 2005, 10:37:32 pm »
The cs-win32libs package which you probably already installed includes OpenAL.
Logged
bluntman
Newbie
Posts: 9
Re: Compile Errors
«
Reply #5 on:
September 20, 2005, 11:05:45 pm »
I already have openAL installed but isnt there a plugin or something I need to compile?
Logged
sunshine
Administrator
Sr. Member
Posts: 292
Re: Compile Errors
«
Reply #6 on:
September 21, 2005, 09:56:57 am »
Do you mean the `plgsndoal' build subtarget of wkstypical?
Logged
bluntman
Newbie
Posts: 9
Re: Compile Errors
«
Reply #7 on:
September 22, 2005, 01:49:40 am »
cool, does that work with the new renderer?
Logged
sunshine
Administrator
Sr. Member
Posts: 292
Re: Compile Errors
«
Reply #8 on:
September 22, 2005, 06:05:31 am »
With what new renderer? The graphics renderer? OpenAL is an audio rendering toolkit.
Logged
bluntman
Newbie
Posts: 9
Re: Compile Errors
«
Reply #9 on:
September 23, 2005, 06:37:04 am »
sorry, still new to cs
theres 2 different workspaces -> the newrenderer one and the typical one, I thought I saw somewhere that the new renderer was better?
Logged
deckerego
Full Member
Posts: 149
Re: Compile Errors
«
Reply #10 on:
September 23, 2005, 07:13:10 am »
Nope, just one renderer. But that wouldn't influence your sound engine choice.
Logged
mark
Full Member
Posts: 101
Re: Compile Errors
«
Reply #11 on:
September 23, 2005, 09:24:45 am »
yes, the new renderer (which is a graphics renderer, no sound renderer) replaced the old renderer some months ago, so there is only "the" renderer left
Logged
Gentoo Linux ~x86, kernel 2.6.11-cko9 smp, gcc 3.4.4-r1, binutils 2.16.1, glibc 2.3.5 NPTL
CS+CEL Pseudo Stable 2005.09.03
sunshine
Administrator
Sr. Member
Posts: 292
Re: Compile Errors
«
Reply #12 on:
September 23, 2005, 01:44:24 pm »
In the 0.98 release, which you downloaded, there were two different graphics renderer architectures, old and new. The wkstypical and wksnewrenderer workspaces control which of these two renderers you build. After the 0.98 release, the old graphics renderer architecture was dropped, so there is now only wkstypical in CVS.
There are also sound renderers, of which OpenAL is an example. This audio renderer is available regardless of which graphics renderer you choose.
Logged
bluntman
Newbie
Posts: 9
Re: Compile Errors
«
Reply #13 on:
September 27, 2005, 04:18:26 pm »
Yea I understand that, I was looking for help with customizing the compile to make a smaller footprint. Since I don't seem to understand all the documentation I was hoping for some insight. As for the compile errors, I realized how long its been since I reinstalled windows and I figure notepad shouldnt even be working by now.
But anyways, if I understand correctly, I can customize the Cs "Kernel" to support this and that, etc... I noticed that there is alot of targets in the workspace though and I know I wont be using them all. For example there are quite a few audio libraries, but I only really need one... Also there are several different rendering implementations (I noticed opengl and directx to name 2) I only want opengl to compile.
Can anyone point me to a nice tutorial or doc on customizing my CS compile?
Logged
sunshine
Administrator
Sr. Member
Posts: 292
Re: Compile Errors
«
Reply #14 on:
September 27, 2005, 06:19:26 pm »
You can pick and choose which ones you want to build by right clicking on them and selecting Build this Target (or whatever it is called). You can also unload projects by right clicking and selecting Unload.
Logged
Pages:
[
1
]
2
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Crystal Space Development
-----------------------------
=> General Crystal Space Discussion
=> Support
-----------------------------
Crystal Space Project Development
-----------------------------
=> Feature Requests
=> Plugins
=> Bug Reports
-----------------------------
Crystal Space Development
-----------------------------
=> Game Content Creation
-----------------------------
Miscellaneous
-----------------------------
=> Article/Tutorial Requests
=> Article/Tutorial Discussion
-----------------------------
Crystal Space Project Development
-----------------------------
=> Development Discussion
-----------------------------
Crystal Space Projects
-----------------------------
=> Project Discussion
=> WIP Projects
=> Finished Projects
-----------------------------
Associate Projects
-----------------------------
=> CEL Discussion
=> Crystal Core Discussion
=> CrystalBlend Discussion
-----------------------------
Crystal Space Project Development
-----------------------------
=> Google Summer of Code
-----------------------------
Associate Projects
-----------------------------
=> Apricot (Open Game)
=> Ares Project
Loading...