Compile error win 2k3, VS .NET 2002
Code:
packet_functions.obj : error LNK2019: unresolved external symbol _deflateEnd@4 referenced in function "int __cdecl DeflatePacket(unsigned char *,int,unsigned char *,int)" (?DeflatePacket@@YAHPAEH0H@Z) |
Looks like your project file is missing packet_functions.cpp. Not sure how your project file lost this reference. Add it manually and recompile.
If you continue to get unresolved externals, it's likely your project file is hosed. Come to IRC and get another copy of it. |
Ok, this is still a problem, Merth thanks a ton for tryin to help me out in IRC, heres a update on the problem.
Code:
int DeflatePacket(unsigned char* in_data, int in_length, unsigned char* out_data, int max_out_length) {z_stream zstream; Code:
uint32 InflatePacket(uchar* indata, uint32 indatalen, uchar* outdata, uint32 outdatalen, bool iQuiet) {z_stream zstream; Code:
#include <netinet/in.h> |
Sorry, my bad. I didn't pay close attention to the error message:
Code:
unresolved external symbol _deflateEnd I suspect that since this is not part of your dependency list, something funky is happening. Are you compiling the "Debug" or "Release" configurations? |
Ok this problem is fixed, for future referance, do not use VS.net 2002 academic version, it does not work! you need a full release becouse academic is missing lib files that you have to have or you will fail. Thanks Merth and Devn00b for the help on this. I used VS.net 2002 enterprise and it compiled fine. Dont i feel silly.. again thanks for your help guys
|
I have VS.net 2003 academic, same exact problem. I'm gonna dig around for another compiler to test, I'll post the result.
|
Got a copy of Visual C++ 6 and it compiles fine so yea- academic version is bad.
|
All times are GMT -4. The time now is 06:53 AM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.