To build on Cygwin make sure you have the CPPUnit 1.10.2 or later installed with the devel package.
To use a MS compiler you need to use Visual Studio 2005 and the included solution files. Regards Tim. On Wed, 2007-09-12 at 11:40 -0700, Mike.Gingell wrote: > I am not able to build ActiveMQ-CPP. I have tried using the 2.1 release and > also from the latest trunk (rev 570555) > > I have tried using cygwin, but autogen.sh fails horribly. (g++ version > 3.4.4) > > Output: > /usr/share/aclocal/cppunit.m4:4: warning: underquoted definition of > AM_PATH_CPPUNIT > /usr/share/aclocal/cppunit.m4:4: run info '(automake)Extending aclocal' > /usr/share/aclocal/cppunit.m4:4: or see > http://sources.redhat.com/automake/automake.html#Extending-aclocal > Unmatched [ in regex; marked by <-- HERE in > m/^AS_FLAGS$|^SHELL$|^PATH_SEPARATOR > $|^PACKAGE_NAME$|^PACKAGE_TARNAME$|^PACKAGE_VERSION$|^PACKAGE_STRING$|^PACKAGE_B > and so on..... > ^DX_COND_latex_TRUE$|^DX_COND_latex_FALSE$|^DX_ENV$|^DOXYGEN_PAPER_SIZE$|^DOXYGE > N_PAPER_SIZE$|^DX_ENV$|^LIBOBJS$|^LTLIBOBJS$/ at /usr/bin/autom4te-2.61 line > 572 > , <GEN13> line 3999. > autoreconf-2.61: /usr/bin/autoconf-2.61 failed with exit status: 1 > > I have also tried using the latest windows platform SDK, (Microsoft (R) > 32-bit C/C++ Optimizing Compiler Version 14.00.50727.762 for 80x86) but I > also get many compile errors. > > For example: > c:\Apache\activemq-cpp-2.2\src\main\activemq/connector/openwire/OpenWire > Connector.h(69) : see declaration of > 'activemq::connector::openwire::OpenWireConnector' > ..\src\main\activemq\connector\openwire\OpenWireConnector.cpp(294) : error > C2065 > : 'DISCONNECTED' : undeclared identifier > ..\src\main\activemq\connector\openwire\OpenWireConnector.cpp(318) : error > C2509 > : 'createSession' : member function not declared in > 'activemq::connector::openwire::OpenWireConnector' > "Build log was saved at > "file://c:\Apache\activemq-cpp-2.2\vs2005-build\Release\vs2005-activemq\vs2005-activemq\BuildLog.htm" > vs2005-activemq - 194 error(s), 2 warning(s)" > > Can someone out there provide me with the correct tool configuration so that > I can build this beast! > > A cygwin makefile or configure script would be nice.
