Newbie compile question #1000
Posted: Wed Mar 12, 2003 12:36 am
Ok, the subject of the post anticipates you will find some quite boring and probably stupid questions here.
I apologize for that.
I downloaded Exult 1.1 snapshot of 10th of March together with all needed zlib and sdl libraries.
System is w2000 SP3+Visual Studio 6.0 SP5.
EXULT_INSTALL_PATH is set and MSVC recognizes .cc files (adding the registry change discussed in the forum - Yes a did an exhaustive search!)
I open exult.dsw in msvcstuff folder; Lib and Include directories are set to find zlib, sdl and sdl_mixer include and library files.
When I start a build from the IDE, anyway, there are many compile errors:
a couple of C2065 undeclared identifier: 'snprintf','getline'
I checked and found that snprintf is defined in msvc_kludges.h (#define snprintf _snprintf....) and _snprintf is in stdio.h, which is included in the compilation. getline is in expack.cc.
So?
Error C1083: Cannot open include file: 'data/exult_bg_flx.h' or Cannot open include file: 'exult_flx.h'
These files are not present.
But what makes me think I'm really missing something stupid is that the compiler reports even some syntax errors.
So, if you started laughing immediately after you began reading the message since you immediately realize which stupid mistake I did, feel free to tell me I am whatever you want, together with a line telling me why. In other words, what I am doing wrong. You'll will earn an eight toward Avatarhood
TIA
I apologize for that.
I downloaded Exult 1.1 snapshot of 10th of March together with all needed zlib and sdl libraries.
System is w2000 SP3+Visual Studio 6.0 SP5.
EXULT_INSTALL_PATH is set and MSVC recognizes .cc files (adding the registry change discussed in the forum - Yes a did an exhaustive search!)
I open exult.dsw in msvcstuff folder; Lib and Include directories are set to find zlib, sdl and sdl_mixer include and library files.
When I start a build from the IDE, anyway, there are many compile errors:
a couple of C2065 undeclared identifier: 'snprintf','getline'
I checked and found that snprintf is defined in msvc_kludges.h (#define snprintf _snprintf....) and _snprintf is in stdio.h, which is included in the compilation. getline is in expack.cc.
So?
Error C1083: Cannot open include file: 'data/exult_bg_flx.h' or Cannot open include file: 'exult_flx.h'
These files are not present.
But what makes me think I'm really missing something stupid is that the compiler reports even some syntax errors.
So, if you started laughing immediately after you began reading the message since you immediately realize which stupid mistake I did, feel free to tell me I am whatever you want, together with a line telling me why. In other words, what I am doing wrong. You'll will earn an eight toward Avatarhood
TIA