Closed GoogleCodeExporter closed 9 years ago
Original comment by Ryexander
on 8 Sep 2014 at 1:44
well, I've updated the binding files to reflect the new headers but for some
reaosn it refuses to compile in vs13
{{{
1>_PyXAL.obj : error LNK2001: unresolved external symbol "__declspec(dllimport)
public: void __thiscall xal::AudioManager::resumeAudio(void)"
(__imp_?resumeAudio@AudioManager@xal@@QAEXXZ)
1>_PyXAL.obj : error LNK2001: unresolved external symbol "__declspec(dllimport)
public: void __thiscall xal::AudioManager::suspendAudio(void)"
(__imp_?suspendAudio@AudioManager@xal@@QAEXXZ)
1>_PyXAL.obj : error LNK2001: unresolved external symbol "__declspec(dllimport)
void __cdecl xal::init(enum xal::AudioSystemType,void *,bool,float,class
hltypes::String const &)"
(__imp_?init@xal@@YAXW4AudioSystemType@1@PAX_NMABVString@hltypes@@@Z)
1>_PyXAL.obj : error LNK2001: unresolved external symbol "__declspec(dllimport)
public: char const * __thiscall std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> >::c_str(void)const "
(__imp_?c_str@?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QBEPB
DXZ)
1>_PyXAL.obj : error LNK2001: unresolved external symbol "__declspec(dllimport)
public: __thiscall std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> >::~basic_string<char,struct std::char_traits<char>,class
std::allocator<char> >(void)"
(__imp_??1?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE@XZ)
1>_PyXAL.obj : error LNK2001: unresolved external symbol "__declspec(dllimport)
public: __thiscall std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> >::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> >(char const *)"
(__imp_??0?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE@PBD@Z
)
1>E:\Projects\ARC\editor\Welder\src\Core\PyXAL\src\bin\_PyXAL.pyd : fatal error
LNK1120: 6 unresolved externals
}}}
Original comment by Ryexander
on 8 Sep 2014 at 3:04
trying to build with the python setup tools seems to almost work but there are
still unresolved externals
Creating library build\temp.win32-3.4\Release\_PyXAL.lib and object build\temp.win32-3.4\Release\_PyXAL.exp
PyXAL.obj : error LNK2019: unresolved external symbol "__declspec(dllimport)
void __cdecl xal::init(enum xal::AudioSystemType,void *,bool,float,class
hltypes::String const &)"
(__imp_?init@xal@@YAXW4AudioSystemType@1@PAX_NMABVString@hltypes@@@Z)
referenced in function "int __cdecl
__pyx_pf_6_PyXAL_17XALManagerWrapper___init__(struct
__pyx_obj_6_PyXAL_XALManagerWrapper *,enum
xal::AudioSystemType,int,int,float,char *)"
(?__pyx_pf_6_PyXAL_17XALManagerWrapper___init__@@YAHPAU__pyx_obj_6_PyXAL_XALMana
gerWrapper@@W4AudioSystemType@xal@@HHMPAD@Z)
PyXAL.obj : error LNK2019: unresolved external symbol "__declspec(dllimport)
public: void __thiscall xal::AudioManager::suspendAudio(void)"
(__imp_?suspendAudio@AudioManager@xal@@QAEXXZ) referenced in function "struct
_object * __cdecl __pyx_pf_6_PyXAL_10XALManager_34suspendAudio(struct _object
*,struct _object *)"
(?__pyx_pf_6_PyXAL_10XALManager_34suspendAudio@@YAPAU_object@@PAU1@0@Z)
PyXAL.obj : error LNK2019: unresolved external symbol "__declspec(dllimport)
public: void __thiscall xal::AudioManager::resumeAudio(void)"
(__imp_?resumeAudio@AudioManager@xal@@QAEXXZ) referenced in function "struct
_object * __cdecl __pyx_pf_6_PyXAL_10XALManager_36resumeAudio(struct _object
*,struct _object *)"
(?__pyx_pf_6_PyXAL_10XALManager_36resumeAudio@@YAPAU_object@@PAU1@0@Z)
E:\Projects\ARC\editor\Welder\src\Core\PyXAL\src\_PyXAL.pyd : fatal error LNK112
0: 3 unresolved externals
error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\BIN\\
Original comment by Ryexander
on 8 Sep 2014 at 3:18
I recompiled the C++ binaries with VS2013. Try and see if it works now. Make
sure to use VS2013. From the error messages it might be using VS2010. The best
way to ensure that VS2013 is used is to uninstall the other versions.
Original comment by boris.blizzard@gmail.com
on 8 Sep 2014 at 6:31
fixed in r795
Original comment by Ryexander
on 8 Sep 2014 at 7:50
Original comment by Ryexander
on 21 Sep 2014 at 11:58
Original issue reported on code.google.com by
Ryexander
on 8 Sep 2014 at 1:38