<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Linkererrors mit Luabind]]></title><description><![CDATA[<p>Ich versuche gerade Luabind in meinem aktuellen Projekt einzubinden, jedoch bekomme ich einige Linker Errors:</p>
<pre><code>error LNK2019: Verweis auf nicht aufgelöstes externes Symbol &quot;&quot;void __cdecl luaL_openlibs(struct lua_State *)&quot; (?luaL_openlibs@@YAXPAUlua_State@@@Z)&quot; in Funktion &quot;&quot;void __cdecl LunaLua::init(class std::basic_string&lt;wchar_t,struct std::char_traits&lt;wchar_t&gt;,class std::allocator&lt;wchar_t&gt; &gt;)&quot; (?init@LunaLua@@YAXV?$basic_string@_WU?$char_traits@_W@std@@V?$allocator@_W@2@@std@@@Z)&quot;.	
F:\VSProj\git\LunaDLL\LunaDll\LunaLuaMain.obj

error LNK2005: &quot;public: void __thiscall std::_Container_base0::_Orphan_all(void)&quot; (?_Orphan_all@_Container_base0@std@@QAEXXZ) ist bereits in libluabind.lib(open.obj) definiert.	
F:\VSProj\git\LunaDLL\LunaDll\msvcprt.lib(MSVCP100.dll)

error LNK2005: &quot;public: static unsigned int __cdecl std::numeric_limits&lt;unsigned int&gt;::max(void)&quot; (?max@?$numeric_limits@I@std@@SAIXZ) ist bereits in libluabind.lib(open.obj) definiert.
F:\VSProj\git\LunaDLL\LunaDll\msvcprt.lib(MSVCP100.dll)

error LNK2005: &quot;public: static int __cdecl std::numeric_limits&lt;int&gt;::max(void)&quot; (?max@?$numeric_limits@H@std@@SAHXZ) ist bereits in libluabind.lib(inheritance.obj) definiert.
F:\VSProj\git\LunaDLL\LunaDll\msvcprt.lib(MSVCP100.dll)
</code></pre>
<p>Ich verwende VS 2010.<br />
Luabind konnte ich mithilfe von den Lua5.1 Binaries for Windows und bjam (boost) ohne Probleme kompilieren.</p>
<p>2 Sachen die mir schon sofort aufgefallen sind:<br />
1. luaL_openlibs ist das einzige Symbol was nicht gefunden werden kann. (Wieso ist es das einzige Symbol was nicht gefunden werden kann?)<br />
2. std::numeric_limits&lt;int&gt;::max(void) sind in MSVCP100.dll und in libluabind.lib definiert (wie kann das passieren?)</p>
<p>Hab schon mein Nachmittag geopfert und google durchforstet, jedoch ohne Erfolg <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f61e.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--disappointed_face"
      title=":("
      alt="😞"
    /></p>
<p>Ich hoffe jemand hat eine Lösung für mich!</p>
<p>LG, Kevsoft</p>
<p>EDIT: Hat sich erledigt!</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/327924/linkererrors-mit-luabind</link><generator>RSS for Node</generator><lastBuildDate>Wed, 08 Jul 2026 15:27:32 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/327924.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 11 Sep 2014 17:06:55 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Linkererrors mit Luabind on Thu, 11 Sep 2014 20:13:08 GMT]]></title><description><![CDATA[<p>Ich versuche gerade Luabind in meinem aktuellen Projekt einzubinden, jedoch bekomme ich einige Linker Errors:</p>
<pre><code>error LNK2019: Verweis auf nicht aufgelöstes externes Symbol &quot;&quot;void __cdecl luaL_openlibs(struct lua_State *)&quot; (?luaL_openlibs@@YAXPAUlua_State@@@Z)&quot; in Funktion &quot;&quot;void __cdecl LunaLua::init(class std::basic_string&lt;wchar_t,struct std::char_traits&lt;wchar_t&gt;,class std::allocator&lt;wchar_t&gt; &gt;)&quot; (?init@LunaLua@@YAXV?$basic_string@_WU?$char_traits@_W@std@@V?$allocator@_W@2@@std@@@Z)&quot;.	
F:\VSProj\git\LunaDLL\LunaDll\LunaLuaMain.obj

error LNK2005: &quot;public: void __thiscall std::_Container_base0::_Orphan_all(void)&quot; (?_Orphan_all@_Container_base0@std@@QAEXXZ) ist bereits in libluabind.lib(open.obj) definiert.	
F:\VSProj\git\LunaDLL\LunaDll\msvcprt.lib(MSVCP100.dll)

error LNK2005: &quot;public: static unsigned int __cdecl std::numeric_limits&lt;unsigned int&gt;::max(void)&quot; (?max@?$numeric_limits@I@std@@SAIXZ) ist bereits in libluabind.lib(open.obj) definiert.
F:\VSProj\git\LunaDLL\LunaDll\msvcprt.lib(MSVCP100.dll)

error LNK2005: &quot;public: static int __cdecl std::numeric_limits&lt;int&gt;::max(void)&quot; (?max@?$numeric_limits@H@std@@SAHXZ) ist bereits in libluabind.lib(inheritance.obj) definiert.
F:\VSProj\git\LunaDLL\LunaDll\msvcprt.lib(MSVCP100.dll)
</code></pre>
<p>Ich verwende VS 2010.<br />
Luabind konnte ich mithilfe von den Lua5.1 Binaries for Windows und bjam (boost) ohne Probleme kompilieren.</p>
<p>2 Sachen die mir schon sofort aufgefallen sind:<br />
1. luaL_openlibs ist das einzige Symbol was nicht gefunden werden kann. (Wieso ist es das einzige Symbol was nicht gefunden werden kann?)<br />
2. std::numeric_limits&lt;int&gt;::max(void) sind in MSVCP100.dll und in libluabind.lib definiert (wie kann das passieren?)</p>
<p>Hab schon mein Nachmittag geopfert und google durchforstet, jedoch ohne Erfolg <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f61e.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--disappointed_face"
      title=":("
      alt="😞"
    /></p>
<p>Ich hoffe jemand hat eine Lösung für mich!</p>
<p>LG, Kevsoft</p>
<p>EDIT: Hat sich erledigt!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2417079</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2417079</guid><dc:creator><![CDATA[Kevsoft]]></dc:creator><pubDate>Thu, 11 Sep 2014 20:13:08 GMT</pubDate></item><item><title><![CDATA[Reply to Linkererrors mit Luabind on Fri, 12 Sep 2014 08:04:32 GMT]]></title><description><![CDATA[<p>Ja dann erzähl doch auch, wie du das gelöst hast. Vielleicht gibt´s noch Jemanden mit dem Problem.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2417158</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2417158</guid><dc:creator><![CDATA[DocShoe]]></dc:creator><pubDate>Fri, 12 Sep 2014 08:04:32 GMT</pubDate></item></channel></rss>