Help Microsoft visual c++ experss

Do you need help? Ask here!

Bug reporting belongs here: http://developer.wz2100.net/newticket
gbenanti
Greenhorn
Posts: 7
Joined: 25 Jul 2007, 23:10

Help Microsoft visual c++ experss

Post by gbenanti »

Hi there,
I am trying to compile warzone with Microsoft visual c++ experss, I have follow the wiki but whe I build the solution I have this error :" bison.exe: unable open file `..\lib\script\chat_parser.y': No such file or directory".
I have look for it in my hd but without result, someone may help me? please.
User avatar
Watermelon
Code contributor
Code contributor
Posts: 551
Joined: 08 Oct 2006, 09:37

Re: Help Microsoft visual c++ experss

Post by Watermelon »

right-click on project name 'warzone' -> properties -> Configuration properties -> C/C++ -> General -> Additional include directories

then add your warzone folder path(the one contains data,lib,src blahblah) to the field
tasks postponed until the trunk is relatively stable again.
User avatar
lav_coyote25
Professional
Professional
Posts: 3434
Joined: 08 Aug 2006, 23:18

Re: Help Microsoft visual c++ experss

Post by lav_coyote25 »

hello - ummm ... ok. :)  it appears we need a very simple ( not sure if this is covered on the wiki or not) set of explanations and rules for the compiling of warzone on all systems that it is now able to do...

i did have a very simplistic tutorial done up by rod at one time but that i believe has since grown??  i dont know...  watermelon and giel would it be possible to go through the steps from installation of the compilers to the actual compiling of the source as on svn.... 


i am not only asking for myself but all others that are trying and those that may try in the future... please and thanks.

as i have stated before - tutorials do not need to be 800 pages of highly technical stuff.... just the actual steps needed to do a successful compilation. ;D
‎"to prepare for disaster is to invite it, to not prepare for disaster is a fools choice" -me (kim-lav_coyote25-metcalfe) - it used to be attributed to unknown - but adding the last bit , it now makes sense.
gbenanti
Greenhorn
Posts: 7
Joined: 25 Jul 2007, 23:10

Re: Help Microsoft visual c++ experss

Post by gbenanti »

Watermelon wrote: right-click on project name 'warzone' -> properties -> Configuration properties -> C/C++ -> General -> Additional include directories

then add your warzone folder path(the one contains data,lib,src blahblah) to the field
I did it and now it can't find the windows.h  :-[
User avatar
Watermelon
Code contributor
Code contributor
Posts: 551
Joined: 08 Oct 2006, 09:37

Re: Help Microsoft visual c++ experss

Post by Watermelon »

gbenanti wrote: I did it and now it can't find the windows.h  :-[
ensure you have platform SDK downloaded from microsoft and installed properly,then add the installed folder names to VC express options/directories settings.

edit:
Tools->options->Projects and Solutions-> VC++ directories -> show directories for

add mingw\bin to 'Executable Files'(the folder where you installed bison and flex)
add devpkg\include to 'Include Files'
add devpkg\lib to 'Library Files'

note:devpkg is the extracted folder from the developer package downloaded from this/gna site.
Last edited by Watermelon on 04 Aug 2007, 17:43, edited 1 time in total.
tasks postponed until the trunk is relatively stable again.