[Cppcms-users] small building problems with revision 1454.
Brought to you by:
artyom-beilis
From: Daniel V. <chi...@gm...> - 2010-09-21 05:52:14
|
Hello My Platform: Linux electroforce 2.6.33-020633-generic #020633 SMP Thu Feb 25 10:10:03 UTC 2010 x86_64 GNU/Linux gcc (Ubuntu 4.4.3-4ubuntu5) 4.4.3 First problem: [ 31%] Building CXX object CMakeFiles/cppcms.dir/src/crypto.cpp.o In file included from /home/daniel/development/cpp/projects/cppcms/src/crypto.cpp:31: /home/daniel/development/cpp/projects/cppcms/private/sha1.h:21:35: error: boost/static_assert.hpp: No such file or directory To fix that I change the line 31 -#include <boost/static_assert.hpp +#include "cppcms_boost/static_assert.hpp" Second problem: [ 67%] Building CXX object CMakeFiles/encryptor_test.dir/tests/encryptor_test.cpp.o /home/daniel/development/cpp/projects/cppcms/tests/encryptor_test.cpp: In function ‘std::string to_string(unsigned char*, size_t)’: /home/daniel/development/cpp/projects/cppcms/tests/encryptor_test.cpp:91: error: ‘sprintf’ was not declared in this scope As you know I fixed that error with add #include <stdio.h> Thanks for cppcms, great library. |