<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 "ALL BUILD" when I try running that it gives me:<i> "Error copying file "/amqp_codegen.py" to "C:/Users/kamran/Documents/Visual Studio 2010/Projects/AMQP2/amqp_codegen.py"."</i></div>
<div><br></div><div>Sorry for being a newbie.</div><div><br></div><div>: unresolved external symbol "public: class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __thiscall AMQPException::getMessage(void)" (?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>c.obj : error LNK2019: unresolved external symbol "public: void __thiscall AMQPExchange::setHeader(char const *,int)" (?setHeader@AMQPExchange@@QAEXPBDH@Z) referenced in function _main</div>
<div><br></div><div>1>c.obj : error LNK2019: unresolved external symbol "public: void __thiscall AMQPQueue::Bind(char const *,char const *)" (?Bind@AMQPQueue@@QAEXPBD0@Z) referenced in function _main</div><div>
<br></div><div>1>c.obj : error LNK2019: unresolved external symbol "public: void __thiscall AMQPQueue::Declare(void)" (?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><div><br></div><div>Kamran</div><br><div class="gmail_quote">On Sun, Jun 24, 2012 at 5:12 PM, Alan Antonuk <span dir="ltr"><<a href="mailto:alan.antonuk@gmail.com" target="_blank">alan.antonuk@gmail.com</a>></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're building rabbitmq-c on Win32 (doesn'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"><<a href="mailto:muhammad.kamrana@gmail.com" target="_blank">muhammad.kamrana@gmail.com</a>></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>