<?xml version="1.0"?>
<rss version="2.0">
	<channel>
		<title>Cannot find stdint.h</title>
		<link>http://www.allegro.cc/forums/view/598292</link>
		<description>Allegro.cc Forum Thread</description>
		<webMaster>matthew@allegro.cc (Matthew Leverton)</webMaster>
		<lastBuildDate>Sun, 16 Nov 2008 23:52:25 +0000</lastBuildDate>
	</channel>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Hello guys,</p><p>I&#39;ve just installed Allegro (with several problems I could finally solve) and wanted to try it out.<br />I&#39;m using VS 2003.net where I added all Allegro include paths. I wrote a dummy program just to check if the include file were found:</p><p>#include &lt;allegro.h&gt;</p><p>int main(int argc, char* argv[])<br />{<br />	return 0;<br />}</p><p>It seems that the include file allegro.h can be found but I got another error:</p><p>c:\allegro\include\allegro\platform\astdint.h(30): fatal error C1083: Cannot open include file: &#39;stdint.h&#39;: No such file or directory</p><p>Where can I find this file, as far as I know it&#39;s not a C++ but a C file?<br />Do I have to install any other libraries to make allegro work?</p><p>Thanks and best wishes,<br />    Manfred
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Manfred)</author>
		<pubDate>Sun, 16 Nov 2008 20:52:04 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>stdint is part of C99, visual studio doesn&#39;t support this. Have you ran &#39;fix msvc&#39;?</p><p>If you downloaded the visual studio binaries then this should have been done.</p><p>I don&#39;t know the internals but I think if allegro doesn&#39;t have this then it uses it&#39;s own, unless you&#39;re using a later version of allegro than I have, in which case it might be a case of the developers not testing with VS.</p><p>If all else fails, get the file listed here:<br /><a href="http://en.wikipedia.org/wiki/Stdint.h">http://en.wikipedia.org/wiki/Stdint.h</a>
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Neil Walker)</author>
		<pubDate>Sun, 16 Nov 2008 21:11:58 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I added the MinGW includes to the include search path. Now all files are found but I got another problem:</p><p>C:\Programme\MinGW\include\stdlib.h(312): error C2373: &#39;__restrict__&#39;: Redefinition; different modifiers</p><p>I don&#39;t expect stdlib.h to contain an error. Or are the includes in MinGW different from them Allegro wants?
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Manfred)</author>
		<pubDate>Sun, 16 Nov 2008 21:38:34 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Don&#39;t include mingw if you&#39;re compiling with msvc.</p><p>Assuming you&#39;ve run &#39;fix msvc&#39;, just download the file I mentioned which is linked from wikipedia and stick that in your include path. All allegro wants with that file is the size of types I think.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Neil Walker)</author>
		<pubDate>Sun, 16 Nov 2008 21:47:02 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I tried &#39;fix mingw32&#39; and using gcc what also didn&#39;t help.</p><p>When I entered &#39;fix msvc7 --crlf&#39; at first the file &quot;mspdb80.dll&quot; wasn&#39;t found. So I downloaded it and copied it to C:\WINDOWS\systen32 and this error didn&#39;t occur anymore. But there are still other errors:</p><p>C:\allegro&gt;fix msvc7 --crlf<br />Configuring Allegro for Windows/MSVC7...<br />Your MSVCDir environment variable is not set!<br />Converting MSVCDir path...<br />msvchelp: Given argument does not correspond to any enviroment variable name!<br />Converting Allegro files to DOS CR/LF format...<br />Der Befehl &quot;utod&quot; ist entweder falsch geschrieben oder<br />konnte nicht gefunden werden.<br />Der Befehl &quot;utod&quot; ist entweder falsch geschrieben oder<br />konnte nicht gefunden werden.<br />Done!</p><p>It says that my MSVCDir environment variable isn&#39;t set so i added a variable called MSVCDir to the env. vars and defined it as my VC2003.net installation directory. This didn&#39;t change anything, the error still occured.<br />It also says that the command &quot;utod&quot; is spelled incorrectly or wasn&#39;t found.</p><p>I also downloded the files stdint.h and inttypes.h. I tried the MS specific ones as well as the cross platform but neither the first nor the second worked.</p><p>I tried to complie the file using gcc but this also wasn&#39;t successful.</p><p>C:\Dokumente und Einstellungen\Privat\Desktop&gt;gcc Kpt8_5.cpp -o Kpt8_5.exe<br />C:/Programme/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../libmingw32.a(main.o):ma<br />in.c:(.text+0x104): undefined reference to `WinMain@16&#39;<br />collect2: ld returned 1 exit status</p><p>What can I do to make Allegro work:&#39;(?
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Manfred)</author>
		<pubDate>Sun, 16 Nov 2008 22:29:16 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Within the group created by visual studio there is a &#39;visual studio command prompt&#39;. Run this instead of your normal command window and all will be set.</p><p>Alternatively, in your dos box, enter &#39;vcvars32&#39; or &#39;vsvars32&#39; to do the same.</p><p>But if you&#39;ve got msvc allegro build from the files section of this site then you don&#39;t have to do any of this.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Neil Walker)</author>
		<pubDate>Sun, 16 Nov 2008 23:52:25 +0000</pubDate>
	</item>
</rss>
