[rabbitmq-discuss] librabbitmq c++ client in VS C++2010

Alan Antonuk alan.antonuk at gmail.com
Thu Nov 1 14:15:19 GMT 2012


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?

-Alan

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).

On Wed, Oct 31, 2012 at 10:42 PM, Tinashe <tinashechipomho at gmail.com> wrote:

> I followed all the instructions up to this point:
>
> Build it:
>
>    - On linux: make
>    - On win32: nmake or msbuild, or open it in visual studio and build
>    from there
>
> 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:
>
> 1>------ Build started: Project: ZERO_CHECK, Configuration: Debug Win32
> ------
> 2>------ Build started: Project: rabbitmq, Configuration: Debug Win32
> ------
> 2>  Building Custom Rule
> C:/development/cpp/rabbitmq-c/librabbitmq/CMakeLists.txt
> 2>  CMake does not need to re-run because
> C:\development\cpp\bin-rabbitmq-c\librabbitmq\CMakeFiles\generate.stamp is
> up-to-date.
> 2>  Generating codegen.py
> 2>  Generating amqp_codegen.py
> 2>  At least one file or directory argument required.
> 2>  Use --help to show usage.
> 2>C:\Program Files
> (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(151,5): error
> MSB6006: "cmd.exe" exited with code 2.
> 3>------ Build started: Project: test_parse_url, Configuration: Debug
> Win32 ------
> 4>------ Build started: Project: amqp_unbind, Configuration: Debug Win32
> ------
> 5>------ Build started: Project: amqp_sendstring, Configuration: Debug
> Win32 ------
> 6>------ Build started: Project: amqp_rpc_sendstring_client,
> Configuration: Debug Win32 ------
> 3>  test_parse_url.c
> 6>  amqp_rpc_sendstring_client.c
> 4>  amqp_unbind.c
> 5>  amqp_sendstring.c
> 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
> 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
> 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
> 4>  utils.c
> 6>  utils.c
> 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
> 5>  utils.c
> 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
> 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
> 4>  Generating Code...
> 7>------ Build started: Project: amqp_producer, Configuration: Debug Win32
> ------
> 6>  Generating Code...
> 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
> 5>  Generating Code...
> 8>------ Build started: Project: amqp_listenq, Configuration: Debug Win32
> ------
> 7>  amqp_producer.c
> 9>------ Build started: Project: amqp_listen, Configuration: Debug Win32
> ------
> 8>  amqp_listenq.c
> 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
> 7>  utils.c
> 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
> 8>  utils.c
> 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
> 7>  Generating Code...
> 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
> 8>  Generating Code...
> 10>------ Build started: Project: amqp_exchange_declare, Configuration:
> Debug Win32 ------
> 9>  amqp_listen.c
> 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
> 9>  utils.c
> 11>------ Build started: Project: amqp_consumer, Configuration: Debug
> Win32 ------
> 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
> 10>  amqp_exchange_declare.c
> 9>  Generating Code...
> 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
> 10>  utils.c
> 12>------ Build started: Project: amqp_bind, Configuration: Debug Win32
> ------
> 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
> 10>  Generating Code...
> 13>------ Build started: Project: test_tables, Configuration: Debug Win32
> ------
> 11>  amqp_consumer.c
> 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
> 11>  utils.c
> 12>  amqp_bind.c
> 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
> 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
> 11>  Generating Code...
> 12>  utils.c
> 13>  test_tables.c
> 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
> 12>  Generating Code...
> 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
> 14>------ Build started: Project: ALL_BUILD, Configuration: Debug Win32
> ------
> 14>  Build all projects
> ========== Build: 2 succeeded, 12 failed, 0 up-to-date, 0 skipped
> ==========
>
>
>
>
>
>
> On Thursday, November 1, 2012 3:00:58 AM UTC+11, Alan Antonuk wrote:
>
>> Check the rabbitmq-c README.md file:
>>
>> https://github.com/alanxz/**rabbitmq-c/blob/master/README.**md<https://github.com/alanxz/rabbitmq-c/blob/master/README.md>
>>
>> Follow the instructions for building with CMake
>>
>> -Alan
>>
>> On Wed, Oct 31, 2012 at 8:06 AM, Tinashe <tinashe... at gmail.com> wrote:
>>
>>> 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.
>>>
>>> ______________________________**_________________
>>> rabbitmq-discuss mailing list
>>> rabbitmq... at lists.**rabbitmq.com
>>> https://lists.rabbitmq.com/**cgi-bin/mailman/listinfo/**rabbitmq-discuss<https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss>
>>>
>>>
>>
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
> https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20121101/fbf506b8/attachment.htm>


More information about the rabbitmq-discuss mailing list