Home » SIRTECH CLASSICS » Jagged Alliance: Unfinished Business » Vanilla Modding » LOTS of warnings when compiling the source is that normal?
LOTS of warnings when compiling the source is that normal?[message #101404] Mon, 31 May 2004 12:33 Go to next message
Kaiden is currently offline Kaiden

 
Messages:504
Registered:September 2003
I downloaded Digicrab's Source code with the "fake" libraries and I am getting a LOT of warnings, 3 errors and 471 warnings actually, any ideas what might be wrong?

Report message to a moderator

First Sergeant

Re: LOTS of warnings when compiling the source is that normal?[message #101405] Tue, 01 June 2004 03:09 Go to previous messageGo to next message
Kaiden is currently offline Kaiden

 
Messages:504
Registered:September 2003
Well, I feel kind of stupid, I figured out my problem last night, I was trying to build the Demo Bounds Checker as opposed to the Win32 Release.

Anyway I fixed that, and then I got an error trying to find a missing header. I fixed it. Re-build, got another missing header, fixed it, etc... through about 15 different headers. Took forever and figured out what the problem was.

For some reason, even though the path was in my project resources, the C:\Ja2\Build\ directory was not being searched for include files. So I went through every project and every file and physically put the path in the include statements.

Lot of work, but I was at my wits end trying to determine why it wasn't looking in that directory.

Anyway that did it, but during the linking stage of the build, it can't seem to find the smackw32.lib file.

I was under the impression that some fake .lib files were included in Digicrab's download of the source code. Can anyone help me with this?

Report message to a moderator

First Sergeant

Re: LOTS of warnings when compiling the source is that normal?[message #101406] Tue, 01 June 2004 04:10 Go to previous messageGo to next message
Shadow21 is currently offline Shadow21

 
Messages:328
Registered:November 2001
Location: on route to San Hermanos
have you used the cvs to download the code? if not maybe that would help

Report message to a moderator

Master Sergeant
Re: LOTS of warnings when compiling the source is that normal?[message #101407] Tue, 01 June 2004 06:41 Go to previous messageGo to next message
Kaiden is currently offline Kaiden

 
Messages:504
Registered:September 2003
Well, I feel kind of stupid, I figured out my problem last night, I was trying to build the Demo Bounds Checker as opposed to the Win32 Release.

Anyway I fixed that, and then I got an error trying to find a missing header. I fixed it. Re-build, got another missing header, fixed it, etc... through about 15 different headers. Took forever and figured out what the problem was.

For some reason, even though the path was in my project resources, the C:\Ja2\Build\ directory was not being searched for include files. So I went through every project and every file and physically put the path in the include statements.

Lot of work, but I was at my wits end trying to determine why it wasn't looking in that directory.

Anyway that did it, but during the linking stage of the build, it can't seem to find the smackw32.lib file.

I was under the impression that some fake .lib files were included in Digicrab's download of the source code. Can anyone help me with this?

Report message to a moderator

First Sergeant

Re: LOTS of warnings when compiling the source is that normal?[message #101408] Tue, 01 June 2004 07:03 Go to previous messageGo to next message
Kaiden is currently offline Kaiden

 
Messages:504
Registered:September 2003
Doh! Ok nevermind again, I just now saw the pther post on the white board with the build files and now I have a clean build with only 14 warnings, mostly unreferenced variables.

Report message to a moderator

First Sergeant

Re: LOTS of warnings when compiling the source is that normal?[message #101409] Tue, 01 June 2004 23:55 Go to previous message
defrog is currently offline defrog

 
Messages:235
Registered:March 2004
Location: Austria
it depends on your compiler...
some need JA2 project to have the .\ include path added to the project. I always had to modify the CVS version for that...

yes there are warnings in the code originally released from sirtech

Report message to a moderator

Sergeant 1st Class
Previous Topic: Just some ideas...
Next Topic: General ideas on leveling and abilities
Goto Forum:
  


Current Time: Fri Mar 29 06:42:41 GMT+2 2024

Total time taken to generate the page: 0.01008 seconds