[rabbitmq-discuss] Running rabbitmq client on visual studio 2005

Vincent Cheong vincentcheongst at gmail.com
Fri Nov 12 02:47:07 GMT 2010


Hi David,

I downgraded my libtool version to 2.2.7a and got it to work!  I also added
$vsdir/VC/PlatformSDK/Lib to the LIB in build-ms.sh as my ws2_32.lib file is
found there.

Thanks for all your help.

Vincent

On Thu, Nov 11, 2010 at 6:51 PM, David Wragg <david at rabbitmq.com> wrote:

> Vincent Cheong <vincentcheongst at gmail.com> writes:
> > I did not get install mingw using the install script. It is a pretty up
> to
> > date version (libs and compilers) that I have been using all along. I've
> > checked my PATH there's only one mingw/bin.
>
> Ah, I see.  I'm afraid that the easiest way forward for you will be to
> do a second temporary install of mingw using the script - you can delete
> it as soon as the build has worked :-)
>
> > [...]
> >
> > I've been looking at error statement again.
> > cl : Command line error D8021 : invalid numeric argument '/Wl,-DLL'
> > the cl command seems to be expecting a numeral after /W. Could the cl
> option
> > be /W1 or /WL instead or /Wl?
>
> -Wl,-DLL is a gcc option, and cl.exe generally has a completely
> different option syntax.  Why libtool is passing that option to cl.exe,
> I don't know.  libtool's support for the MS toolchain seems to be quite
> weak, and I was only able to get 2.2.7a to work by patching its output.
> I wouldn't be surprised if later versions break that support completely.
> So at the moment, you really need 2.2.7a.
>
> I don't know if there will be such strict dependencies on the other
> required mingw/msys packages.  You might be able to make it work just by
> changing your version of libtool, but I'm not sure.
>
> Thanks for bringing this to my attention, I will clarify the build
> instructions.
>
> David
>
> --
> David Wragg
> Staff Engineer, RabbitMQ
> SpringSource, a division of VMware
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20101112/4c35af70/attachment-0001.htm>


More information about the rabbitmq-discuss mailing list