Cant get deathmatch to compile
Hi all im new just like to say i love the engine and the documentation, cant wait to get to work.
But i seem to be having a problem compiling source, first i had an error with the compiler being unable to find the fmod.h file, after searching on the net, i found that it was from the programming api (i feel kinda stupid about that actually), but im still getting errors with undeclaired FSOUND identifiers in DeathMatch.cpp and a
[quote]NMAKE : fatal error U1077: 'cl' : return code '0x2'[/quote]
error
any hope would be greatly appreciated here lads
p.s.
i hate to make my first post like this but i want to get into this engine.
thanks in advance.
But i seem to be having a problem compiling source, first i had an error with the compiler being unable to find the fmod.h file, after searching on the net, i found that it was from the programming api (i feel kinda stupid about that actually), but im still getting errors with undeclaired FSOUND identifiers in DeathMatch.cpp and a
[quote]NMAKE : fatal error U1077: 'cl' : return code '0x2'[/quote]
error
any hope would be greatly appreciated here lads
p.s.
i hate to make my first post like this but i want to get into this engine.
thanks in advance.
-
- Posts:108
- Joined:2006-04-14, 21:11
- Location:Zürich, Switzerland
Welcome to the Community of CA3DE!
First of all, we need to know what operating system and what compiler/IDE your using. Because CA3DE uses MS Visual C++ (or something like that) for Windows to compile. So DevC++ will not work.
Wfr, Sindwiller
ps. dont ask me about programing questions! Im the biggest n00b in programing
First of all, we need to know what operating system and what compiler/IDE your using. Because CA3DE uses MS Visual C++ (or something like that) for Windows to compile. So DevC++ will not work.
Wfr, Sindwiller
ps. dont ask me about programing questions! Im the biggest n00b in programing
Im Working on:
- Some Linux Bash-Scripts for installing stuff. Dont ask further questions, because i can't explain that more simple ^^
- Some Linux Bash-Scripts for installing stuff. Dont ask further questions, because i can't explain that more simple ^^
Hi NGangst,
also from me a welcome to the Ca3DE forums!
As Sindwiller also said, more information is required, especially please do not only post the last line of error output, but also all before it.
Btw: I also expect to release a new SDK the latest on Monday, which will assume the use of the new MS VC++ 8 (2005) compiler, rather than VC++ 6...
also from me a welcome to the Ca3DE forums!
As Sindwiller also said, more information is required, especially please do not only post the last line of error output, but also all before it.
Btw: I also expect to release a new SDK the latest on Monday, which will assume the use of the new MS VC++ 8 (2005) compiler, rather than VC++ 6...
Best regards,
Carsten
Carsten
-
- Posts:108
- Joined:2006-04-14, 21:11
- Location:Zürich, Switzerland
-
- Posts:108
- Joined:2006-04-14, 21:11
- Location:Zürich, Switzerland
Hooray!Thrawn wrote:Well as the new Visual C++ compiler is from now on FREE forever and can be easily downloaded, I think that this won't be a problem anymore
Wfr, Sindwiller
Im Working on:
- Some Linux Bash-Scripts for installing stuff. Dont ask further questions, because i can't explain that more simple ^^
- Some Linux Bash-Scripts for installing stuff. Dont ask further questions, because i can't explain that more simple ^^
Thanks
Thanks for the speedy replys and warm welcome,
Im running windows XP Pro with sp1
and im currently trying to use the makefile Makefile.vc60
with nmake from Microsoft Visual C++ 6,
Im running windows XP Pro with sp1
and im currently trying to use the makefile Makefile.vc60
with nmake from Microsoft Visual C++ 6,
oh sry
this is my output from the batch file ive got
D:\Ca3DE-MDK>set Ca3DE=D:\Ca3DE-MDK\Ca3DE-MDK\Projects
D:\Ca3DE-MDK>d:
D:\Ca3DE-MDK>cd \
D:\>cd D:\Ca3DE-MDK\Ca3DE-MDK\Projects
D:\Ca3DE-MDK\Ca3DE-MDK\Projects>cd Ca3D-Engine\Games\DeathMatch\Code
D:\Ca3DE-MDK\Ca3DE-MDK\Projects\Ca3D-Engine\Games\DeathMatch\Code>nmake /f Makef
ile.vc60
Microsoft (R) Program Maintenance Utility Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
cl /nologo /c /J /TP /W3 /WX /GR /GX /Od /Z7 /GZ /MTd /DDEBUG /I D:\Ca3D
E-MDK\Ca3DE-MDK\Projects/Libs /Foobj_win32_vc60_d\ /I D:\Ca3DE-MDK\Ca3DE-MDK\Pro
jects/../ExtLibs/FMod363/api/inc DeathMatch.cpp
DeathMatch.cpp
DeathMatch.cpp(304) : error C2143: syntax error : missing ';' before '*'
DeathMatch.cpp(305) : error C2065: 'Stream' : undeclared identifier
DeathMatch.cpp(305) : error C2100: illegal indirection
DeathMatch.cpp(455) : error C2065: 'FSOUND_Stream_OpenFile' : undeclared identif
ier
DeathMatch.cpp(455) : error C2065: 'FSOUND_2D' : undeclared identifier
DeathMatch.cpp(459) : error C2065: 'FSOUND_Stream_PlayEx' : undeclared identifie
r
DeathMatch.cpp(459) : error C2065: 'FSOUND_FREE' : undeclared identifier
DeathMatch.cpp(463) : error C2065: 'FSOUND_SetVolume' : undeclared identifier
DeathMatch.cpp(464) : error C2065: 'FSOUND_SetPaused' : undeclared identifier
DeathMatch.cpp(475) : error C2065: 'FSOUND_Stream_Stop' : undeclared identifier
DeathMatch.cpp(476) : error C2065: 'FSOUND_Stream_Close' : undeclared identifier
NMAKE : fatal error U1077: 'cl' : return code '0x2'
Stop.
D:\Ca3DE-MDK\Ca3DE-MDK\Projects\Ca3D-Engine\Games\DeathMatch\Code>pause
Press any key to continue . . .
hope that helps
this is my output from the batch file ive got
D:\Ca3DE-MDK>set Ca3DE=D:\Ca3DE-MDK\Ca3DE-MDK\Projects
D:\Ca3DE-MDK>d:
D:\Ca3DE-MDK>cd \
D:\>cd D:\Ca3DE-MDK\Ca3DE-MDK\Projects
D:\Ca3DE-MDK\Ca3DE-MDK\Projects>cd Ca3D-Engine\Games\DeathMatch\Code
D:\Ca3DE-MDK\Ca3DE-MDK\Projects\Ca3D-Engine\Games\DeathMatch\Code>nmake /f Makef
ile.vc60
Microsoft (R) Program Maintenance Utility Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
cl /nologo /c /J /TP /W3 /WX /GR /GX /Od /Z7 /GZ /MTd /DDEBUG /I D:\Ca3D
E-MDK\Ca3DE-MDK\Projects/Libs /Foobj_win32_vc60_d\ /I D:\Ca3DE-MDK\Ca3DE-MDK\Pro
jects/../ExtLibs/FMod363/api/inc DeathMatch.cpp
DeathMatch.cpp
DeathMatch.cpp(304) : error C2143: syntax error : missing ';' before '*'
DeathMatch.cpp(305) : error C2065: 'Stream' : undeclared identifier
DeathMatch.cpp(305) : error C2100: illegal indirection
DeathMatch.cpp(455) : error C2065: 'FSOUND_Stream_OpenFile' : undeclared identif
ier
DeathMatch.cpp(455) : error C2065: 'FSOUND_2D' : undeclared identifier
DeathMatch.cpp(459) : error C2065: 'FSOUND_Stream_PlayEx' : undeclared identifie
r
DeathMatch.cpp(459) : error C2065: 'FSOUND_FREE' : undeclared identifier
DeathMatch.cpp(463) : error C2065: 'FSOUND_SetVolume' : undeclared identifier
DeathMatch.cpp(464) : error C2065: 'FSOUND_SetPaused' : undeclared identifier
DeathMatch.cpp(475) : error C2065: 'FSOUND_Stream_Stop' : undeclared identifier
DeathMatch.cpp(476) : error C2065: 'FSOUND_Stream_Close' : undeclared identifier
NMAKE : fatal error U1077: 'cl' : return code '0x2'
Stop.
D:\Ca3DE-MDK\Ca3DE-MDK\Projects\Ca3D-Engine\Games\DeathMatch\Code>pause
Press any key to continue . . .
hope that helps
erm im probably sounding like a stupid noob here but any ideas why this is being changed, i am assuming this is what is causing problems:
D:\Ca3DE-MDK\Ca3DE-MDK\Projects/Libs /Foobj_win32_vc60_d\
any ideas why this is being changed
or do i need to change the makefile to include a differant folder?
thanks in advance
D:\Ca3DE-MDK\Ca3DE-MDK\Projects/Libs /Foobj_win32_vc60_d\
any ideas why this is being changed
or do i need to change the makefile to include a differant folder?
thanks in advance
-
- Posts:108
- Joined:2006-04-14, 21:11
- Location:Zürich, Switzerland
Im an extremely n00b programer but the only thing i know about compilers, that the most important error is the first one.DeathMatch.cpp(304) : error C2143: syntax error : missing ';' before '*'
Wfr, Sindwiller
Im Working on:
- Some Linux Bash-Scripts for installing stuff. Dont ask further questions, because i can't explain that more simple ^^
- Some Linux Bash-Scripts for installing stuff. Dont ask further questions, because i can't explain that more simple ^^
What's the problem? I see nothing wrong here.NGangst wrote:i am assuming this is what is causing problems:
D:\Ca3DE-MDK\Ca3DE-MDK\Projects/Libs /Foobj_win32_vc60_d\
any ideas why this is being changed
This rather looks as if you have installed multiple versions of FMOD on your harddrive, and that the "INCLUDE" path is setup so that the other version of FMOD is found before the one that comes with Ca3DE.
Is there any chance that that is so?
If you don't now, could you please search all your harddrives for occurrences of the fmod.h file?
Best regards,
Carsten
Carsten
Ahh yes of course, when i first installed Ca3DE i installed it to my normal modding folder, under program files, there were problems with the enviromental variable having a space in it, so i moved it to another dir, assuming rather stupidly i might add that all of the files had moved, i then deleted the parent dir, so i didnt have all of the files eg the extra libs so fmod wasnt there, i assumed(stupid mong mistake no.2) i needed to install it so i did, and this seems to be where most of my problems are coming from so i have decided to try on another machine. now most of it seems ok, i am now having problems with the linker, i am using the software with same O.S. setup.Carsten wrote:What's the problem? I see nothing wrong here.NGangst wrote:i am assuming this is what is causing problems:
D:\Ca3DE-MDK\Ca3DE-MDK\Projects/Libs /Foobj_win32_vc60_d\
any ideas why this is being changed
This rather looks as if you have installed multiple versions of FMOD on your harddrive, and that the "INCLUDE" path is setup so that the other version of FMOD is found before the one that comes with Ca3DE.
Is there any chance that that is so?
If you don't now, could you please search all your harddrives for occurrences of the fmod.h file?
the error i am recieving now is like this
LINK : fatal error LNK1146: no argument specified with option "/libpath:"
NMAKE : fatal error U1077: '"F:\Program Files\Microsoft Visual Studio\VC98\bin\link.exe"' : return code '0x47a'
am i correct in assuming that this is another problem with the spaces in the pathname or have i screwed up somewhere else.
thanks again for helping me with this i am unlucky and have problems like this whenever i try to do anything.
-regards ant
Yes, I think so, but again you did not provide sufficient output to say for sure. (This is crucial - I've no crystal ball here, and the above does not help at all!).NGangst wrote:LINK : fatal error LNK1146: no argument specified with option "/libpath:"
NMAKE : fatal error U1077: '"F:\Program Files\Microsoft Visual Studio\VC98\bin\link.exe"' : return code '0x47a'
am i correct in assuming that this is another problem with the spaces in the pathname
So you best try to move the Ca3DE-SDK somewhere where you don't have spaces in your path name, and/or post full compiler/linker output here.
Don't worry. Patience is required, but I'm sure that we'll be able to make it work.thanks again for helping me with this i am unlucky and have problems like this whenever i try to do anything.
Oh, and there is another option, if you're very courageous:
Today I released a new version of the SDK: http://www.ca3d-engine.de/news.php . However, before you consider upgrading (switching to the latest), I'd highly recommend to read the updated http://www.ca3d-engine.de/wiki/doku.php ... m_mod_code text first...
Last edited by Carsten on 2006-04-25, 09:56, edited 1 time in total.
Best regards,
Carsten
Carsten
Who is online
Users browsing this forum: No registered users and 88 guests