Help with linker errors
by Chris · in Torque 3D Professional · 08/27/2010 (8:31 pm) · 4 replies
I am attempting to compile Awesomium into Torque3D 1.1B2 and I get the following linker error I cannot seem to resolve.
Is Torque redefining something? I had to #undef BOOL to get this far as follows.
Is Torque redefining something? I had to #undef BOOL to get this far as follows.
#undef BOOL #include "WebCore.h"
Error 7 error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall Awesomium::WebCore::WebCore(class std::basic_string<unsigned short,struct std::char_traits<unsigned short>,class std::allocator<unsigned short> > const &,class std::basic_string<unsigned short,struct std::char_traits<unsigned short>,class std::allocator<unsigned short> > const &,class std::basic_string<unsigned short,struct std::char_traits<unsigned short>,class std::allocator<unsigned short> > const &,class std::basic_string<unsigned short,struct std::char_traits<unsigned short>,class std::allocator<unsigned short> > const &,enum Awesomium::LogLevel,bool,enum Awesomium::PixelFormat,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (__imp_??0WebCore@Awesomium@@QAE@ABV?$basic_string@GU?$char_traits@G@std@@V?$allocator@G@2@@std@@000W4LogLevel@1@_NW4PixelFormat@1@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@3@@Z) referenced in function "void __cdecl `dynamic initializer for 'myWebCore''(void)" (??__EmyWebCore@@YAXXZ) guiIceWindow.obj Client DLL
About the author
#2
I also added the additional include path where the .h files are
08/27/2010 (10:19 pm)
Well I added the .lib file into where the additional libraries were, and I added the additional library folder path in.I also added the additional include path where the .h files are
#3
08/27/2010 (10:49 pm)
I meant the actual h/cpp file in the solution explorer. That error looks similar to one that I ran around with for a little.
#4
08/27/2010 (10:52 pm)
Oh there are no cpp files, this is a library with just .h files
Torque 3D Owner Ray Batts
Sickhead Games