PDA

View Full Version : Build DLLs... FAILED!


Serj666_PL
04-24-2007, 02:10 AM
Hi!

I have a problem with building dlls. I uses MS Visual C++ 2005 Express Edition for it. Can you help me?

DarthDie
04-24-2007, 09:29 AM
Can you mebbe tell us the errors?

Serj666_PL
04-24-2007, 10:27 AM
1st type of error:
LINK : fatal error LNK1181: cannot open input file 'odbc32.lib'
2nd type of error:
.\l_struct.cpp(332) : warning C4996: 'sprintf' was declared deprecated
C:\Program Files\Microsoft Visual Studio 8\VC\include\stdio.h(345) : see declaration of 'sprintf'
Message: 'This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.' (most CCPs)
3rd type of error:
.\g_crash.c(198) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
4th type of error:
d:\jk3code\ojpenhanced\source\cgame\cg_players.c(8 729) : warning C4701: potentially uninitialized local variable 'saberTrail' used

Maxstate
04-26-2007, 03:22 AM
Can someone help this guy?

DarthDie
04-26-2007, 08:50 AM
Have you downloaded, installed,and setup the platform SDK?

Serj666_PL
04-26-2007, 03:12 PM
Of course, I have read that thread but 1GB... it's too much to me (I've got 220KB EDGE connection)

DarthDie
04-26-2007, 03:26 PM
Well your missing files and the files are included with that.Oh and btw not all of those are errors...some of them are warnings.Let me put together a zip of the files your missing.
Edit:
Download this: http://media3.filewind.com/g.php?filepath=7305
Its only 9 KB.
Extract somewhere and then refrence them in C++. Hopefully you know howto do this and know what i mean.

Serj666_PL
04-29-2007, 06:18 AM
thanks cgame and ui work are working now. But jampgame is full of errors :(

DarthDie
04-29-2007, 08:29 AM
Same error's as before?

Serj666_PL
04-30-2007, 02:39 AM
windows.h wants more files. Can u put files included in windows.h and libary file winmm.lib in zip archive and upload it somewhere and I'll download it?

DarthDie
04-30-2007, 08:35 AM
Sure will do that right now.
http://media10.filewind.com/g.php?filepath=8931

Serj666_PL
04-30-2007, 09:30 AM
I need winnt.h file, too.

DarthDie
04-30-2007, 09:57 AM
http://media1.filewind.com/g.php?filepath=4050

Serj666_PL
04-30-2007, 10:05 AM
Now I need... :)

specstrings.h ^^

How much is our Include folder? if it is smaller than 10MB upload it. Maybe will be good :D

DarthDie
04-30-2007, 10:16 AM
ok hang on....oh and the include folder is 63 mb >.<.


http://media1.filewind.com/g.php?filepath=4052

Serj666_PL
04-30-2007, 10:24 AM
so, can u zip files included in winnt.h?

DarthDie
04-30-2007, 10:26 AM
>.< yeah hang on. Wait! Can you open .rar files??

Serj666_PL
04-30-2007, 10:33 AM
yes

DarthDie
04-30-2007, 10:35 AM
Sweet! Cause in a .rar file the Include folder is only 7.42 mb! Let me upload...
Here:
http://media1.filewind.com/g.php?filepath=4054

Serj666_PL
05-01-2007, 07:49 AM
LINK : fatal error LNK1104: cannot open file 'uuid.lib'

Can u zip all lib files used to build jamgamex86.dll?

DarthDie
05-01-2007, 08:27 AM
I don't know the lib files used with that but aye..hang on...

Serj666_PL
05-01-2007, 12:02 PM
So upload uuid.lib and if it doesn't work well, we will search for others LIBs, OK?

DarthDie
05-01-2007, 12:39 PM
Ok...sorry I ended up doing school then forgetting.

http://www.willhostforfood.com/files/16424/Uuid.Lib.lib.png (http://www.willhostforfood.com/files/16424/Uuid.Lib.lib)

Serj666_PL
05-01-2007, 12:44 PM
something is wrong in this link ^^

DarthDie
05-01-2007, 12:45 PM
Heh....
http://www.willhostforfood.com/files/16424/Uuid.Lib.lib

Serj666_PL
05-01-2007, 12:57 PM
Linking...
Creating library .\../Final/jampgamex86.lib and object .\../Final/jampgamex86.exp
g_crash.obj : error LNK2019: unresolved external symbol __imp__wsprintfA referenced in function _win32_backtrace
../../ojpenhanced/jampgamex86.dll : fatal error LNK1120: 1 unresolved externals
Build log was saved at "file://d:\jkcode\ojpenhanced\source\Final\JK2game\BuildLo g.htm"
JK2game - 2 error(s), 0 warning(s)
========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========

??

DarthDie
05-01-2007, 01:38 PM
I know the first error....me and hockney have that same error....we just commnented out that piece of code(more on this in a minute). Hang on and i'll tell you what line to comment out....

Comment out:
wsprintf(modname, "Unknown");


Just make sure not to commit this change ;).

Serj666_PL
05-01-2007, 01:56 PM
I don't speak English well :( and I didn't understand it ;) can you tell me how to these line must look like? :)

DarthDie
05-01-2007, 02:05 PM
Ah ok well just add // before it so it would look like:
//wsprintf(modname, "Unknown");

Serj666_PL
05-01-2007, 02:16 PM
thank you you are god :D :D :D

------------------------

"It's working, It's working"

------------------------

-Anakin Skywalker Episode I