From: Václav Z. <vha...@gm...> - 2014-03-06 12:23:23
|
On 5 March 2014 16:13, drkmkzs wrote: > > Hello, > > I've just been using log4cplus in windows, is really cool :) > > Now i'm using it on linux, I had no problem to compile it. But when using it > in my project, i had some problem with a missin defines.hxx (I only made > cmake .. without any specific options) > > In file included from > /local/DEV/Projects/drk/common/../external/log4cplus/include/log4cplus/helpers/loglog.h:27:0, > from /local/DEV/Projects/drk/common/utils/glibmm/Log.h:40, > from > /local/DEV/Projects/drk/common/utils/glibmm/globals.h:42, > from > /local/DEV/Projects/drk/common/utils/glibmm/trace.cpp:8: > /local/DEV/Projects/drk/common/../external/log4cplus/include/log4cplus/config.hxx:32:42: > erreur fatale: log4cplus/config/defines.hxx : Aucun fichier ou dossier de ce > type > # include <log4cplus/config/defines.hxx> The defines.hxx files is generated by the build process. Does CMake not install it if you do the install step? Either way, you should find it somewhere in the build tree. > > I had read similar bug, but on log4cplus compilation, not for log4cplus > usage, so I prefer to ask here instead of posting a bug that could be a > misuage only :) > (https://sourceforge.net/p/log4cplus/bugs/122/) > > But as in the 122 bug, a configure in log4cplus sources solves the problem > :) -- VZ |