home home

downloads files

forum forum

docs docs

wiki wiki

faq faq

Cube & Cube 2 FORUM


compiling under Visual C++ 2005 Express Edition

by Passa on 01/13/2006 13:11, 43 messages, last message: 03/11/2006 22:54, 18410 views, last view: 05/19/2024 01:42

when i compile sauerbraten under Visual C++ 2005 Express Edition, it comes up with an error saying it could not find windows.h. i have never coded c++ and only wanted to tinker with the weapons.

   Board Index    Go to next 20 messagesGo to last 20 messages

#1: Stick with vs03

by >driAn<. on 01/13/2006 18:12

I had some problems with cube&vs05, you might want to try vs03, it works much better.

reply to this message

#2: ..

by hello ^_^ on 01/14/2006 07:40

windows.h is a header file

download sauerbraten again and make sure you have it

reply to this message

#3: Re:compiling under Visual C++ 2005 Express Edition

by JaggedKnife on 01/21/2006 05:13, refers to #2

Try installing the platform SDK...

reply to this message

#4: Re: Re:compiling under Visual C++ 2005 Express Edition

by Passa on 01/21/2006 09:03, refers to #3

whats the platform SDK?

reply to this message

#5: Re: Re:compiling under Visual C++ 2005 Express Edition

by asdff on 02/11/2006 06:35, refers to #4

[sorry to double post, i just wanted this to appear in a more appropriate thread for future forum user's benefit]



its on the microsoft.com site....
in order to dl 2005 Express from MS, you will be shown a list of things to do. theres like 2 pages of directions.

if you got it from microsoft.com you must not have read the directions or you would see that the Platform SDK is NECESSARY to get Express to work.

and THAT (PlatSDK) has its OWN detailed instructions that you have to follow to make it mesh with 2005 Express.

there's a decent amount of hoops to jump thru. JUST READ EVERYTHING!!

its good practice for paying attention to SEEMINGLY needless details. 8)
which ACTUAL code modification requires. ;)

reply to this message

#6: ..

by asdff on 02/11/2006 21:56

dang darn dagnabbitall!
i was gonna finish typing my message in the Crypt: Revelance thread, but then cut it and paste it here.
But i forgot and spammed that forum again!!
well, here it is again in the right place. grrrr!



Passa, to answer in the appropriate thread.......

--quote--------------------------
hey asdff, are there specific intructions to get it working with express? if so can u send me a link?
---------------------------------

i dont understand how you could have read my several posts about this and yet not notice that i mentioned there are alot of specific instructions on the microsoft.com site. 8)

that is http://www.microsoft.com 8)




reply to this message

#7: Re: ..

by Passa on 02/12/2006 00:22, refers to #6

thanks for that link asdff, it helped me alot!

to get Visual C++ 2005 Express visit:
http://msdn.microsoft.com/vstudio/express/support/install/
or
http://msdn.microsoft.com/vstudio/express/visualc/download/

(the first link has ISO files you can use again, the second has an online installation mode)

http://www.microsoft.com/msdownload/platformsdk/sdkupdate/XPSP2FULLInstall.htm
thats the platform SDK for WinXP SP2

http://msdn.microsoft.com/vstudio/express/visualc/usingpsdk/
there is instructions on how to link it all together.

thanks again asdff for telling me i needed the platform SDK and of course for reminding me what the Microsoft homepage is. ;)

reply to this message

#8: Re: ..

by Passa on 02/12/2006 00:46, refers to #7

well the links are all good but it seems i can still not follow instructions.
it says:

Project : error PRJ0003 : Error spawning 'cl.exe'

any ideas?

reply to this message

#9: Re: ..

by tentus on 02/12/2006 06:09, refers to #8

hmm. I feel like i know this, but i can't seem to dredge it up right now (darn you midnight tiredness). With Cube Legends, i've never changed what comes out, just where it comes out (and ironically, i did that with notepad... I just went through looking for every instance of w:/cube/cube/ and replaced it with w:/cl/cl/ ). ahh, truely the mark of someone just whacking away at what they don't understand.

reply to this message

#10: ..

by sinsky on 02/12/2006 21:38

Thanks for the links. Tentus, about replacing with notepad and stuff, is it a .vcproj file or something? If so, relative paths can be used like .\ for current dir, ..\ for parent dir, ..\..\ etc. for example .\src\rendercubes.cpp , ..\data\crosshair.png

Oh, and make sure to compile the .jpgs as well. I always forget to do that.

(kidding :)

reply to this message

#11: Re: ..

by Passa on 02/13/2006 13:43, refers to #10

what is cl.exe anyway?

and wats with all these paths>?

reply to this message

#12: ..

by SilentFox on 02/13/2006 14:15

I know nothing about C++, but I downloaded the program cause I am interested.

reply to this message

#13: Re: ..

by Passa on 02/14/2006 07:56, refers to #12

erm... any solutions?
what is cl.exe and why does it not compile even thou i have installed the platform SDK.

reply to this message

#14: Re: ..

by asdff on 02/14/2006 12:44, refers to #13

man, there was a WHOLE lot more instructions on the MS site on how to setup the platform SDK.

simply installing it doesnt magically work like you might hope.
i already mentioned this, but you keep asking for help instead of backtracking and making sure you did everything.

there were like 2 different sections of the site with several steps for each.



i cant compile the code for you. 8)





reply to this message

#15: Re: ..

by Passa on 02/14/2006 13:01, refers to #14

i followed the instructions.
twice.
it does not work. i modified all these files they told me to modify, it now shows win32 applications in the new project wizard yet i cant compile.

reply to this message

#16: Re: ..

by SilentFox on 02/14/2006 20:01, refers to #15

Works fine for me. But I don't know a thing about C++. I'm a Television editor. So C++ isn't my main subject but I'll try and learn new stuff. (Although, there was a time where I wanted to make games, then changed my mind.)

reply to this message

#17: Re: ..

by Passa on 02/17/2006 11:06, refers to #16

never mind, i think ill just get visual studio 2005. will that work? i think i can get the academic version for $90 or something so if it works with sauerbraten... anyone know anything about it?

reply to this message

#18: Re: ..

by SilentFox2000 on 02/17/2006 11:11, refers to #17

You can get the Express edition you know. I have express but I dunno if I'm actually gonna use it. You never know. If nothing happens with it in a month, uninstall.

reply to this message

#19: Re: ..

by Passa on 02/17/2006 11:12, refers to #18

i have express.
the whole thread is about how i cant compile with express.

reply to this message

#20: ..

by f00b13 on 02/21/2006 16:28

I have visual studio 2002 (i think)... and it works. It took me a while to get it to build. It didn't work at first because the cube project file automatically looks for cube in the C:/w/cube (so it would be something like this C:/w/cube/vcpp.)

Did you install it into that directory?

Also, the normal cube folder (the one that you use to actually play the game) is suppossed to be in C:/w/cube/cube

That way the dlls and libraries will automatically be updated. So, if you do all that and hit build cube, it should automatically build it straight into the C:/w/cube/cube/bin directory.

reply to this message

   Board Index    Go to next 20 messagesGo to last 20 messages


Unvalidated accounts can only reply to the 'Permanent Threads' section!


content by Aardappel & eihrul © 2001-2024
website by SleepwalkR © 2001-2024
54040416 visitors requested 71821487 pages
page created in 0.049 seconds using 9 queries
hosted by Boost Digital