_imp__wassert linker errors with static lib
Posted: Fri Apr 23, 2010 6:54 am
Hi folks,
I was wondering if I anyone could shed some light this linker error im getting with this library I'm trying to use.
Library: http://www.zezula.net/download/stormlib.zip (the project is StormLib.sln)
Also, I'm using VS2010.
Just trying to use one function out of it for now for testing.. my code:
So far I've gotten a big list of linker errors, but after some research on the forum I've turned off switches here and there to get me down to just this.
Been wracking my brain on this one guys, any help or ideas would be greatly appreciated.
I was wondering if I anyone could shed some light this linker error im getting with this library I'm trying to use.
Library: http://www.zezula.net/download/stormlib.zip (the project is StormLib.sln)
Also, I'm using VS2010.
Just trying to use one function out of it for now for testing.. my code:
Code: Select all
Import "StormLibDAD.lib"
SFileOpenArchive(a.l,b.l,c.l,d.l) As "?SFileOpenArchive@@YGHPBDKKPAPAX@Z"
EndImport
SFileOpenArchive(@"test.mpq", 0, 0, @hMpq)
Code: Select all
---------------------------
PureBasic - Linker error
---------------------------
POLINK: error: Unresolved external symbol '__imp___wassert'.
POLINK: fatal error: 1 unresolved external(s).