Open GoogleCodeExporter opened 8 years ago
Hi! I really wonder why CMake behaves so different between the distributions.
Problem is that I added multiple CMakeLists.txt files in different modules.
Those modules *should* be bundled in .a files (static libraries). Your CMake
configuration obviously doesn't. In all those modules I added the word STATIC
for ADD_LIBRARY in CMakeLists.txt now. But I can remember that I removed this
word once from the GUI component due to some problem, but I cannot remember the
reason for it.
Something different (1): I see, that you are about to use /usr/lib64 as library
path. I am pretty sure this won't work because Sayonara searches its plugins in
${CMAKE_INSTALL_PREFIX}/lib/sayonara/
Something different (2): In this new version the C++11 standard is used. Check
if your gcc version will use -std=c++11 as default, otherwise you have to add
this compiler-flag, too
My Google adress is also my jabber address. Add me there, so I can answer you
faster, if there are problems. Thanks a lot for doing this work.
Original comment by LucioCarreras@gmail.com
on 5 Sep 2014 at 7:58
with svn886 it compiles fine again.
Thanks Martin
Original comment by Martin.G...@gmail.com
on 5 Sep 2014 at 12:31
a nother question about to create a debuging package.
i have the following settings in src/CMakeLists.txt, but no debuging package was
created.
SET(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_SOURCE_DIR}/bin)
#SET(CMAKE_BUILD_TYPE "Release")
#SET(CMAKE_C_FLAGS "-Wall -O2 -s")
SET(CMAKE_CXX_FLAGS "-Woverloaded-virtual -Wall -O2 -s -std=c++11")
SET(CMAKE_BUILD_TYPE "Debug")
#SET(CMAKE_CXX_FLAGS "-Woverloaded-virtual -Wall -std=c++11 -Wunreachable-code")
#SET(CMAKE_C_FLAGS "-Wall")
Original comment by Martin.G...@gmail.com
on 5 Sep 2014 at 1:36
The results of building with Debug flag are not very obvious. The difference is
that the binary and the libraries are significantly bigger due to the fact that
they are not stripped and containing debug symbols. If this does not apply to
your issue, try to
make clean
find . -name "CMakeCache*" -o -name "CMakeFiles*" | xargs rm -rf
and running cmake and make again. The sayonara binary should be around 10M then.
Original comment by LucioCarreras@gmail.com
on 5 Sep 2014 at 2:04
Original issue reported on code.google.com by
Martin.G...@gmail.com
on 5 Sep 2014 at 6:37