Discussion:
[Opensg-users] OpenSG2: USE_STATIC_SUPPORT_LIBS
Michael Raab
2014-05-19 10:06:29 UTC
Permalink
<html><head></head><body><div style="font-family: Verdana;font-size: 12.0px;"><div>Hi,</div> <div>&nbsp;</div> <div>I tried to build OpenSG2 with static support libs (Windows with VS2010). All worked but OSGContribRhino3D has linker errors:</div> <div>&nbsp;</div> <div> <div>1&gt;libosgopennurbs.lib(opennurbs_uuid.obj) : error LNK2019: Verweis auf nicht aufgel&ouml;stes externes Symbol &quot;***@4&quot; in Funktion &quot;&quot;bool __cdecl ON_CreateUuid(struct _GUID &amp;)&quot; (?ON_CreateUuid@@YA_NAAU_GUID@@@Z)&quot;.<br/>
1&gt;libosgopennurbs.lib(opennurbs_zlib.obj) : error LNK2019: Verweis auf nicht aufgel&ouml;stes externes Symbol &quot;_z_deflate&quot; in Funktion &quot;&quot;private: unsigned int __thiscall ON_BinaryArchive::WriteDeflate(unsigned int,void const *)&quot; (?***@ON_BinaryArchive@@***@Z)&quot;.<br/>
1&gt;libosgopennurbs.lib(opennurbs_compress.obj) : error LNK2001: Nicht aufgel&ouml;stes externes Symbol &quot;_z_deflate&quot;.<br/>
1&gt;libosgopennurbs.lib(opennurbs_zlib.obj) : error LNK2019: Verweis auf nicht aufgel&ouml;stes externes Symbol &quot;_z_inflate&quot; in Funktion &quot;&quot;private: bool __thiscall ON_BinaryArchive::ReadInflate(unsigned int,void *)&quot; (?***@ON_BinaryArchive@@***@Z)&quot;.<br/>
1&gt;libosgopennurbs.lib(opennurbs_compress.obj) : error LNK2001: Nicht aufgel&ouml;stes externes Symbol &quot;_z_inflate&quot;.<br/>
1&gt;libosgopennurbs.lib(opennurbs_zlib.obj) : error LNK2019: Verweis auf nicht aufgel&ouml;stes externes Symbol &quot;_z_deflateEnd&quot; in Funktion &quot;&quot;private: void __thiscall ON_BinaryArchive::CompressionEnd(void)&quot; (?***@ON_BinaryArchive@@AAEXXZ)&quot;.<br/>
1&gt;libosgopennurbs.lib(opennurbs_compress.obj) : error LNK2001: Nicht aufgel&ouml;stes externes Symbol &quot;_z_deflateEnd&quot;.<br/>
1&gt;libosgopennurbs.lib(opennurbs_zlib.obj) : error LNK2019: Verweis auf nicht aufgel&ouml;stes externes Symbol &quot;_z_inflateEnd&quot; in Funktion &quot;&quot;private: void __thiscall ON_BinaryArchive::CompressionEnd(void)&quot; (?***@ON_BinaryArchive@@AAEXXZ)&quot;.<br/>
1&gt;libosgopennurbs.lib(opennurbs_compress.obj) : error LNK2001: Nicht aufgel&ouml;stes externes Symbol &quot;_z_inflateEnd&quot;.<br/>
1&gt;libosgopennurbs.lib(opennurbs_zlib.obj) : error LNK2019: Verweis auf nicht aufgel&ouml;stes externes Symbol &quot;_z_inflateInit_&quot; in Funktion &quot;&quot;public: bool __thiscall ON_CompressedBuffer::CompressionInit(struct ON_CompressedBufferHelper *)const &quot; (?***@ON_CompressedBuffer@@QBE_NPAUON_CompressedBufferHelper@@@Z)&quot;.<br/>
1&gt;libosgopennurbs.lib(opennurbs_compress.obj) : error LNK2001: Nicht aufgel&ouml;stes externes Symbol &quot;_z_inflateInit_&quot;.<br/>
1&gt;libosgopennurbs.lib(opennurbs_zlib.obj) : error LNK2019: Verweis auf nicht aufgel&ouml;stes externes Symbol &quot;_z_deflateInit_&quot; in Funktion &quot;&quot;public: bool __thiscall ON_CompressedBuffer::CompressionInit(struct ON_CompressedBufferHelper *)const &quot; (?***@ON_CompressedBuffer@@QBE_NPAUON_CompressedBufferHelper@@@Z)&quot;.<br/>
1&gt;libosgopennurbs.lib(opennurbs_compress.obj) : error LNK2001: Nicht aufgel&ouml;stes externes Symbol &quot;_z_deflateInit_&quot;.</div>

<div>&nbsp;</div>

<div>&nbsp;</div>

<div>Maybe theres some reference missing...</div>

<div>&nbsp;</div>

<div>Michael</div>
</div></div></body></html>

Loading...