You would also need the updated MSVC files, I've regenerated them in
r4871.
On Thu, 2012-05-10 at 17:09 +0200, Christian Van Brussel wrote:
> Hi Sam,
>
> elcmtest was missing an entry to CEGUI for static linking, this should
> have been fixed in r4869. This is not clear to me however why you should
> have need to modify also the plgui_inventory and plgui_inventory2
> projects.
>
> About your linking problems with triggers and celconsole, the Jamfile of
> those plugins were missing a linking entry for celtool. This should have
> been fixed in r4868.
>
> For the tcpnetwork problem, it is missing a linking entry to wsock32,
> although I don't know how to do this for MSVC. Is there something else
> to be made than adding the entry "LFlags tcpnetwork : -lwsock32" in the
> Jamfile?
>
>
>
> On Thu, 2012-05-10 at 13:57 +0100, Sam Devlin wrote:
> > 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@...)
> > trig_inventory.obj : error LNK2001: unresolved external symbol
> > "__declspec(dllimport) public: virtual void __thiscall
> > scfImplementation<class celOneParameterBlock>::RemoveRefOwner(void *
> > *)" (__imp_?RemoveRefOwner@...)
> > 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@...)
> > trig_inventory.obj : error LNK2001: unresolved external symbol
> > "__declspec(dllimport) public: virtual int __thiscall
> > scfImplementation<class
> > celOneParameterBlock>::GetRefCount(void)" (__imp_?GetRefCount@...)
> > trig_inventory.obj : error LNK2001: unresolved external symbol
> > "__declspec(dllimport) public: virtual void __thiscall
> > scfImplementation<class
> > celOneParameterBlock>::IncRef(void)" (__imp_?IncRef@...)
> > trig_inventory.obj : error LNK2001: unresolved external symbol
> > "__declspec(dllimport) public: virtual void __thiscall
> > scfImplementation<class
> > celOneParameterBlock>::DecRef(void)" (__imp_?DecRef@...)
> > trig_inventory.obj : error LNK2001: unresolved external symbol
> > "__declspec(dllimport) protected: virtual void __thiscall
> > scfImplementation1<class celOneParameterBlock,struct
> > iCelParameterBlock>::FillInterfaceMetadata(unsigned
> > int)" (__imp_?FillInterfaceMetadata@...)
> > 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@...)
> > 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@...)
> > trig_inventory.obj : error LNK2001: unresolved external symbol
> > "__declspec(dllimport) public: void __thiscall
> > celOneParameterBlock::`vbase
> > destructor'(void)" (__imp_??_DcelOneParameterBlock@...)
> > trig_inventory.obj : error LNK2001: unresolved external symbol
> > "__declspec(dllimport) public: struct celData & __thiscall
> > celOneParameterBlock::GetParameter(int)" (__imp_?GetParameter@...)
> > trig_inventory.obj : error LNK2001: unresolved external symbol
> > "__declspec(dllimport) public: void __thiscall
> > celOneParameterBlock::SetParameterDef(struct CS::StringID<struct
> > CS::StringSetTag::General>)" (__imp_?SetParameterDef@...)
> > trig_inventory.obj : error LNK2001: unresolved external symbol
> > "__declspec(dllimport) public: __thiscall
> > celOneParameterBlock::celOneParameterBlock(void)" (__imp_??0celOneParameterBlock@...)
> > ..\..\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@...
> > err.obj : error LNK2001: unresolved external symbol _WSAGetLastError@...
> > ipx.obj : error LNK2001: unresolved external symbol __imp__accept@...
> > ipx.obj : error LNK2001: unresolved external symbol
> > __imp__closesocket@...
> > ipx.obj : error LNK2001: unresolved external symbol __imp__socket@...
> > ipx.obj : error LNK2001: unresolved external symbol __imp__bind@...
> > ipx.obj : error LNK2001: unresolved external symbol
> > __imp__WSACleanup@...
> > ipx.obj : error LNK2001: unresolved external symbol __imp__sendto@...
> > ipx.obj : error LNK2001: unresolved external symbol
> > __imp__getsockname@...
> > ipx.obj : error LNK2001: unresolved external symbol __imp__ntohs@...
> > ipx.obj : error LNK2001: unresolved external symbol __imp__htons@...
> > ipx.obj : error LNK2001: unresolved external symbol __imp__recvfrom@...
> > ipx.obj : error LNK2001: unresolved external symbol
> > __imp__WSAStartup@...
> > ipx.obj : error LNK2001: unresolved external symbol __imp__connect@...
> > sock.obj : error LNK2001: unresolved external symbol __imp__listen@...
> > sock.obj : error LNK2001: unresolved external symbol
> > __imp__getsockopt@...
> > sock.obj : error LNK2001: unresolved external symbol __imp__send@...
> > sock.obj : error LNK2001: unresolved external symbol
> > __imp__gethostbyname@...
> > sock.obj : error LNK2001: unresolved external symbol
> > __imp__gethostbyaddr@...
> > sock.obj : error LNK2001: unresolved external symbol __imp__recv@...
> > sock.obj : error LNK2001: unresolved external symbol
> > __imp__setsockopt@...
> > sock.obj : error LNK2001: unresolved external symbol __imp__shutdown@...
> > sock.obj : error LNK2001: unresolved external symbol __imp__select@...
> > sock.obj : error LNK2001: unresolved external symbol __imp__htonl@...
> > sock.obj : error LNK2001: unresolved external symbol __imp__ntohl@...
> > sock.obj : error LNK2001: unresolved external symbol
> > __imp__gethostname@...
> > sock.obj : error LNK2001: unresolved external symbol
> > __imp__ioctlsocket@...
> > ..\..\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@...)
> > celconsole.obj : error LNK2001: unresolved external symbol
> > "__declspec(dllimport) public: virtual void __thiscall
> > scfImplementation<class
> > celVariableParameterBlock>::RemoveRefOwner(void *
> > *)" (__imp_?RemoveRefOwner@...)
> > 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@...)
> > celconsole.obj : error LNK2001: unresolved external symbol
> > "__declspec(dllimport) public: virtual int __thiscall
> > scfImplementation<class
> > celVariableParameterBlock>::GetRefCount(void)" (__imp_?GetRefCount@...)
> > celconsole.obj : error LNK2001: unresolved external symbol
> > "__declspec(dllimport) public: virtual void __thiscall
> > scfImplementation<class
> > celVariableParameterBlock>::IncRef(void)" (__imp_?IncRef@...)
> > celconsole.obj : error LNK2001: unresolved external symbol
> > "__declspec(dllimport) public: virtual void __thiscall
> > scfImplementation<class
> > celVariableParameterBlock>::DecRef(void)" (__imp_?DecRef@...)
> > celconsole.obj : error LNK2001: unresolved external symbol
> > "__declspec(dllimport) protected: virtual void __thiscall
> > scfImplementation1<class celVariableParameterBlock,struct
> > iCelParameterBlock>::FillInterfaceMetadata(unsigned
> > int)" (__imp_?FillInterfaceMetadata@...)
> > celconsole.obj : error LNK2001: unresolved external symbol
> > "__declspec(dllimport) protected: virtual unsigned int __thiscall
> > scfImplementation1<class celVariableParameterBlock,struct
> > iCelParameterBlock>::GetInterfaceMetadataCount(void)const
> > " (__imp_?GetInterfaceMetadataCount@...)
> > celconsole.obj : error LNK2001: unresolved external symbol
> > "__declspec(dllimport) public: virtual void * __thiscall
> > scfImplementation1<class celVariableParameterBlock,struct
> > iCelParameterBlock>::QueryInterface(unsigned
> > long,int)" (__imp_?QueryInterface@...)
> > celconsole.obj : error LNK2001: unresolved external symbol
> > "__declspec(dllimport) public: void __thiscall
> > celVariableParameterBlock::`vbase
> > destructor'(void)" (__imp_??_DcelVariableParameterBlock@...)
> > celconsole.obj : error LNK2001: unresolved external symbol
> > "__declspec(dllimport) public: struct celData & __thiscall
> > celVariableParameterBlock::AddParameter(struct CS::StringID<struct
> > CS::StringSetTag::General>)" (__imp_?AddParameter@...)
> > celconsole.obj : error LNK2001: unresolved external symbol
> > "__declspec(dllimport) public: __thiscall
> > celVariableParameterBlock::celVariableParameterBlock(int)" (__imp_??0celVariableParameterBlock@...)
> > ..\..\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
> > Crystal-develop@...
> > https://lists.sourceforge.net/lists/listinfo/crystal-develop
>
>
>
> ------------------------------------------------------------------------------
> 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
> Crystal-develop@...
> https://lists.sourceforge.net/lists/listinfo/crystal-develop
|