<div style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px; ">according the official web, the lib is still�<span class="Apple-style-span" style="border-collapse: separate; font-family: sans-serif; font-size: 12px; ">EXPERIMENTAL, not MATURE!</span></div>
<div style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px; "><span class="Apple-style-span" style="border-collapse: separate; font-family: sans-serif; font-size: 12px; "><br></span></div><div style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px; ">
I download codegen(<a href="http://hg.rabbitmq.com/rabbitmq-codegen/summary" target="_blank" style="color: rgb(28, 81, 168); ">http://hg.rabbitmq.com/rabbitmq-codegen</a>), config well python and simplejson, but got error below: �</div>
<div style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px; "><br></div><div style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px; ">PYTHONPATH=../codegen python ./codegen.py header ../codegen/amqp-rabbitmq-0.9.1.</div>
<div style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px; ">json amqp_framing.h</div><div style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px; ">Traceback (most recent call last):</div>
<div style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px; ">��File &quot;./codegen.py&quot;, line 636, in &lt;module&gt;</div><div style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px; ">
�� �do_main(generateHrl, generateErl)</div><div style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px; ">��File &quot;d:\lib.rabbitmq\rabbitmq-c-16e2faae8a2f\codegen\amqp_codegen.py&quot;, line 2</div>
<div style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px; ">63, in do_main</div><div style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px; ">�� �do_main_dict({&quot;header&quot;: header_fn, &quot;body&quot;: body_fn})</div>
<div style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px; ">��File &quot;d:\lib.rabbitmq\rabbitmq-c-16e2faae8a2f\codegen\amqp_codegen.py&quot;, line 2</div><div style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px; ">
98, in do_main_dict</div><div style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px; ">�� �execute(funcDict[function], sources, dest)</div><div style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px; ">
��File &quot;d:\lib.rabbitmq\rabbitmq-c-16e2faae8a2f\codegen\amqp_codegen.py&quot;, line 2</div><div style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px; ">79, in execute</div><div style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px; ">
�� �remove(out_file)</div><div style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px; ">WindowsError: [Error 32] : &#39;amqp_framing.h&#39;</div><div style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px; ">
make[2]: *** [amqp_framing.h] Error 1</div><div style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px; ">make[2]: Leaving directory `/d/lib.rabbitmq/rabbitmq-c-16e2faae8a2f/librabbitmq&#39;</div>
<div style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px; "><br></div><div style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px; ">make[1]: *** [all-recursive] Error 1</div>
<div style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px; ">make[1]: Leaving directory `/d/lib.rabbitmq/rabbitmq-c-16e2faae8a2f&#39;</div><div style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px; ">
make: *** [all] Error 2</div><br><div class="gmail_quote">2011/1/13 techabc <span dir="ltr">&lt;<a href="mailto:techabc@gmail.com">techabc@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
It troubled me compile in msvc10, both failed:<div>1) dg1sbg:�</div><div>I directly open the D:\lib.rabbitmq\dg1sbg-librabbitmq-ffd6c00\windows\build\librabbitmq\librabbitmq.sln file, after config the include dir, I �got a �missing file amqp_frame.h/.cpp error;</div>

<div>2) rabbitmq-c-16e2faae8a2f :�</div><div><div>My vc10 installed at D:\Program Files @ windows 7 32bit, so I got error can NOT find the vc tool, then I modify the build script and specific the msvc directory. Finally I got &quot;�checking location of AMQP codegen directory... configure: error: could not find</div>

<div>AMQP spec file at &quot;&#39;codegen/amqp-rabbitmq-0.9.1.json&#39;&quot; in mingw shell:</div></div><div><br></div><div>see below details:</div><div><br></div><div><div><br></div><div>techabc@apple�~</div><div>$ cd /d/lib.rabbitmq/rabbitmq-c-16e2faae8a2f</div>

<div><br></div><div>techabc@apple�/d/lib.rabbitmq/rabbitmq-c-16e2faae8a2f</div><div>$ etc/build.sh</div><div>Using Visual Studio install at /d/Program Files/Microsoft Visual Studio 10.0</div><div>Using Windows SDK install at /c/Program Files/Microsoft SDKs/Windows/v7.0A</div>

<div>+ autoreconf -i</div><div>D:\MinGW.MSYS\bin\libtoolize: putting auxiliary files in `.&#39;.</div><div>D:\MinGW.MSYS\bin\libtoolize: copying file `./ltmain.sh&#39;</div><div>D:\MinGW.MSYS\bin\libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])&#39; to con</div>

<div><a href="http://figure.ac" target="_blank">figure.ac</a> and</div><div>D:\MinGW.MSYS\bin\libtoolize: rerunning D:\MinGW.MSYS\bin\libtoolize, to keep th</div><div>e correct libtool macros in-tree.</div><div>D:\MinGW.MSYS\bin\libtoolize: Consider adding `-I m4&#39; to ACLOCAL_AMFLAGS in Make</div>

<div><a href="http://file.am" target="_blank">file.am</a>.</div><div><a href="http://configure.ac:12" target="_blank">configure.ac:12</a>: installing `./config.guess&#39;</div><div><a href="http://configure.ac:12" target="_blank">configure.ac:12</a>: installing `./config.sub&#39;</div>

<div><a href="http://configure.ac:3" target="_blank">configure.ac:3</a>: installing `./install-sh&#39;</div><div><a href="http://configure.ac:3" target="_blank">configure.ac:3</a>: installing `./missing&#39;</div><div>examples/Makefile.am: installing `./depcomp&#39;</div>

<div>+ ./configure CC=cl.exe LD=link.exe CFLAGS=-nologo</div><div>checking for a BSD-compatible install... /bin/install -c</div><div>checking whether build environment is sane... yes</div><div>checking for a thread-safe mkdir -p... /bin/mkdir -p</div>

<div>checking for gawk... gawk</div><div>checking whether make sets $(MAKE)... yes</div><div>checking for style of include used by make... GNU</div><div>checking for gcc... cl.exe</div><div>checking whether the C compiler works... yes</div>

<div>checking for C compiler default output file name... conftest.exe</div><div>checking for suffix of executables... .exe</div><div>checking whether we are cross compiling... no</div><div>checking for suffix of object files... obj</div>

<div>checking whether we are using the GNU C compiler... no</div><div>checking whether cl.exe accepts -g... yes</div><div>checking for cl.exe option to accept ISO C89... none needed</div><div>checking dependency style of cl.exe... none</div>

<div>checking how to run the C preprocessor... cl.exe -E</div><div>checking for grep that handles long lines and -e... /bin/grep</div><div>checking for egrep... /bin/grep -E</div><div>checking for ANSI C header files... yes</div>

<div>checking for sys/types.h... yes</div><div>checking for sys/stat.h... yes</div><div>checking for stdlib.h... yes</div><div>checking for string.h... yes</div><div>checking for memory.h... yes</div><div>checking for strings.h... no</div>

<div>checking for inttypes.h... no</div><div>checking for stdint.h... yes</div><div>checking for unistd.h... no</div><div>checking minix/config.h usability... no</div><div>checking minix/config.h presence... no</div><div>

checking for minix/config.h... no</div><div>checking whether it is safe to define __EXTENSIONS__... yes</div><div>checking for gcc... (cached) cl.exe</div><div>checking whether we are using the GNU C compiler... (cached) no</div>

<div>checking whether cl.exe accepts -g... (cached) yes</div><div>checking for cl.exe option to accept ISO C89... (cached) none needed</div><div>checking dependency style of cl.exe... (cached) none</div><div>checking build system type... i686-pc-mingw32</div>

<div>checking host system type... i686-pc-mingw32</div><div>checking for as... as</div><div>checking for dlltool... dlltool</div><div>checking for objdump... objdump</div><div>checking how to print strings... printf</div>

<div>checking for a sed that does not truncate output... /bin/sed</div><div>checking for fgrep... /bin/grep -F</div><div>checking for non-GNU ld... link.exe</div><div>checking if the linker (link.exe) is GNU ld... no</div>

<div>checking for BSD- or MS-compatible name lister (nm)... /mingw/bin/nm</div><div>checking the name lister (/mingw/bin/nm) interface... BSD nm</div><div>checking whether ln -s works... no, using cp -p</div><div>checking the maximum length of command line arguments... 8192</div>

<div>checking whether the shell understands some XSI constructs... yes</div><div>checking whether the shell understands &quot;+=&quot;... yes</div><div>checking how to convert i686-pc-mingw32 file names to i686-pc-mingw32 format...</div>

<div>func_convert_file_msys_to_w32</div><div>checking how to convert i686-pc-mingw32 file names to toolchain format... func_c</div><div>onvert_file_msys_to_w32</div><div>checking for link.exe option to reload object files... -r</div>

<div>checking for objdump... (cached) objdump</div><div>checking how to recognize dependent libraries... file_magic ^x86 archive import|</div><div>^x86 DLL</div><div>checking for dlltool... (cached) dlltool</div><div>checking how to associate runtime and link libraries... func_cygming_dll_for_imp</div>

<div>lib</div><div>checking for ar... ar</div><div>checking for archiver @FILE support... @</div><div>checking for strip... strip</div><div>checking for ranlib... ranlib</div><div>checking command to parse /mingw/bin/nm output from cl.exe object... ok</div>

<div>checking for sysroot... no</div><div>checking for mt... no</div><div>checking if : is a manifest tool... no</div><div>checking for dlfcn.h... no</div><div>checking for objdir... .libs</div><div>checking for cl.exe option to produce PIC... -DDLL_EXPORT -DPIC</div>

<div>checking if cl.exe PIC flag -DDLL_EXPORT -DPIC works... yes</div><div>checking if cl.exe static flag �works... yes</div><div>checking if cl.exe supports -c -o file.obj... no</div><div>checking if cl.exe supports -c -o file.obj... (cached) no</div>

<div>checking if we can lock with hard links... yes</div><div>checking whether the cl.exe linker (link.exe) supports shared libraries... yes</div><div>checking dynamic linker characteristics... Win32 link.exe</div><div>checking how to hardcode library paths into programs... immediate</div>

<div>checking whether stripping libraries is possible... yes</div><div>checking if libtool supports shared libraries... yes</div><div>checking whether to build shared libraries... yes</div><div>checking whether to build static libraries... yes</div>

<div>checking for ANSI C header files... (cached) yes</div><div>checking for inline... __inline</div><div>checking location of AMQP codegen directory... configure: error: could not find</div><div>AMQP spec file at &quot;&#39;codegen/amqp-rabbitmq-0.9.1.json&#39;&quot;</div>

<div><br></div><div>techabc@apple /d/lib.rabbitmq/rabbitmq-c-16e2faae8a2f</div><div>$</div><div><br></div><div><br></div>what should I do?</div><div><br><div class="gmail_quote"><div class="im">2011/1/11 David Wragg <span dir="ltr">&lt;<a href="mailto:david@rabbitmq.com" target="_blank">david@rabbitmq.com</a>&gt;</span><br>

</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>techabc &lt;<a href="mailto:techabc@gmail.com" target="_blank">techabc@gmail.com</a>&gt; writes:<div><div></div>
<div class="h5"><br>
&gt; but NOT support m$ windows platform.<br>
&gt; the *dg1sbg* branch (<a href="https://github.com/dg1sbg" target="_blank">https://github.com/dg1sbg</a>, include 2 entry, but what<br>
&gt; the* difference*? ) seems can&#39;t keep the same step with rabbitmq-c.<br>
<br>
</div></div></div><div><div></div><div class="h5">rabbitmq-c has supported building on Windows with the Microsoft compiler<br>
for a few months. �See the README.windows file for details.<br>
<br>
David<br>
<font color="#888888"><br>
--<br>
</font><div><div></div><div>David Wragg<br>
Staff Engineer, RabbitMQ<br>
SpringSource, a division of VMware<br>
</div></div></div></div></blockquote></div><br></div>
</blockquote></div><br>