Re: Compilation Errors in GSoC Branch of CEL
Sam Devlin <[email protected]>
| Newsgroups | gmane.comp.graphics.crystalspace.devel |
|---|---|
| Message-ID | <CAL0_xOo+YTv59YxbAnoA6B6HJ4yeqWHkCvAqy5TFoKLjB8d4NA@mail.gmail.com> |
Thank you for the suggestions Christian. I have now merged my CEL branch up
to revision 4859 from trunk and switched to branch 38040 of CrystalSpace
trunk. The two seem to match with the CrystalSpace revision used being the
one that was in place at the time the CEL revision was committed.
CrystalSpace now compiles entirely without error. My errors in CEL have
also reduced but not gone away entirely.
The remaining CEGui problems were solved by adding to the projects
plgui_inventory, plgui_inventory2 and appelcmtest additional dependencies
and linking directories to the relevant cswinlibs copy in my CrystalSpace
folder.
I now have just 3 linking errors:
-- plgtriggers
-- plgtcpnetwork
-- plgcelconsole
I presume plgtcpnetwork is not important for my project, so I am mostly
concerned about plgtriggers and plgcelconsole that have very similar
problems. Both related to scfImplementation and CEL Parameter Blocks. The
full output of my compiler is included below.
Also if there are suggestions regarding plgtcpnetwork please do let me
know, as I would prefer everything to be compiled and working before the
start of GSoC where possible. I have already tried adding to the linker the
directory in which wsock32.lib is but this did not help.
Kind regards,
Sam.
------ Build started: Project: plgtriggers, Configuration: ReleaseWithDlls
Win32 ------
Creating library
..\..\out\release10\build\plgtriggers\Win32\plgtriggers.lib and object
..\..\out\release10\build\plgtriggers\Win32\plgtriggers.exp
trig_inventory.obj : error LNK2001: unresolved external symbol
"__declspec(dllimport) public: virtual struct scfInterfaceMetadataList *
__thiscall scfImplementation<class
celOneParameterBlock>::GetInterfaceMetadata(void)"
(__imp_?GetInterfaceMetadata@?$scfImplementation@VcelOneParameterBlock
@@@@UAEPAUscfInterfaceMetadataList@@XZ)
trig_inventory.obj : error LNK2001: unresolved external symbol
"__declspec(dllimport) public: virtual void __thiscall
scfImplementation<class celOneParameterBlock>::RemoveRefOwner(void * *)"
(__imp_?RemoveRefOwner@?$scfImplementation@VcelOneParameterBlock
@@@@UAEXPAPAX@Z)
trig_inventory.obj : error LNK2001: unresolved external symbol
"__declspec(dllimport) public: virtual void __thiscall
scfImplementation<class celOneParameterBlock>::AddRefOwner(void * *,class
CS::Threading::MutexImpl<class CS::Threading::Implementation::MutexBase>
*)" (__imp_?AddRefOwner@?$scfImplementation@VcelOneParameterBlock
@@@@UAEXPAPAXPAV?$MutexImpl@VMutexBase@Implementation@Threading@CS@
@@Threading@CS@@@Z)
trig_inventory.obj : error LNK2001: unresolved external symbol
"__declspec(dllimport) public: virtual int __thiscall
scfImplementation<class celOneParameterBlock>::GetRefCount(void)"
(__imp_?GetRefCount@?$scfImplementation@VcelOneParameterBlock@@@@UAEHXZ)
trig_inventory.obj : error LNK2001: unresolved external symbol
"__declspec(dllimport) public: virtual void __thiscall
scfImplementation<class celOneParameterBlock>::IncRef(void)" (__imp_?IncRef@
?$scfImplementation@VcelOneParameterBlock@@@@UAEXXZ)
trig_inventory.obj : error LNK2001: unresolved external symbol
"__declspec(dllimport) public: virtual void __thiscall
scfImplementation<class celOneParameterBlock>::DecRef(void)" (__imp_?DecRef@
?$scfImplementation@VcelOneParameterBlock@@@@UAEXXZ)
trig_inventory.obj : error LNK2001: unresolved external symbol
"__declspec(dllimport) protected: virtual void __thiscall
scfImplementation1<class celOneParameterBlock,struct
iCelParameterBlock>::FillInterfaceMetadata(unsigned int)"
(__imp_?FillInterfaceMetadata@?$scfImplementation1@VcelOneParameterBlock
@@UiCelParameterBlock@@@@MAEXI@Z)
trig_inventory.obj : error LNK2001: unresolved external symbol
"__declspec(dllimport) protected: virtual unsigned int __thiscall
scfImplementation1<class celOneParameterBlock,struct
iCelParameterBlock>::GetInterfaceMetadataCount(void)const "
(__imp_?GetInterfaceMetadataCount@?$scfImplementation1@VcelOneParameterBlock
@@UiCelParameterBlock@@@@MBEIXZ)
trig_inventory.obj : error LNK2001: unresolved external symbol
"__declspec(dllimport) public: virtual void * __thiscall
scfImplementation1<class celOneParameterBlock,struct
iCelParameterBlock>::QueryInterface(unsigned long,int)"
(__imp_?QueryInterface@?$scfImplementation1@VcelOneParameterBlock
@@UiCelParameterBlock@@@@UAEPAXKH@Z)
trig_inventory.obj : error LNK2001: unresolved external symbol
"__declspec(dllimport) public: void __thiscall celOneParameterBlock::`vbase
destructor'(void)" (__imp_??_DcelOneParameterBlock@@QAEXXZ)
trig_inventory.obj : error LNK2001: unresolved external symbol
"__declspec(dllimport) public: struct celData & __thiscall
celOneParameterBlock::GetParameter(int)"
(__imp_?GetParameter@celOneParameterBlock@@QAEAAUcelData@@H@Z)
trig_inventory.obj : error LNK2001: unresolved external symbol
"__declspec(dllimport) public: void __thiscall
celOneParameterBlock::SetParameterDef(struct CS::StringID<struct
CS::StringSetTag::General>)" (__imp_?SetParameterDef@celOneParameterBlock
@@QAEXU?$StringID@UGeneral@StringSetTag@CS@@@CS@@@Z)
trig_inventory.obj : error LNK2001: unresolved external symbol
"__declspec(dllimport) public: __thiscall
celOneParameterBlock::celOneParameterBlock(void)"
(__imp_??0celOneParameterBlock@@QAE@XZ)
..\..\triggers.dll : fatal error LNK1120: 13 unresolved externals
------ Build started: Project: plgtcpnetwork, Configuration:
ReleaseWithDlls Win32 ------
Creating library
..\..\out\release10\build\plgtcpnetwork\Win32\plgtcpnetwork.lib and object
..\..\out\release10\build\plgtcpnetwork\Win32\plgtcpnetwork.exp
err.obj : error LNK2001: unresolved external symbol _WSASetLastError@4
err.obj : error LNK2001: unresolved external symbol _WSAGetLastError@0
ipx.obj : error LNK2001: unresolved external symbol __imp__accept@12
ipx.obj : error LNK2001: unresolved external symbol __imp__closesocket@4
ipx.obj : error LNK2001: unresolved external symbol __imp__socket@12
ipx.obj : error LNK2001: unresolved external symbol __imp__bind@12
ipx.obj : error LNK2001: unresolved external symbol __imp__WSACleanup@0
ipx.obj : error LNK2001: unresolved external symbol __imp__sendto@24
ipx.obj : error LNK2001: unresolved external symbol __imp__getsockname@12
ipx.obj : error LNK2001: unresolved external symbol __imp__ntohs@4
ipx.obj : error LNK2001: unresolved external symbol __imp__htons@4
ipx.obj : error LNK2001: unresolved external symbol __imp__recvfrom@24
ipx.obj : error LNK2001: unresolved external symbol __imp__WSAStartup@8
ipx.obj : error LNK2001: unresolved external symbol __imp__connect@12
sock.obj : error LNK2001: unresolved external symbol __imp__listen@8
sock.obj : error LNK2001: unresolved external symbol __imp__getsockopt@20
sock.obj : error LNK2001: unresolved external symbol __imp__send@16
sock.obj : error LNK2001: unresolved external symbol __imp__gethostbyname@4
sock.obj : error LNK2001: unresolved external symbol __imp__gethostbyaddr@12
sock.obj : error LNK2001: unresolved external symbol __imp__recv@16
sock.obj : error LNK2001: unresolved external symbol __imp__setsockopt@20
sock.obj : error LNK2001: unresolved external symbol __imp__shutdown@8
sock.obj : error LNK2001: unresolved external symbol __imp__select@20
sock.obj : error LNK2001: unresolved external symbol __imp__htonl@4
sock.obj : error LNK2001: unresolved external symbol __imp__ntohl@4
sock.obj : error LNK2001: unresolved external symbol __imp__gethostname@8
sock.obj : error LNK2001: unresolved external symbol __imp__ioctlsocket@12
..\..\tcpnetwork.dll : fatal error LNK1120: 27 unresolved externals
------ Build started: Project: plgcelconsole, Configuration:
ReleaseWithDlls Win32 ------
Creating library
..\..\out\release10\build\plgcelconsole\Win32\plgcelconsole.lib and object
..\..\out\release10\build\plgcelconsole\Win32\plgcelconsole.exp
celconsole.obj : error LNK2001: unresolved external symbol
"__declspec(dllimport) public: virtual struct scfInterfaceMetadataList *
__thiscall scfImplementation<class
celVariableParameterBlock>::GetInterfaceMetadata(void)"
(__imp_?GetInterfaceMetadata@?$scfImplementation@VcelVariableParameterBlock
@@@@UAEPAUscfInterfaceMetadataList@@XZ)
celconsole.obj : error LNK2001: unresolved external symbol
"__declspec(dllimport) public: virtual void __thiscall
scfImplementation<class celVariableParameterBlock>::RemoveRefOwner(void *
*)" (__imp_?RemoveRefOwner@?$scfImplementation@VcelVariableParameterBlock
@@@@UAEXPAPAX@Z)
celconsole.obj : error LNK2001: unresolved external symbol
"__declspec(dllimport) public: virtual void __thiscall
scfImplementation<class celVariableParameterBlock>::AddRefOwner(void *
*,class CS::Threading::MutexImpl<class
CS::Threading::Implementation::MutexBase> *)" (__imp_?AddRefOwner@
?$scfImplementation@VcelVariableParameterBlock
@@@@UAEXPAPAXPAV?$MutexImpl@VMutexBase@Implementation@Threading@CS@
@@Threading@CS@@@Z)
celconsole.obj : error LNK2001: unresolved external symbol
"__declspec(dllimport) public: virtual int __thiscall
scfImplementation<class celVariableParameterBlock>::GetRefCount(void)"
(__imp_?GetRefCount@?$scfImplementation@VcelVariableParameterBlock
@@@@UAEHXZ)
celconsole.obj : error LNK2001: unresolved external symbol
"__declspec(dllimport) public: virtual void __thiscall
scfImplementation<class celVariableParameterBlock>::IncRef(void)"
(__imp_?IncRef@?$scfImplementation@VcelVariableParameterBlock@@@@UAEXXZ)
celconsole.obj : error LNK2001: unresolved external symbol
"__declspec(dllimport) public: virtual void __thiscall
scfImplementation<class celVariableParameterBlock>::DecRef(void)"
(__imp_?DecRef@?$scfImplementation@VcelVariableParameterBlock@@@@UAEXXZ)
celconsole.obj : error LNK2001: unresolved external symbol
"__declspec(dllimport) protected: virtual void __thiscall
scfImplementation1<class celVariableParameterBlock,struct
iCelParameterBlock>::FillInterfaceMetadata(unsigned int)"
(__imp_?FillInterfaceMetadata@
?$scfImplementation1@VcelVariableParameterBlock@@UiCelParameterBlock@
@@@MAEXI@Z)
celconsole.obj : error LNK2001: unresolved external symbol
"__declspec(dllimport) protected: virtual unsigned int __thiscall
scfImplementation1<class celVariableParameterBlock,struct
iCelParameterBlock>::GetInterfaceMetadataCount(void)const "
(__imp_?GetInterfaceMetadataCount@
?$scfImplementation1@VcelVariableParameterBlock@@UiCelParameterBlock@
@@@MBEIXZ)
celconsole.obj : error LNK2001: unresolved external symbol
"__declspec(dllimport) public: virtual void * __thiscall
scfImplementation1<class celVariableParameterBlock,struct
iCelParameterBlock>::QueryInterface(unsigned long,int)"
(__imp_?QueryInterface@?$scfImplementation1@VcelVariableParameterBlock
@@UiCelParameterBlock@@@@UAEPAXKH@Z)
celconsole.obj : error LNK2001: unresolved external symbol
"__declspec(dllimport) public: void __thiscall
celVariableParameterBlock::`vbase destructor'(void)"
(__imp_??_DcelVariableParameterBlock@@QAEXXZ)
celconsole.obj : error LNK2001: unresolved external symbol
"__declspec(dllimport) public: struct celData & __thiscall
celVariableParameterBlock::AddParameter(struct CS::StringID<struct
CS::StringSetTag::General>)" (__imp_?AddParameter@celVariableParameterBlock
@@QAEAAUcelData@@U?$StringID@UGeneral@StringSetTag@CS@@@CS@@@Z)
celconsole.obj : error LNK2001: unresolved external symbol
"__declspec(dllimport) public: __thiscall
celVariableParameterBlock::celVariableParameterBlock(int)"
(__imp_??0celVariableParameterBlock@@QAE@H@Z)
..\..\celconsole.dll : fatal error LNK1120: 12 unresolved externals
========== Build: 0 succeeded, 3 failed, 92 up-to-date, 0 skipped ==========
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Crystal-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/crystal-develop