Re : [Liblogging-users] problems compiling liblogging 0.5 with msvc6
Brought to you by:
rgerhards
|
From: <SF...@ao...> - 2005-05-23 08:01:14
|
hello detlef, I use liblogging with visual c++ 6.0. It works well. There is one thing to do with socketsWin32.c. Don't include it in your source files, otherwise, the compiler will try to compile it without the headers: #include "config.h" #include "liblogging.h" #include "sockets.h" #include "assert.h" (#include "winsock.h" can be found into sockets.h) and the prototype "sbSockSetSockErrState" from sockets.c. socketsWin32.c is included in sockets.c and will still remain in the project in an "External Dependencies" directory that vcpp generates automaticaly. Neither include oscallsWin32.c in your source files. And remove those : #include "liblogging.h" #include "sockets.h" #include "winsock.h" from your socketsWin32.c It should work fine. Best regards MC |