<?xml version="1.0"?>
<rss version="2.0">
	<channel>
		<title>Allegavi problem!</title>
		<link>http://www.allegro.cc/forums/view/597005</link>
		<description>Allegro.cc Forum Thread</description>
		<webMaster>matthew@allegro.cc (Matthew Leverton)</webMaster>
		<lastBuildDate>Fri, 11 Jul 2008 20:32:42 +0000</lastBuildDate>
	</channel>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>hi, I have follow this guide.</p><p><a href="http://oginer.webcindario.com/allegavionlinedocs/index.html">http://oginer.webcindario.com/allegavionlinedocs/index.html</a></p><p>I use mingw32 to compile.<br />&gt;mingw32-make<br />Making AllegAVI for Mingw32...<br />Library created! Now type &#39;make install&#39; to install it</p><p>&gt;mingw32-make install<br />        1 file(s) copied.<br />        1 file(s) copied.<br />        1 file(s) copied.<br />AllegAVI library installed!</p><p>I think it was installed success and when I open my codeblock to test it. I make link by use build option and</p><p>in link setting tab I add<br />...\Allegavi\lib\mingw\liballegavi.a</p><p>in search directory I add<br />...\Allegavi\include</p><p>and then I make file .cpp like this</p><p>#include &lt;allegro.h&gt;<br />#include &lt;winalleg.h&gt;<br />#include &quot;allegavi.h&quot;</p><p>using namespace std;</p><p>int main(){<br />.............................</p><p>AllegAVI avi;<br />.............................<br />}END_OF_MAIN()</p><p>when I compile it show me ugly error!</p><p>allegavi.cpp||undefined reference to `DrawDibStop@4&#39;|<br />allegavi.cpp||undefined reference to `DrawDibClose@4&#39;|<br />allegavi.cpp||undefined reference to `remove_param_int&#39;|<br />allegavi.cpp||undefined reference to `stop_audio_stream&#39;|<br />allegavi.cpp||undefined reference to `free_audio_stream_buffer&#39;|<br />allegavi.cpp||undefined reference to `get_audio_stream_buffer&#39;|<br />allegavi.cpp||undefined reference to `AVIStreamRead@28&#39;|<br />allegavi.cpp||undefined reference to `get_audio_stream_buffer&#39;|<br />allegavi.cpp||undefined reference to `get_audio_stream_buffer&#39;|<br />allegavi.cpp||undefined reference to `AVIStreamRead@28&#39;|<br />allegavi.cpp||undefined reference to `play_audio_stream&#39;|<br />allegavi.cpp||undefined reference to `install_param_int&#39;|<br />allegavi.cpp||undefined reference to `DrawDibOpen@0&#39;|<br />allegavi.cpp||undefined reference to `DrawDibStart@8&#39;|<br />allegavi.cpp||undefined reference to `DrawDibBegin@32&#39;|<br />allegavi.cpp||undefined reference to `DrawDibOpen@0&#39;|<br />allegavi.cpp||undefined reference to `install_param_int&#39;|<br />allegavi.cpp||undefined reference to `create_system_bitmap&#39;|<br />allegavi.cpp||undefined reference to `DrawDibStart@8&#39;|<br />allegavi.cpp||undefined reference to `DrawDibBegin@32&#39;|<br />allegavi.cpp||undefined reference to `remove_param_int&#39;|<br />allegavi.cpp||undefined reference to `stop_audio_stream&#39;|<br />allegavi.cpp||undefined reference to `play_audio_stream&#39;|<br />allegavi.cpp||undefined reference to `win_get_dc&#39;|<br />allegavi.cpp||undefined reference to `DrawDibDraw@52&#39;|<br />allegavi.cpp||undefined reference to `get_audio_stream_buffer&#39;|<br />allegavi.cpp||undefined reference to `AVIStreamRead@28&#39;|<br />allegavi.cpp||undefined reference to `free_audio_stream_buffer&#39;|<br />allegavi.cpp||undefined reference to `win_release_dc&#39;|<br />avifile.cpp||undefined reference to `AVIFileInit@0&#39;|<br />avifile.cpp||undefined reference to `AVIFileInit@0&#39;|<br />avifile.cpp||undefined reference to `AVIStreamRelease@4&#39;|<br />avifile.cpp||undefined reference to `AVIStreamRelease@4&#39;|<br />avifile.cpp||undefined reference to `AVIFileRelease@4&#39;|<br />avifile.cpp||undefined reference to `AVIFileExit@0&#39;|<br />avifile.cpp||undefined reference to `AVIFileExit@0&#39;|<br />avifile.cpp||undefined reference to `AVIFileExit@0&#39;|<br />avifile.cpp||undefined reference to `AVIFileGetStream@16&#39;|<br />avifile.cpp||undefined reference to `AVIFileGetStream@16&#39;|<br />avifile.cpp||undefined reference to `AVIStreamStart@4&#39;|<br />avifile.cpp||undefined reference to `AVIStreamReadFormat@16&#39;|<br />avifile.cpp||undefined reference to `AVIStreamStart@4&#39;|<br />avifile.cpp||undefined reference to `AVIStreamReadFormat@16&#39;|<br />avifile.cpp||undefined reference to `AVIStreamStart@4&#39;|<br />avifile.cpp||undefined reference to `AVIStreamReadFormat@16&#39;|<br />avifile.cpp||undefined reference to `AVIStreamStart@4&#39;|<br />avifile.cpp||undefined reference to `AVIStreamReadFormat@16&#39;|<br />avifile.cpp||undefined reference to `AVIFileOpenA@16&#39;|<br />avifile.cpp||undefined reference to `AVIStreamRead@28&#39;|<br />avifile.cpp||undefined reference to `AVIStreamRead@28&#39;|<br />||More errors follow but not being shown.|<br />||Edit the max errors limit in compiler options...|<br />||=== Build finished: 50 errors, 0 warnings ===|</p><p>but when I comment AllegAVI avi; it work normally. what I&#39;m doing wrong???:&#39;(
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Testarossa)</author>
		<pubDate>Fri, 11 Jul 2008 18:32:06 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>You have to link with allegro, -lalleg, and probably some avi library too.</p><div class="quote_container"><div class="title">the guide said:</div><div class="quote"><p>

    Note: MinGW Video for Windows support is broken. It doesn&#39;t contain the needed headers (using MSVC headers seems to work), and the libvfw32.a import library is broken. You should download MingW VFW package at <a href="http://oginer.webcindario.com/files/vfw32_mingw.zip">http://oginer.webcindario.com/files/vfw32_mingw.zip</a><br />...<br />If you&#39;re using MinGW, you must link with<br />-lallegavi -lvfw_avi32 -lvfw_cap32 -lvfw_ms32 -lalleg -lstdc++<br />Order does matter!
</p></div></div><p>
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (kazzmir)</author>
		<pubDate>Fri, 11 Jul 2008 19:43:24 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>ya, I forget this line thank you very much;D
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Testarossa)</author>
		<pubDate>Fri, 11 Jul 2008 20:32:42 +0000</pubDate>
	</item>
</rss>
