Re: [Log4cplus-devel] Help needed by building log4cplus on windows and MinGW&MSYS
Logging Framework for C++
Brought to you by:
wilx
From: Vaclav H. <wi...@us...> - 2010-04-21 12:35:03
|
On Wed, 21 Apr 2010 13:42:50 +0200, Harald Pollak wrote: > Hy!!! Hi. > > I'm trieing to build log4cplus ( branch 1.1 ) on Windows with MinGW and > MSYS > on Windows. I have recently moved the non-stable development to the trunk, please use it instead of the 1.1 branch. > > It seems like the buildtool allways tries to build the sockt-unix,... and > all other unix-specific files. > > I tried following commands but none had make success, can anybody tell me > whats wrong? > > ./configure > > ./configure CXXFLAGS=LOG4CPLUS_BUILD_DLL > > ./configure CXXFLAGS="-DLOG4CPLUS_BUILD_DLL -DLOG4CPLUS_USE_WINSOCK > -DWIN32" > > ... I do not remember exactly what state is 1.1 branch in but trunk does compile socket-unix.cxx too. However it is effectively empty file because its contents is protected by #if defined (LOG4CPLUS_USE_BSD_SOCKETS)/#endif which is undefined for MinGW. Unless of course there is a bug, I have not tested MinGW builds recently. -- VH |