<?xml version="1.0"?>
<rss version="2.0">
	<channel>
		<title>no Dinput.lib (msvs2008)</title>
		<link>http://www.allegro.cc/forums/view/594676</link>
		<description>Allegro.cc Forum Thread</description>
		<webMaster>matthew@allegro.cc (Matthew Leverton)</webMaster>
		<lastBuildDate>Tue, 08 Jan 2008 00:59:43 +0000</lastBuildDate>
	</channel>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>according to the setup instruction from the allegro wiki for static linking<br />i have to include:</p><p>alleg_s.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib ole32.lib dinput.lib ddraw.lib dxguid.lib winmm.lib dsound.lib</p><p>some of the files were missing because i didn&#39;t had DirextX SDK </p><p>however after downloading the DirextX SDK (dxsdk_november2007.exe) there is still 1 file missing: dinput.lib </p><p>what do i need to do to get static linking to work? <img src="http://www.allegro.cc/forums/smileys/huh.gif" alt="???" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (RSwar01)</author>
		<pubDate>Mon, 07 Jan 2008 20:05:42 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>MS removed some libs from recent DXSDK. Use dx70_min.zip from <a href="http://www.liballeg.org/wip.html">http://www.liballeg.org/wip.html</a>
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Milan Mimica)</author>
		<pubDate>Mon, 07 Jan 2008 21:54:57 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>solves the problem of the missing files i now get 21 errors <img src="http://www.allegro.cc/forums/smileys/sad.gif" alt=":(" /></p><p>Any ideas on how to solve them?</p><p>1&gt;MSVCRT.lib(MSVCR80.dll) : error LNK2005: _realloc already defined in LIBCMT.lib(realloc.obj)<br />1&gt;MSVCRT.lib(MSVCR80.dll) : error LNK2005: _abort already defined in LIBCMT.lib(abort.obj)<br />1&gt;MSVCRT.lib(MSVCR80.dll) : error LNK2005: _getenv already defined in LIBCMT.lib(getenv.obj)<br />1&gt;MSVCRT.lib(MSVCR80.dll) : error LNK2005: _fopen already defined in LIBCMT.lib(fopen.obj)<br />1&gt;MSVCRT.lib(MSVCR80.dll) : error LNK2005: _malloc already defined in LIBCMT.lib(malloc.obj)<br />1&gt;MSVCRT.lib(MSVCR80.dll) : error LNK2005: ___iob_func already defined in LIBCMT.lib(_file.obj)<br />1&gt;MSVCRT.lib(MSVCR80.dll) : error LNK2005: _strtod already defined in LIBCMT.lib(strtod.obj)<br />1&gt;MSVCRT.lib(MSVCR80.dll) : error LNK2005: _memmove already defined in LIBCMT.lib(memmove.obj)<br />1&gt;MSVCRT.lib(MSVCR80.dll) : error LNK2005: _strtol already defined in LIBCMT.lib(strtol.obj)<br />1&gt;MSVCRT.lib(MSVCR80.dll) : error LNK2005: _strpbrk already defined in LIBCMT.lib(strpbrk.obj)<br />1&gt;MSVCRT.lib(MSVCR80.dll) : error LNK2005: __wopen already defined in LIBCMT.lib(wopen.obj)<br />1&gt;MSVCRT.lib(ti_inst.obj) : error LNK2005: &quot;private: __thiscall type_info: :type_info(class type_info const &amp;)&quot; (??0type_info@@AAE@ABV0@@Z) already defined in LIBCMT.lib(typinfo.obj)<br />1&gt;MSVCRT.lib(ti_inst.obj) : error LNK2005: &quot;private: class type_info &amp; __thiscall type_info :: operator=(class type_info const &amp;)&quot; (??4type_info@@AAEAAV0@ABV0@@Z) already defined in LIBCMT.lib(typinfo.obj)<br />1&gt;MSVCRT.lib(MSVCR80.dll) : error LNK2005: __strdup already defined in LIBCMT.lib(strdup.obj)<br />1&gt;MSVCRT.lib(MSVCR80.dll) : error LNK2005: __stricmp already defined in LIBCMT.lib(stricmp.obj)<br />1&gt;MSVCRT.lib(MSVCR80.dll) : error LNK2005: __open already defined in LIBCMT.lib(open.obj)<br />1&gt;MSVCRT.lib(MSVCR80.dll) : error LNK2005: __lseek already defined in LIBCMT.lib(lseek.obj)<br />1&gt;MSVCRT.lib(MSVCR80.dll) : error LNK2005: __write already defined in LIBCMT.lib(write.obj)<br />1&gt;MSVCRT.lib(MSVCR80.dll) : error LNK2005: __read already defined in LIBCMT.lib(read.obj)<br />1&gt;MSVCRT.lib(MSVCR80.dll) : error LNK2005: __close already defined in LIBCMT.lib(close.obj)<br />1&gt;LINK : warning LNK4098: defaultlib &#39;MSVCRT&#39; conflicts with use of other libs; use /NODEFAULTLIB:library<br />1&gt;C:\Documents and Settings\Administrator\Mijn documenten\Visual Studio 2005\Projects\RPG\Static Releas\RPG.exe : fatal error LNK1169: one or more multiply defined symbols found<br />1&gt;RPG - 21 error(s), 1 warning(s)<br />========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (RSwar01)</author>
		<pubDate>Mon, 07 Jan 2008 22:43:23 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Are you linking with alleg_s_crt.lib?  alleg_s.lib wants msvcr80.dll, so you can&#39;t combine that with libcmt.lib.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (torhu)</author>
		<pubDate>Tue, 08 Jan 2008 00:19:13 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I don&#39;t now</p><p>I&#39;m following the instructions from the allegro wiki<br /><a href="http://wiki.allegro.cc/Visual_C%2B%2B_Express_2005">http://wiki.allegro.cc/Visual_C%2B%2B_Express_2005</a></p><p>alleg_s.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib ole32.lib dinput.lib ddraw.lib dxguid.lib winmm.lib dsound.lib</p><p>are the only libraries under additional dependencies</p><p>after some testing:</p><p><b>Static Release</b> the file doesn&#39;t work on different pc&#39;s</p><p><b>Static Release, Static Runtime</b> the errors
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (RSwar01)</author>
		<pubDate>Tue, 08 Jan 2008 00:32:02 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>You you are using &quot;Static Release, Static Runtime&quot; then you have to link against alleg_s_crt.lib. And set a option in C/C++ -&gt; Code Generation -&gt; Runtime Library to (MT).</p><p>(edited)
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Milan Mimica)</author>
		<pubDate>Tue, 08 Jan 2008 00:44:00 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I&#39;m using the MT option (its the different between he Static Release and Static Release options)</p><p>and what do you mean with:<br />then you have to link against alleg_s_crt.lib
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (RSwar01)</author>
		<pubDate>Tue, 08 Jan 2008 00:49:09 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Replace this:<br />alleg_s.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib ole32.lib dinput.lib ddraw.lib dxguid.lib winmm.lib dsound.lib</p><p>with this:<br />alleg_s_crt.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib ole32.lib dinput.lib ddraw.lib dxguid.lib winmm.lib dsound.lib
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (torhu)</author>
		<pubDate>Tue, 08 Jan 2008 00:50:35 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>It works.</p><p>finally I&#39;m ably to use my games on computers witout allegro or vs2008 instold</p><p>thanks for the help
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (RSwar01)</author>
		<pubDate>Tue, 08 Jan 2008 00:59:43 +0000</pubDate>
	</item>
</rss>
