Re: [zeromq-dev] JZMQ: Problems building on win32 (MS Visual Studio)
I got it sorted, the output directory needs to be set for VS2010 per this article: http://www.mansysadmin.com/2011/03/using-zeromq-framework-with-visual-studio-2010-tutorial/ Cheers, Michael On Tue, 2011-03-15 at 15:38 -0700, Michael Kogan wrote: > I beleive that it will be used when creating the file - but you should be > creating a dll and shipping 2 dlls. Still you need to configure libpath in > visual studio to point to the directory with the libzmq.lib > On Mar 15, 2011, at 3:02 PM, Michael Compton wrote: > > > But the jzmq was specifically looking for libzmq.lib. > > > > On Tue, 2011-03-15 at 14:47 -0700, Michael Kogan wrote: > >> You need to produce a dll for the library to be used with JNI. > >> Also, make sure that the dlls produced by compiling zeromq are in your > >> linker's path. > >> > >> > >> On Mar 15, 2011, at 2:42 PM, Michael Compton wrote: > >> > >>> On Tue, 2011-03-15 at 21:23 +0100, C. Huntz wrote: > Le 15/03/2011 21:00, Michael Compton a écrit : > > Hi, > > > > I am having problems building jzmq on Win32. > > > > I built libzmq to output a lib file (libzmq.lib), but when I try > > building jmzq I get around 20 errors of unresolved external symbols for > > what seems like all the functions in libzmq. > > > > Any suggestions? > > > > Cheers, > > Michael > > > > ___ > > zeromq-dev mailing list > > zeromq-dev@lists.zeromq.org > > http://lists.zeromq.org/mailman/listinfo/zeromq-dev > > > Hi, > I use MS visual Xpress 2008 to do the same stuff without any issue, 2 > weeks ago. > May it comes from your MSV version, > Christophe > > > ___ > zeromq-dev mailing list > zeromq-dev@lists.zeromq.org > http://lists.zeromq.org/mailman/listinfo/zeromq-dev > >>> > >>> Hi Christpohe > >>> > >>> Do you also change the build from a dll to a lib in the project > >>> properties. > >>> > >>> I am using Visual Studio 2010 Ultimate edition (perks of the job). It's > >>> feasible that is the problem. > >>> > >>> Cheers, > >>> Michael > >>> > >>> ___ > >>> zeromq-dev mailing list > >>> zeromq-dev@lists.zeromq.org > >>> http://lists.zeromq.org/mailman/listinfo/zeromq-dev > >> > >> ___ > >> zeromq-dev mailing list > >> zeromq-dev@lists.zeromq.org > >> http://lists.zeromq.org/mailman/listinfo/zeromq-dev > > > > > > ___ > > zeromq-dev mailing list > > zeromq-dev@lists.zeromq.org > > http://lists.zeromq.org/mailman/listinfo/zeromq-dev > > ___ > zeromq-dev mailing list > zeromq-dev@lists.zeromq.org > http://lists.zeromq.org/mailman/listinfo/zeromq-dev ___ zeromq-dev mailing list zeromq-dev@lists.zeromq.org http://lists.zeromq.org/mailman/listinfo/zeromq-dev
Re: [zeromq-dev] JZMQ: Problems building on win32 (MS Visual Studio)
I beleive that it will be used when creating the file - but you should be creating a dll and shipping 2 dlls. Still you need to configure libpath in visual studio to point to the directory with the libzmq.lib On Mar 15, 2011, at 3:02 PM, Michael Compton wrote: > But the jzmq was specifically looking for libzmq.lib. > > On Tue, 2011-03-15 at 14:47 -0700, Michael Kogan wrote: >> You need to produce a dll for the library to be used with JNI. >> Also, make sure that the dlls produced by compiling zeromq are in your >> linker's path. >> >> >> On Mar 15, 2011, at 2:42 PM, Michael Compton wrote: >> >>> On Tue, 2011-03-15 at 21:23 +0100, C. Huntz wrote: Le 15/03/2011 21:00, Michael Compton a écrit : > Hi, > > I am having problems building jzmq on Win32. > > I built libzmq to output a lib file (libzmq.lib), but when I try > building jmzq I get around 20 errors of unresolved external symbols for > what seems like all the functions in libzmq. > > Any suggestions? > > Cheers, > Michael > > ___ > zeromq-dev mailing list > zeromq-dev@lists.zeromq.org > http://lists.zeromq.org/mailman/listinfo/zeromq-dev > Hi, I use MS visual Xpress 2008 to do the same stuff without any issue, 2 weeks ago. May it comes from your MSV version, Christophe ___ zeromq-dev mailing list zeromq-dev@lists.zeromq.org http://lists.zeromq.org/mailman/listinfo/zeromq-dev >>> >>> Hi Christpohe >>> >>> Do you also change the build from a dll to a lib in the project >>> properties. >>> >>> I am using Visual Studio 2010 Ultimate edition (perks of the job). It's >>> feasible that is the problem. >>> >>> Cheers, >>> Michael >>> >>> ___ >>> zeromq-dev mailing list >>> zeromq-dev@lists.zeromq.org >>> http://lists.zeromq.org/mailman/listinfo/zeromq-dev >> >> ___ >> zeromq-dev mailing list >> zeromq-dev@lists.zeromq.org >> http://lists.zeromq.org/mailman/listinfo/zeromq-dev > > > ___ > zeromq-dev mailing list > zeromq-dev@lists.zeromq.org > http://lists.zeromq.org/mailman/listinfo/zeromq-dev ___ zeromq-dev mailing list zeromq-dev@lists.zeromq.org http://lists.zeromq.org/mailman/listinfo/zeromq-dev
Re: [zeromq-dev] JZMQ: Problems building on win32 (MS Visual Studio)
But the jzmq was specifically looking for libzmq.lib. On Tue, 2011-03-15 at 14:47 -0700, Michael Kogan wrote: > You need to produce a dll for the library to be used with JNI. > Also, make sure that the dlls produced by compiling zeromq are in your > linker's path. > > > On Mar 15, 2011, at 2:42 PM, Michael Compton wrote: > > > On Tue, 2011-03-15 at 21:23 +0100, C. Huntz wrote: > >> Le 15/03/2011 21:00, Michael Compton a écrit : > >>> Hi, > >>> > >>> I am having problems building jzmq on Win32. > >>> > >>> I built libzmq to output a lib file (libzmq.lib), but when I try > >>> building jmzq I get around 20 errors of unresolved external symbols for > >>> what seems like all the functions in libzmq. > >>> > >>> Any suggestions? > >>> > >>> Cheers, > >>> Michael > >>> > >>> ___ > >>> zeromq-dev mailing list > >>> zeromq-dev@lists.zeromq.org > >>> http://lists.zeromq.org/mailman/listinfo/zeromq-dev > >>> > >> Hi, > >> I use MS visual Xpress 2008 to do the same stuff without any issue, 2 > >> weeks ago. > >> May it comes from your MSV version, > >> Christophe > >> > >> > >> ___ > >> zeromq-dev mailing list > >> zeromq-dev@lists.zeromq.org > >> http://lists.zeromq.org/mailman/listinfo/zeromq-dev > > > > Hi Christpohe > > > > Do you also change the build from a dll to a lib in the project > > properties. > > > > I am using Visual Studio 2010 Ultimate edition (perks of the job). It's > > feasible that is the problem. > > > > Cheers, > > Michael > > > > ___ > > zeromq-dev mailing list > > zeromq-dev@lists.zeromq.org > > http://lists.zeromq.org/mailman/listinfo/zeromq-dev > > ___ > zeromq-dev mailing list > zeromq-dev@lists.zeromq.org > http://lists.zeromq.org/mailman/listinfo/zeromq-dev ___ zeromq-dev mailing list zeromq-dev@lists.zeromq.org http://lists.zeromq.org/mailman/listinfo/zeromq-dev
Re: [zeromq-dev] JZMQ: Problems building on win32 (MS Visual Studio)
You need to produce a dll for the library to be used with JNI. Also, make sure that the dlls produced by compiling zeromq are in your linker's path. On Mar 15, 2011, at 2:42 PM, Michael Compton wrote: > On Tue, 2011-03-15 at 21:23 +0100, C. Huntz wrote: >> Le 15/03/2011 21:00, Michael Compton a écrit : >>> Hi, >>> >>> I am having problems building jzmq on Win32. >>> >>> I built libzmq to output a lib file (libzmq.lib), but when I try >>> building jmzq I get around 20 errors of unresolved external symbols for >>> what seems like all the functions in libzmq. >>> >>> Any suggestions? >>> >>> Cheers, >>> Michael >>> >>> ___ >>> zeromq-dev mailing list >>> zeromq-dev@lists.zeromq.org >>> http://lists.zeromq.org/mailman/listinfo/zeromq-dev >>> >> Hi, >> I use MS visual Xpress 2008 to do the same stuff without any issue, 2 >> weeks ago. >> May it comes from your MSV version, >> Christophe >> >> >> ___ >> zeromq-dev mailing list >> zeromq-dev@lists.zeromq.org >> http://lists.zeromq.org/mailman/listinfo/zeromq-dev > > Hi Christpohe > > Do you also change the build from a dll to a lib in the project > properties. > > I am using Visual Studio 2010 Ultimate edition (perks of the job). It's > feasible that is the problem. > > Cheers, > Michael > > ___ > zeromq-dev mailing list > zeromq-dev@lists.zeromq.org > http://lists.zeromq.org/mailman/listinfo/zeromq-dev ___ zeromq-dev mailing list zeromq-dev@lists.zeromq.org http://lists.zeromq.org/mailman/listinfo/zeromq-dev
Re: [zeromq-dev] JZMQ: Problems building on win32 (MS Visual Studio)
On Tue, 2011-03-15 at 21:23 +0100, C. Huntz wrote: > Le 15/03/2011 21:00, Michael Compton a écrit : > > Hi, > > > > I am having problems building jzmq on Win32. > > > > I built libzmq to output a lib file (libzmq.lib), but when I try > > building jmzq I get around 20 errors of unresolved external symbols for > > what seems like all the functions in libzmq. > > > > Any suggestions? > > > > Cheers, > > Michael > > > > ___ > > zeromq-dev mailing list > > zeromq-dev@lists.zeromq.org > > http://lists.zeromq.org/mailman/listinfo/zeromq-dev > > > Hi, > I use MS visual Xpress 2008 to do the same stuff without any issue, 2 > weeks ago. > May it comes from your MSV version, > Christophe > > > ___ > zeromq-dev mailing list > zeromq-dev@lists.zeromq.org > http://lists.zeromq.org/mailman/listinfo/zeromq-dev Hi Christpohe Do you also change the build from a dll to a lib in the project properties. I am using Visual Studio 2010 Ultimate edition (perks of the job). It's feasible that is the problem. Cheers, Michael ___ zeromq-dev mailing list zeromq-dev@lists.zeromq.org http://lists.zeromq.org/mailman/listinfo/zeromq-dev
Re: [zeromq-dev] JZMQ: Problems building on win32 (MS Visual Studio)
Le 15/03/2011 21:00, Michael Compton a écrit : > Hi, > > I am having problems building jzmq on Win32. > > I built libzmq to output a lib file (libzmq.lib), but when I try > building jmzq I get around 20 errors of unresolved external symbols for > what seems like all the functions in libzmq. > > Any suggestions? > > Cheers, > Michael > > ___ > zeromq-dev mailing list > zeromq-dev@lists.zeromq.org > http://lists.zeromq.org/mailman/listinfo/zeromq-dev > Hi, I use MS visual Xpress 2008 to do the same stuff without any issue, 2 weeks ago. May it comes from your MSV version, Christophe ___ zeromq-dev mailing list zeromq-dev@lists.zeromq.org http://lists.zeromq.org/mailman/listinfo/zeromq-dev