Looks like the first build-step of generating the amqp_framing.h and amqp_framing.c is failing. Do you have python installed on the machine you're building on?<div><div><br></div><div>-Alan</div><div><br></div><div>PS: Both nmake and msbuild are a part of VS2010. (NMake is Microsoft's version of a makefile, msbuild is a way to build a vsproj, or sln file from the command line without launching visual studio).<br>
<br><div class="gmail_quote">On Wed, Oct 31, 2012 at 10:42 PM, Tinashe <span dir="ltr"><<a href="mailto:tinashechipomho@gmail.com" target="_blank">tinashechipomho@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I followed all the instructions up to this point:<br><br><p>Build it:</p>
<ul><li>On linux: <code>make</code>
</li><li>On win32: <code>nmake</code> or <code>msbuild</code>, or open it in visual studio and
build from there</li></ul>Is nmake or msbuild part of the VS2010? A bunch of projects have been created that I manage to open with VS C++ 2010, when I try to compile I got the following errors:<br><br>1>------ Build started: Project: ZERO_CHECK, Configuration: Debug Win32 ------<br>
2>------ Build started: Project: rabbitmq, Configuration: Debug Win32 ------<br>2> Building Custom Rule C:/development/cpp/rabbitmq-c/librabbitmq/CMakeLists.txt<br>2> CMake does not need to re-run because C:\development\cpp\bin-rabbitmq-c\librabbitmq\CMakeFiles\generate.stamp is up-to-date.<br>
2> Generating codegen.py<br>2> Generating amqp_codegen.py<br>2> At least one file or directory argument required.<br>2> Use --help to show usage.<br>2>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(151,5): error MSB6006: "cmd.exe" exited with code 2.<br>
3>------ Build started: Project: test_parse_url, Configuration: Debug Win32 ------<br>4>------ Build started: Project: amqp_unbind, Configuration: Debug Win32 ------<br>5>------ Build started: Project: amqp_sendstring, Configuration: Debug Win32 ------<br>
6>------ Build started: Project: amqp_rpc_sendstring_client, Configuration: Debug Win32 ------<br>3> test_parse_url.c<br>6> amqp_rpc_sendstring_client.c<br>4> amqp_unbind.c<br>5> amqp_sendstring.c<br>3>C:\development\cpp\rabbitmq-c\librabbitmq\amqp.h(552): fatal error C1083: Cannot open include file: 'amqp_framing.h': No such file or directory<br>
4>C:\development\cpp\rabbitmq-c\librabbitmq\amqp.h(552): fatal error C1083: Cannot open include file: 'amqp_framing.h': No such file or directory<br>6>C:\development\cpp\rabbitmq-c\librabbitmq\amqp.h(552): fatal error C1083: Cannot open include file: 'amqp_framing.h': No such file or directory<br>
4> utils.c<br>6> utils.c<br>5>C:\development\cpp\rabbitmq-c\librabbitmq\amqp.h(552): fatal error C1083: Cannot open include file: 'amqp_framing.h': No such file or directory<br>5> utils.c<br>4>C:\development\cpp\rabbitmq-c\librabbitmq\amqp.h(552): fatal error C1083: Cannot open include file: 'amqp_framing.h': No such file or directory<br>
6>C:\development\cpp\rabbitmq-c\librabbitmq\amqp.h(552): fatal error C1083: Cannot open include file: 'amqp_framing.h': No such file or directory<br>4> Generating Code...<br>7>------ Build started: Project: amqp_producer, Configuration: Debug Win32 ------<br>
6> Generating Code...<br>5>C:\development\cpp\rabbitmq-c\librabbitmq\amqp.h(552): fatal error C1083: Cannot open include file: 'amqp_framing.h': No such file or directory<br>5> Generating Code...<br>8>------ Build started: Project: amqp_listenq, Configuration: Debug Win32 ------<br>
7> amqp_producer.c<br>9>------ Build started: Project: amqp_listen, Configuration: Debug Win32 ------<br>8> amqp_listenq.c<br>7>C:\development\cpp\rabbitmq-c\librabbitmq\amqp.h(552): fatal error C1083: Cannot open include file: 'amqp_framing.h': No such file or directory<br>
7> utils.c<br>8>C:\development\cpp\rabbitmq-c\librabbitmq\amqp.h(552): fatal error C1083: Cannot open include file: 'amqp_framing.h': No such file or directory<br>8> utils.c<br>7>C:\development\cpp\rabbitmq-c\librabbitmq\amqp.h(552): fatal error C1083: Cannot open include file: 'amqp_framing.h': No such file or directory<br>
7> Generating Code...<br>8>C:\development\cpp\rabbitmq-c\librabbitmq\amqp.h(552): fatal error C1083: Cannot open include file: 'amqp_framing.h': No such file or directory<br>8> Generating Code...<br>10>------ Build started: Project: amqp_exchange_declare, Configuration: Debug Win32 ------<br>
9> amqp_listen.c<br>9>C:\development\cpp\rabbitmq-c\librabbitmq\amqp.h(552): fatal error C1083: Cannot open include file: 'amqp_framing.h': No such file or directory<br>9> utils.c<br>11>------ Build started: Project: amqp_consumer, Configuration: Debug Win32 ------<br>
9>C:\development\cpp\rabbitmq-c\librabbitmq\amqp.h(552): fatal error C1083: Cannot open include file: 'amqp_framing.h': No such file or directory<br>10> amqp_exchange_declare.c<br>9> Generating Code...<br>
10>C:\development\cpp\rabbitmq-c\librabbitmq\amqp.h(552): fatal error C1083: Cannot open include file: 'amqp_framing.h': No such file or directory<br>10> utils.c<br>12>------ Build started: Project: amqp_bind, Configuration: Debug Win32 ------<br>
10>C:\development\cpp\rabbitmq-c\librabbitmq\amqp.h(552): fatal error C1083: Cannot open include file: 'amqp_framing.h': No such file or directory<br>10> Generating Code...<br>13>------ Build started: Project: test_tables, Configuration: Debug Win32 ------<br>
11> amqp_consumer.c<br>11>C:\development\cpp\rabbitmq-c\librabbitmq\amqp.h(552): fatal error C1083: Cannot open include file: 'amqp_framing.h': No such file or directory<br>11> utils.c<br>12> amqp_bind.c<br>
11>C:\development\cpp\rabbitmq-c\librabbitmq\amqp.h(552): fatal error C1083: Cannot open include file: 'amqp_framing.h': No such file or directory<br>12>C:\development\cpp\rabbitmq-c\librabbitmq\amqp.h(552): fatal error C1083: Cannot open include file: 'amqp_framing.h': No such file or directory<br>
11> Generating Code...<br>12> utils.c<br>13> test_tables.c<br>12>C:\development\cpp\rabbitmq-c\librabbitmq\amqp.h(552): fatal error C1083: Cannot open include file: 'amqp_framing.h': No such file or directory<br>
12> Generating Code...<br>13>C:\development\cpp\rabbitmq-c\librabbitmq\amqp.h(552): fatal error C1083: Cannot open include file: 'amqp_framing.h': No such file or directory<br>14>------ Build started: Project: ALL_BUILD, Configuration: Debug Win32 ------<br>
14> Build all projects<br>========== Build: 2 succeeded, 12 failed, 0 up-to-date, 0 skipped ==========<div class="im"><br><br><br><br><br><br>On Thursday, November 1, 2012 3:00:58 AM UTC+11, Alan Antonuk wrote:</div><blockquote class="gmail_quote" style="margin:0;margin-left:0.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">Check the rabbitmq-c README.md file:<div><br></div><div><a href="https://github.com/alanxz/rabbitmq-c/blob/master/README.md" target="_blank">https://github.com/alanxz/<u></u>rabbitmq-c/blob/master/README.<u></u>md</a></div>
<div><br></div><div>Follow the instructions for building with CMake</div>
<div><br></div></div><div>-Alan<br><br><div class="gmail_quote"><div class="im">On Wed, Oct 31, 2012 at 8:06 AM, Tinashe <span dir="ltr"><<a>tinashe...@gmail.com</a>></span> wrote:<br>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">Can someone just give me a step by step guide to compile the c++ client in Visual Studio, what I want to do is make a dll in VS C++ 2010.<br>
<br>______________________________<u></u>_________________<br>
rabbitmq-discuss mailing list<br>
</div><a>rabbitmq...@lists.<u></u>rabbitmq.com</a><br>
<a href="https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss" target="_blank">https://lists.rabbitmq.com/<u></u>cgi-bin/mailman/listinfo/<u></u>rabbitmq-discuss</a><br>
<br></blockquote></div><br></div>
</blockquote><br>_______________________________________________<br>
rabbitmq-discuss mailing list<br>
<a href="mailto:rabbitmq-discuss@lists.rabbitmq.com">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></div>