Home » SIRTECH CLASSICS » Jagged Alliance: Unfinished Business » Vanilla Modding » Some Compile-Errors
Some Compile-Errors[message #102125] Wed, 05 January 2005 09:35 Go to next message
TeddyBaer is currently offline TeddyBaer
Messages:3
Registered:January 2005
Well, when i'm trying to compile the JA2 sc i get some compile errors while compiling the "standard gaming platform". The weird issue of this error is that it says "can't find iostream.h". I think i just deletet an include path when configuring my VS.net 2003. So if somone could post the standard include pathes (libary and executable pathes too) so i could check this. I tryed to find some "clean" configurations on google but it didn't spit out anything usefull. I also tried to reinstall vs.net but there's a configuration file for the workspace i forgot to delete so the whole operation was useless.
Would be nice
~Thanks

The Teddy

Report message to a moderator

Civilian
Re: Some Compile-Errors[message #102126] Wed, 05 January 2005 21:29 Go to previous messageGo to next message
defrog is currently offline defrog

 
Messages:235
Registered:March 2004
Location: Austria
if you got the version from CVS then you should know that it is not guaranteed to work under that compiler...

if you get the one under SVN then it will work with that compiler since it is the one I use! Smile

if you are compiling from the original source from Strategy First's CD.. then you need to comment out that include. you didn't delete it, its just not in that compiler's distribution.

Report message to a moderator

Sergeant 1st Class
Re: Some Compile-Errors[message #102127] Wed, 05 January 2005 22:07 Go to previous messageGo to next message
TeddyBaer is currently offline TeddyBaer
Messages:3
Registered:January 2005
i commented it out and now it works. but i get some weird "unresolved externals" as errors (LNK2001; LNK2005). what to do with these?

thanks a lot

Report message to a moderator

Civilian
Re: Some Compile-Errors[message #102128] Mon, 10 January 2005 22:29 Go to previous messageGo to next message
defrog is currently offline defrog

 
Messages:235
Registered:March 2004
Location: Austria
which version of the source do you have?

it sounds like your compiling as C++ with an older source version.

LNK2001 means it can find the function... with JA2 this often means your compiling under C++ and the function prototype is either missing or is incorrect (in that the types of the arguments don't match the definition)

LNK2005 means a variable is initialized twice... when attempting to compile the original JA2 as C++ this would be caused by variables being defined in the headers... such as (int variable;) in the .h file... to correct these need to be changed to extern int variable; and the original int variable; needs to be placed in one of the cpp files that included the header. (this cause only 1 symbol to be created, under standard C it would clip secondary symbol definitions)

the SVN repository has a version of JA2 already ported to C++

Report message to a moderator

Sergeant 1st Class
Re: Some Compile-Errors[message #102129] Wed, 12 January 2005 02:06 Go to previous messageGo to next message
TeddyBaer is currently offline TeddyBaer
Messages:3
Registered:January 2005
well i finally downloaded another version of the sdk and now it's working fine

thanks for the help

Report message to a moderator

Civilian
Re: Some Compile-Errors[message #102130] Thu, 13 January 2005 14:25 Go to previous messageGo to next message
Khor1255 is currently offline Khor1255

 
Messages:1817
Registered:August 2003
Location: Pleasantville, NJ
Hate to bother you guys that are doing the good work but I've finally thrown up my hands and decided to plink around with the code directly.

My question is, where in the code is the Finger Print I.D. check for the rocket rifle? I looked around for about an hour tonight and didn't see it. If you have found it I'd appreciate hearing which heading (or rather sub file?) it's in. I'll eventually find it but this would help out alot.

Report message to a moderator

Sergeant Major
Re: Some Compile-Errors[message #102131] Thu, 13 January 2005 15:44 Go to previous messageGo to next message
ramfall is currently offline ramfall

 
Messages:405
Registered:January 2001
Location: JAmodsquad, Helsingborg, ...
Search for ubImprintID using your compilers 'Find in files' button and you will find all the places where it is used. Make sure to use this search option (the 'Find in files') otherwise it won't search the whole sourcecode. It generates a popup window where you enter your search word. It will become your best friend! Be sure of it...! It sure is mine!
:ramfall:

Report message to a moderator

Master Sergeant
Re: Some Compile-Errors[message #102132] Thu, 13 January 2005 16:12 Go to previous messageGo to next message
Khor1255 is currently offline Khor1255

 
Messages:1817
Registered:August 2003
Location: Pleasantville, NJ
Man you're a lifesaver!
Thanx man!

And sorry for walking on this thread I didn't realise I did it until...well, it was already done.

ublmprint, I'll check that bugger out.

Report message to a moderator

Sergeant Major
Re: Some Compile-Errors[message #102133] Thu, 13 January 2005 17:06 Go to previous message
ramfall is currently offline ramfall

 
Messages:405
Registered:January 2001
Location: JAmodsquad, Helsingborg, ...
You're welcome!
:ramfall:

Report message to a moderator

Master Sergeant
Previous Topic: Request: 2 clip sizes per caliber limitation removal
Next Topic: Special Request
Goto Forum:
  


Current Time: Sat Jan 25 01:35:05 GMT+2 2025

Total time taken to generate the page: 0.01025 seconds