View Full Version : Build DLLs... FAILED!
04-24-2007, 02:10 AM
I have a problem with building dlls. I uses MS Visual C++ 2005 Express Edition for it. Can you help me?
04-24-2007, 09:29 AM
Can you mebbe tell us the errors?
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
04-26-2007, 03:22 AM
Can someone help this guy?
04-26-2007, 08:50 AM
Have you downloaded, installed,and setup the platform SDK?
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)
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.
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.
04-29-2007, 06:18 AM
thanks cgame and ui work are working now. But jampgame is full of errors :(
04-29-2007, 08:29 AM
Same error's as before?
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?
04-30-2007, 08:35 AM
Sure will do that right now.
04-30-2007, 09:30 AM
I need winnt.h file, too.
04-30-2007, 09:57 AM
04-30-2007, 10:05 AM
Now I need... :)
How much is our Include folder? if it is smaller than 10MB upload it. Maybe will be good :D
04-30-2007, 10:16 AM
ok hang on....oh and the include folder is 63 mb >.<.
04-30-2007, 10:24 AM
so, can u zip files included in winnt.h?
04-30-2007, 10:26 AM
>.< yeah hang on. Wait! Can you open .rar files??
04-30-2007, 10:33 AM
04-30-2007, 10:35 AM
Sweet! Cause in a .rar file the Include folder is only 7.42 mb! Let me upload...
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?
05-01-2007, 08:27 AM
I don't know the lib files used with that but aye..hang on...
05-01-2007, 12:02 PM
So upload uuid.lib and if it doesn't work well, we will search for others LIBs, OK?
05-01-2007, 12:39 PM
Ok...sorry I ended up doing school then forgetting.
05-01-2007, 12:44 PM
something is wrong in this link ^^
05-01-2007, 12:45 PM
05-01-2007, 12:57 PM
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 ==========
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....
Just make sure not to commit this change ;).
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? :)
05-01-2007, 02:05 PM
Ah ok well just add // before it so it would look like:
05-01-2007, 02:16 PM
thank you you are god :D :D :D
"It's working, It's working"
-Anakin Skywalker Episode I
vBulletin®, Copyright ©2000-2016, Jelsoft Enterprises Ltd.