<?xml version="1.0"?>
<rss version="2.0">
	<channel>
		<title>Again with 4.9.5 on Windows using Visual Studio 9 2008</title>
		<link>http://www.allegro.cc/forums/view/597885</link>
		<description>Allegro.cc Forum Thread</description>
		<webMaster>matthew@allegro.cc (Matthew Leverton)</webMaster>
		<lastBuildDate>Tue, 07 Oct 2008 05:52:10 +0000</lastBuildDate>
	</channel>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Building Allegro 4.9.5 for visual studio 2008 (visual studio 9)<br />My problems so far...Any help?!?</p><p>Actions performed:</p><p>copyed zlib/include/* to visual studio/vc/include<br />copyed zlib/lib/* to visual studio/vc/lib</p><p>copyed libpng/include/* to visual studio/vc/include<br />copyed libpng/lib/* to visual studio/vc/lib</p><p>copyed program files/gnuw32/include/freetype/* to visual studio/vc/include<br />copyed program files/gnuw32/lib/freetype/* to visual studio/vc/lib</p><p>copyed libvorbis/include/* to visual studio/vc/include<br />copyed libvorbis/lib/* to visual studio/vc/lib</p><p>copyed libogg/include/* to visual studio/vc/include<br />copyed libogg/lib/* to visual studio/vc/lib</p><p>copyed msdk (august 2007)/include/* to visual studio/vc/include<br />copyed msdk (august 2007)/lib/x86/* to visual studio/vc/lib</p><p>ran visual studio command prompt (which set the build environment)<br />cd\allegro\4.9.5<br />mkdir build<br />cd build<br />cmake -G &quot;Visual Studio 9 2008&quot; ../</p><p><a href="http://www.allegro.cc/files/attachment/596635">Results from cmake</a>. (Had to attach the output because the total is too big for posting...:()</p><p>cmake generates the allegro.sln file<br />load the allegro.sln file<br />select the Release configuration<br />build</p><p><a href="http://www.allegro.cc/files/attachment/596634">Build results</a>. (Had to attach because it was too large to post...:()</p><p>Any suggestions?!? <img src="http://www.allegro.cc/forums/smileys/sad.gif" alt=":(" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Don Freeman)</author>
		<pubDate>Sun, 05 Oct 2008 08:02:16 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Don, do you have the latest version of CMake that includes &quot;cmake-gui.exe&quot;?  If you do, that&#39;s how I&#39;ve been doing it every time I compile Allegro.  I get a nice graphical thing that shows what I can have and what I need, and then make it generate the makefile (I use the MinGW makefile, but it lets you choose whichever makefile you want, like for MSVC).  Even though I&#39;ve got MSVC on this laptop, I rarely use it for non-work projects (like Allegro-related), so I&#39;m not much help there.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (OnlineCop)</author>
		<pubDate>Sun, 05 Oct 2008 09:35:41 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I&#39;ll try that next...I compiled all of allegro again, this time I got 200 projects to build correctly, but it is still not correct! <img src="http://www.allegro.cc/forums/smileys/sad.gif" alt=":(" /> When trying to compile &quot;Monday&quot; with the version of allegro that I WAS able to compile, I get:
</p><div class="source-code"><div class="toolbar"></div><div class="inner"><table width="100%"><tbody><tr><td class="number">1</td><td>Linking...</td></tr><tr><td class="number">2</td><td>Animation.obj <span class="k2">:</span> error LNK2001: unresolved external symbol __imp__al_get_bitmap_width</td></tr><tr><td class="number">3</td><td>Animation.obj <span class="k2">:</span> error LNK2001: unresolved external symbol __imp__al_draw_rotated_scaled_bitmap</td></tr><tr><td class="number">4</td><td>Animation.obj <span class="k2">:</span> error LNK2001: unresolved external symbol __imp__al_destroy_bitmap</td></tr><tr><td class="number">5</td><td>Animator.obj <span class="k2">:</span> error LNK2001: unresolved external symbol __imp__al_iio_load</td></tr><tr><td class="number">6</td><td>Entity.obj <span class="k2">:</span> error LNK2001: unresolved external symbol __imp__al_map_rgb</td></tr><tr><td class="number">7</td><td>Entity.obj <span class="k2">:</span> error LNK2001: unresolved external symbol __imp__al_draw_rectangle</td></tr><tr><td class="number">8</td><td>Game.obj <span class="k2">:</span> error LNK2001: unresolved external symbol __imp__al_set_new_display_flags</td></tr><tr><td class="number">9</td><td>Game.obj <span class="k2">:</span> error LNK2001: unresolved external symbol __imp__al_flip_display</td></tr><tr><td class="number">10</td><td>Game.obj <span class="k2">:</span> error LNK2001: unresolved external symbol __imp__al_get_next_event</td></tr><tr><td class="number">11</td><td>Game.obj <span class="k2">:</span> error LNK2001: unresolved external symbol __imp__al_destroy_event_queue</td></tr><tr><td class="number">12</td><td>Game.obj <span class="k2">:</span> error LNK2001: unresolved external symbol __imp__al_register_event_source</td></tr><tr><td class="number">13</td><td>Game.obj <span class="k2">:</span> error LNK2001: unresolved external symbol __imp__al_clear</td></tr><tr><td class="number">14</td><td>Game.obj <span class="k2">:</span> error LNK2001: unresolved external symbol __imp__al_font_init</td></tr><tr><td class="number">15</td><td>Game.obj <span class="k2">:</span> error LNK2001: unresolved external symbol __imp__al_create_event_queue</td></tr><tr><td class="number">16</td><td>Game.obj <span class="k2">:</span> error LNK2001: unresolved external symbol __imp__al_get_keyboard</td></tr><tr><td class="number">17</td><td>Game.obj <span class="k2">:</span> error LNK2001: unresolved external symbol __imp__al_create_display</td></tr><tr><td class="number">18</td><td>Game.obj <span class="k2">:</span> error LNK2001: unresolved external symbol __imp__al_install_system</td></tr><tr><td class="number">19</td><td>Game.obj <span class="k2">:</span> error LNK2001: unresolved external symbol __imp__al_ttf_load_font</td></tr><tr><td class="number">20</td><td>Game.obj <span class="k2">:</span> error LNK2001: unresolved external symbol __imp__al_iio_init</td></tr><tr><td class="number">21</td><td>Game.obj <span class="k2">:</span> error LNK2001: unresolved external symbol __imp__al_destroy_display</td></tr><tr><td class="number">22</td><td>Game.obj <span class="k2">:</span> error LNK2001: unresolved external symbol __imp__al_install_keyboard</td></tr><tr><td class="number">23</td><td>Game.obj <span class="k2">:</span> error LNK2001: unresolved external symbol __imp__al_current_time</td></tr><tr><td class="number">24</td><td>Game.obj <span class="k2">:</span> error LNK2001: unresolved external symbol __imp__al_rest</td></tr><tr><td class="number">25</td><td>Gui.obj <span class="k2">:</span> error LNK2001: unresolved external symbol __imp___ustrdup</td></tr><tr><td class="number">26</td><td>Gui.obj <span class="k2">:</span> error LNK2001: unresolved external symbol __imp__al_map_rgba_f</td></tr><tr><td class="number">27</td><td>Gui.obj <span class="k2">:</span> error LNK2001: unresolved external symbol __imp__al_font_textout_centre</td></tr><tr><td class="number">28</td><td>Gui.obj <span class="k2">:</span> error LNK2001: unresolved external symbol __imp__al_set_blender</td></tr><tr><td class="number">29</td><td>Keyboard_menu.obj <span class="k2">:</span> error LNK2001: unresolved external symbol __imp__al_keycode_to_name</td></tr><tr><td class="number">30</td><td>Keyboard_menu.obj <span class="k2">:</span> error LNK2001: unresolved external symbol __imp__al_font_textout</td></tr><tr><td class="number">31</td><td>Keyboard_menu.obj <span class="k2">:</span> error LNK2001: unresolved external symbol __imp__al_get_display_height</td></tr><tr><td class="number">32</td><td>Keyboard_menu.obj <span class="k2">:</span> error LNK2001: unresolved external symbol __imp__al_get_display_width</td></tr><tr><td class="number">33</td><td>Keyboard_menu.obj <span class="k2">:</span> error LNK2001: unresolved external symbol __imp__al_key_down</td></tr><tr><td class="number">34</td><td>Keyboard_menu.obj <span class="k2">:</span> error LNK2001: unresolved external symbol __imp__al_get_keyboard_state</td></tr><tr><td class="number">35</td><td>Tileset.obj <span class="k2">:</span> error LNK2001: unresolved external symbol __imp__al_draw_bitmap_region</td></tr><tr><td class="number">36</td><td>Tileset.obj <span class="k2">:</span> error LNK2001: unresolved external symbol __imp__al_get_bitmap_height</td></tr><tr><td class="number">37</td><td>C:\Users\Don\Desktop\Programming\Visual Studio <span class="n">2008</span>\Monday\Release\Monday.exe <span class="k2">:</span> fatal error LNK1120: <span class="n">35</span> unresolved externals</td></tr><tr><td class="number">38</td><td>Build <a href="http://www.delorie.com/djgpp/doc/libc/libc_542.html" target="_blank">log</a> was saved at <span class="s">"file://c:\Users\Don\Desktop\Programming\Visual Studio 2008\Monday\Monday\Release\BuildLog.htm"</span></td></tr><tr><td class="number">39</td><td>Monday <span class="k3">-</span> <span class="n">36</span> error<span class="k2">(</span>s<span class="k2">)</span>, <span class="n">0</span> warning<span class="k2">(</span>s<span class="k2">)</span></td></tr><tr><td class="number">40</td><td><span class="k3">=</span><span class="k3">=</span><span class="k3">=</span><span class="k3">=</span><span class="k3">=</span><span class="k3">=</span><span class="k3">=</span><span class="k3">=</span><span class="k3">=</span><span class="k3">=</span> Build: <span class="n">0</span> succeeded, <span class="n">1</span> failed, <span class="n">0</span> up-to-date, <span class="n">0</span> skipped <span class="k3">=</span><span class="k3">=</span><span class="k3">=</span><span class="k3">=</span><span class="k3">=</span><span class="k3">=</span><span class="k3">=</span><span class="k3">=</span><span class="k3">=</span><span class="k3">=</span></td></tr></tbody></table></div></div><p>
Looks like it is looking for symbols in the allegro lib that it can&#39;t find...I use these for the libs, so I know it is there:
</p><div class="source-code snippet"><div class="inner"><pre>$<span class="k2">(</span>NOINHERIT<span class="k2">)</span> kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib a5_font_s.lib a5_iio_s.lib a5_acodec_s.lib kcm_audio_s.lib alleg_s-4.9.5.lib libpng.lib zdll.lib vorbisfile.lib vorbis.lib ogg.lib dsound.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib ole32.lib dinput8.lib dxguid.lib winmm.lib d3d9.lib opengl32.lib glu32.lib lua5.1.lib
</pre></div></div><p>
I am SOOOOOO frustrated! I remember when allegro was just a simple fix and then make. Arghhh!:-/</p><p>Don&#39;t know if it&#39;s the same thing, but I&#39;ve used the little icon for cmake. It gives me a gui...and I&#39;ve set all the directories by hand and still...same crap!:(
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Don Freeman)</author>
		<pubDate>Sun, 05 Oct 2008 10:02:43 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title">Quote:</div><div class="quote"><p>
I remember when allegro was just a simple fix and then make.
</p></div></div><p>
You have to remember one thing: you&#39;re using a work-in-progress release that&#39;s bound to have flaws and problems. The build system is a little rough, but things are improving by leaps and bounds.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Evert)</author>
		<pubDate>Sun, 05 Oct 2008 10:54:46 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I know...I can get (or at least I believe) a static system built ok, but there seems to be something with the shared build that it doesn&#39;t like. 4.9.3 was ok for me...just no a5_iio and such. <img src="http://www.allegro.cc/forums/smileys/sad.gif" alt=":(" /></p><p>Also:<br />I think allegro has issues with opengl and ati chipsets. See <a href="http://www.allegro.cc/forums/thread/597566/774276#target">this</a>.:o
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Don Freeman)</author>
		<pubDate>Sun, 05 Oct 2008 12:03:45 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title">Quote:</div><div class="quote"><p>
I think allegro has issues with opengl and ati chipsets. See this.
</p></div></div><p>
It seems to work fine on my Mac. That&#39;s not to say it&#39;ll work the same in Linux though (despite the OpenGL driver being shared across platforms); ATi cards tend to be horribly broken in my experience, and I&#39;m not alone.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Evert)</author>
		<pubDate>Sun, 05 Oct 2008 18:00:14 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I would agree...my only beef with nVidia was <a href="http://apcmag.com/nvidia_sued_chips_and_tempers_run_hot.htm">this</a> and the fact that their drivers do not work correctly with the new X11...well, it&#39;s not really &quot;standardized&quot; yet..so I can&#39;t really blame them for that one, but I&#39;ve never experienced anything like that myself. I believe I&#39;ve only had two ATI cards...my first computer (HP...hey I was young and dumb), and this laptop. I&#39;ve never bought one itset. I&#39;ve always liked nVidia. I heard they where the only one with an opengl 3.0. I haven&#39;t seen it though...
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Don Freeman)</author>
		<pubDate>Sun, 05 Oct 2008 20:36:33 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Funny, I&#39;ve had nothing but problems with new Nvidia cards... and my new ATI card &quot;just works&quot;. ATI even supports XRandR 1.2 now, and nvidia has no ETA for that. ATI is even going to support full hardware (UVD) video decoding soon, and nvidia will likely never support that on linux desktops.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Thomas Fjellstrom)</author>
		<pubDate>Mon, 06 Oct 2008 00:59:34 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I would prefer an nvidia card, but it looks like (at least for awhile) that ati is the way to go for linux support.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Don Freeman)</author>
		<pubDate>Mon, 06 Oct 2008 01:37:05 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>When you link to static version of allegro (and you do) you must define ALLEGRO_STATIC preprocessor symbol.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Milan Mimica)</author>
		<pubDate>Mon, 06 Oct 2008 11:25:09 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>This is the preprocessor defines I have for the release version:
</p><div class="source-code snippet"><div class="inner"><pre>WIN32,_WINDOWS,NDEBUG,ALLEGRO_STATICLINK,_CRT_SECURE_NO_DEPRECATE,_CRT_NONSTDC_NO_DEPRECATE
</pre></div></div><p>
I get the &quot;Monday&quot; Project to compile with no errors or warnings, but I get a:
</p><div class="source-code snippet"><div class="inner"><pre>loading: media<span class="k3">/</span>Gryphon_fly_u1.png
libpng error: <span class="n">0</span>
</pre></div></div><p>
or sometimes I get:
</p><div class="source-code snippet"><div class="inner"><pre>loading: media<span class="k3">/</span>Gryphon_fly_u1.png
libpng error: Invalid image color type specified
</pre></div></div><p>
This is weird...it is in the same place, and the data has not moved.:o<br />See <a href="http://www.allegro.cc/forums/thread/597893">this</a> thread as well...:-/</p><p>I found and fixed the problems: One was with the libpng12.dll I had and the rest of the problems where with the end of lines under windows. Maybe we should be defaulting to the windows style end of lines, because I believe under Linux, the extra cr is not a problem.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Don Freeman)</author>
		<pubDate>Mon, 06 Oct 2008 20:27:27 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title">Quote:</div><div class="quote"><p>
I believe under Linux, the extra cr is not a problem.
</p></div></div><p>It is, its binary garbage in a text file. Just code your text reading functions to always open in binary mode and detect all three line ending formats (windows: \r\n, unix: \n, MAC: \r).
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Thomas Fjellstrom)</author>
		<pubDate>Tue, 07 Oct 2008 02:21:32 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title">Quote:</div><div class="quote"><p>
It is, its binary garbage in a text file. Just code your text reading functions to always open in binary mode and detect all three line ending formats (windows: \r\n, unix: \n, MAC: \r).
</p></div></div><p>
Thanks for the info! <img src="http://www.allegro.cc/forums/smileys/smiley.gif" alt=":)" /> I will look at the loading code for &quot;Monday&quot; and see what I can do. <img src="http://www.allegro.cc/forums/smileys/tongue.gif" alt=":P" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Don Freeman)</author>
		<pubDate>Tue, 07 Oct 2008 05:52:10 +0000</pubDate>
	</item>
</rss>
