From: drkmkzs <dr...@gm...> - 2014-03-06 12:58:05
|
Oh yes my bad, I didn't realize the .hxx was generated into build and not into the include src (which sounds logical after all :)) Indeed I don't know about the install process since I like to use "external libraries" from where they've been compiled (yes I know, not always very smart) Thanx for answer, sorry again :) 2014-03-06 13:23 GMT+01:00 Václav Zeman <vha...@gm...>: > 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 > |