Pages: [1]
|
|
|
Author
|
Topic: Link compile errors in VB (Read 3405 times)
|
|
meep-eep
Forum Admin
Enlightened
Offline
Posts: 2847
|
I don't have Windows here, so I'll have to do this blindly: For the __imp__ symbols, you need to link in another .dll file, probably ws2_32.dll. Going by one of your links, you should be able to find the relevant setting under `Project/Properties/Linker/Input, Additional Dependancies'. The other ones are part of UQM and should have been found. Did you switch from compiling without Netplay to compiling with netplay? If so, try cleaning your build completely, and then building again. If not, you may be missing some files in your project, probably those under the netplay/ folder.
|
|
|
Logged
|
“When Juffo-Wup is complete when at last there is no Void, no Non when the Creators return then we can finally rest.”
|
|
|
VilanceDAsari
Zebranky food
Offline
Posts: 5
|
1st off, thanks for the timely response!
No I never removed the netplay components its just never thrown an error on the pre-link or post link phase of the compile, theoretically I might get a link error on the compile portion of the non-netplay objects, but I assume (and i admit i could be wrong here) that if there were some link errors on the non-netplay components they would show up with all the other link errors I see.
Hmm...Ok I copied my ws2_32.dll into a folder I designated as additional library directory, I will add it to the list of linker dependencies (kind leary to do that though all .lib files) ...testing now...
------ Build started: Project: uqm, Configuration: Debug Win32 ------ F:\uqm\UM\uqm-0.6.2\src\ws2_32.dll : fatal error LNK1107: invalid or corrupt file: cannot read at 0x288 ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
Didnt like this file in the props/config->linker->input->additional dependencies threw above error.
Also I should probably copy my current versions of the wspiapiwrap files:
#ifndef _WSPIAPIWRAP_H #define _WSPIAPIWRAP_H //#include <winsock2.h> //#include <ws2tcpip.h> #include <wspiapi.h> #endif /* _WSPIAPIWRAP_H */
and the .c file:
#include "netport.h" //#if defined(USE_WINSOCK) && defined(__MINGW32__) //# include <ws2tcpip.h> //# include <wspiapi.h> //#endif
just tried this header version didnt work either:
#ifndef _WSPIAPIWRAP_H #define _WSPIAPIWRAP_H #include <winsock2.h> #include <ws2tcpip.h> #include <wspiapi.h> #endif /* _WSPIAPIWRAP_H */
LOL so frustrating because I feel like I am so close!!
V.
|
|
|
Logged
|
|
|
|
|
Pages: [1]
|
|
|
|
|