Did you follow the directions in the README.md (<a href="https://github.com/alanxz/rabbitmq-c/blob/master/README.md">https://github.com/alanxz/rabbitmq-c/blob/master/README.md</a>)?<div><br></div><div>I suspect you didn&#39;t do the git submodule init and git submodule update steps (which is why you get the Error copying file /amqp_codegen.py error)</div>
<div><br></div><div>The unresolved externals look like they&#39;re from rabbitcpp. �You sure you&#39;re linking your executable with the rabbitcpp library?</div><div><br></div><div>-Alan<br><br><div class="gmail_quote">On Sun, Jun 24, 2012 at 12:43 PM, Kamran Afridi <span dir="ltr">&lt;<a href="mailto:muhammad.kamrana@gmail.com" target="_blank">muhammad.kamrana@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>Hi Alan,</div><div>� � � � �I was able to use CMAKE (where source code: librabbitmq and build binaries: my project folder). These are the errors I get, and also there is visual studio file &quot;ALL BUILD&quot; when I try running that it gives me:<i> &quot;Error copying file &quot;/amqp_codegen.py&quot; to &quot;C:/Users/kamran/Documents/Visual Studio 2010/Projects/AMQP2/amqp_codegen.py&quot;.&quot;</i></div>

<div><br></div><div>Sorry for being a newbie.</div><div><br></div><div>: unresolved external symbol &quot;public: class std::basic_string&lt;char,struct std::char_traits&lt;char&gt;,class std::allocator&lt;char&gt; &gt; __thiscall AMQPException::getMessage(void)&quot; (?getMessage@AMQPException@@QAE?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@XZ) referenced in function __catch$_main$0</div>

<div><br></div><div>1&gt;c.obj : error LNK2019: unresolved external symbol &quot;public: void __thiscall AMQPExchange::setHeader(char const *,int)&quot; (?setHeader@AMQPExchange@@QAEXPBDH@Z) referenced in function _main</div>

<div><br></div><div>1&gt;c.obj : error LNK2019: unresolved external symbol &quot;public: void __thiscall AMQPQueue::Bind(char const *,char const *)&quot; (?Bind@AMQPQueue@@QAEXPBD0@Z) referenced in function _main</div><div>

<br></div><div>1&gt;c.obj : error LNK2019: unresolved external symbol &quot;public: void __thiscall AMQPQueue::Declare(void)&quot; (?Declare@AMQPQueue@@QAEXXZ) referenced in function _main</div><div><br></div><div>LNK1120: 12 unresolved externals</div>

<div><br></div><div>Though compiler is not showing amqp_framing error.</div><div><br></div><div>Thanks!</div><span class="HOEnZb"><font color="#888888"><div><br></div><div>Kamran</div></font></span><div class="HOEnZb"><div class="h5">
<br><div class="gmail_quote">On Sun, Jun 24, 2012 at 5:12 PM, Alan Antonuk <span dir="ltr">&lt;<a href="mailto:alan.antonuk@gmail.com" target="_blank">alan.antonuk@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>Somewhat obvious question: is amqp_framing.h in one of those two directories you set as an include?</div><div><br>

</div>If you&#39;re building rabbitmq-c on Win32 (doesn&#39;t matter which version) I would highly recommend using the CMake-based build to build it correctly.<div>
<br></div><div>-Alan<br><br><div class="gmail_quote">On Sun, Jun 24, 2012 at 8:56 AM, Kamran <span dir="ltr">&lt;<a href="mailto:muhammad.kamrana@gmail.com" target="_blank">muhammad.kamrana@gmail.com</a>&gt;</span> wrote:<br>


<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">And I am using windows vista.<br>_______________________________________________<br>
rabbitmq-discuss mailing list<br>
<a href="mailto:rabbitmq-discuss@lists.rabbitmq.com" target="_blank">rabbitmq-discuss@lists.rabbitmq.com</a><br>
<a href="https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss" target="_blank">https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br>
</div></div></blockquote></div><br></div>