We have a problem at QuteCom link step with Visual C++2008. Anyway, verify that boost/signal.hpp is at the right place
try: nmake VERBOSE=1 look at your include path if it contains boost/signal.hpp Laurent marc doz a écrit : > Hi , I Try to build qutecom with Visual C++ 2008 Express Edition and > Windows Vista > > With : > -Boost for MSVC90. I have a custom FindBoost.cmake file. > -Qt 4.5.1 : As in this example > :http://www.siteduzero.com/tutoriel-3-36553-utiliser-qt-avec-visual-studio.html > > > -Python 2.5 > > I configure with this commands in the build directory : > > # del CMakeCache.txt > # cmake -DCMAKE_BUILD_TYPE=Debug -G "Visual Studio 9 2008" .. > > log_CMAKE.txt > -- Check for working C compiler: C:/Program Files/Microsoft Visual > Studio 9.0/VC/bin/cl.exe > -- Check for working C compiler: C:/Program Files/Microsoft Visual > Studio 9.0/VC/bin/cl.exe -- works > -- Detecting C compiler ABI info > -- Detecting C compiler ABI info - done > -- Check for working CXX compiler: C:/Program Files/Microsoft Visual > Studio 9.0/VC/bin/cl.exe > -- Check for working CXX compiler: C:/Program Files/Microsoft Visual > Studio 9.0/VC/bin/cl.exe -- works > -- Detecting CXX compiler ABI info > -- Detecting CXX compiler ABI info - done > -- OS: Windows-6.0 > -- Processor: x86 > -- Compiler: C:/Program Files/Microsoft Visual Studio 9.0/VC/bin/cl.exe > -- Build type: Debug > -- Build tool: C:/PROGRA~1/MICROS~1.0/Common7/IDE/VCExpress.exe > -- Build directory: C:/Users/doz/workspace/qutecom/build/debug > -- svn revision: > -- Time: 20090523103729 > -- found boost includes in C:/Boost/MSVC90/boost_1_38 > -- boost libs BOOST_DATE_TIME_LIBRARY : > C:/Boost/MSVC90/boost_1_38/lib/boost_date_time-vc90-mt-gd-1_38.lib > -- boost libs BOOST_FILESYSTEM_LIBRARY : > C:/Boost/MSVC90/boost_1_38/lib/boost_filesystem-vc90-mt-gd-1_38.lib > -- boost libs BOOST_IOSTREAMS_LIBRARY : > C:/Boost/MSVC90/boost_1_38/lib/boost_iostreams-vc90-mt-gd-1_38.lib > -- boost libs BOOST_PRG_EXEC_MONITOR_LIBRARY : > C:/Boost/MSVC90/boost_1_38/lib/boost_prg_exec_monitor-vc90-mt-gd- > > 1_38.lib > -- boost libs BOOST_PROGRAM_OPTIONS_LIBRARY : > C:/Boost/MSVC90/boost_1_38/lib/boost_program_options-vc90-mt-gd- > > 1_38.lib > -- boost libs BOOST_PYTHON_LIBRARY : > C:/Boost/MSVC90/boost_1_38/lib/boost_python-vc90-mt-gd-1_38.lib > -- boost libs BOOST_REGEX_LIBRARY : > C:/Boost/MSVC90/boost_1_38/lib/boost_regex-vc90-mt-gd-1_38.lib > -- boost libs BOOST_SERIALIZATION_LIBRARY : > C:/Boost/MSVC90/boost_1_38/lib/boost_serialization-vc90-mt-gd-1_38.lib > -- boost libs BOOST_SIGNALS_LIBRARY : > C:/Boost/MSVC90/boost_1_38/lib/boost_signals-vc90-mt-gd-1_38.lib > -- boost libs BOOST_TEST_EXEC_MONITOR_LIBRARY : > C:/Boost/MSVC90/boost_1_38/lib/libboost_test_exec_monitor-vc90-mt- > > gd-1_38.lib > -- boost libs BOOST_THREAD_LIBRARY : > C:/Boost/MSVC90/boost_1_38/lib/boost_thread-vc90-mt-gd-1_38.lib > -- boost libs BOOST_UNIT_TEST_FRAMEWORK_LIBRARY : > C:/Boost/MSVC90/boost_1_38/lib/boost_unit_test_framework-vc90-mt > > -gd-1_38.lib > -- boost libs BOOST_WSERIALIZATION_LIBRARY : > C:/Boost/MSVC90/boost_1_38/lib/boost_wserialization-vc90-mt-gd- > > 1_38.lib > -- Found Boost version 103800: C:/Boost/MSVC90/boost_1_38, > C:/Boost/MSVC90/boost_1_38/lib/boost_date_time-vc90-mt- > > gd-1_38.lib;C:/Boost/MSVC90/boost_1_38/lib/boost_filesystem-vc90-mt-gd- > > 1_38.lib;C:/Boost/MSVC90/boost_1_38/lib/boost_iostreams-vc90-mt-gd- > > 1_38.lib;C:/Boost/MSVC90/boost_1_38/lib/boost_prg_exec_monitor-vc90-mt-gd- > > 1_38.lib;C:/Boost/MSVC90/boost_1_38/lib/boost_program_options-vc90-mt-gd- > > 1_38.lib;C:/Boost/MSVC90/boost_1_38/lib/boost_python-vc90-mt-gd- > > 1_38.lib;C:/Boost/MSVC90/boost_1_38/lib/boost_regex-vc90-mt-gd- > > 1_38.lib;C:/Boost/MSVC90/boost_1_38/lib/boost_serialization-vc90-mt-gd- > > 1_38.lib;C:/Boost/MSVC90/boost_1_38/lib/boost_signals-vc90-mt-gd- > > 1_38.lib;C:/Boost/MSVC90/boost_1_38/lib/libboost_test_exec_monitor-vc90-mt-gd- > > 1_38.lib;C:/Boost/MSVC90/boost_1_38/lib/boost_thread-vc90-mt-gd- > > 1_38.lib;C:/Boost/MSVC90/boost_1_38/lib/boost_unit_test_framework-vc90-mt-gd- > > 1_38.lib;C:/Boost/MSVC90/boost_1_38/lib/boost_wserialization-vc90-mt-gd-1_38.lib > -- Looking for Q_WS_X11 > -- Looking for Q_WS_X11 - not found. > -- Looking for Q_WS_WIN > -- Looking for Q_WS_WIN - found > -- Looking for Q_WS_QWS > -- Looking for Q_WS_QWS - not found. > -- Looking for Q_WS_MAC > -- Looking for Q_WS_MAC - not found. > -- Found Qt-Version 4.5.1 > -- Qt4 with ActiveX (QAxContainer) support off > -- Found PythonLibs: C:/Python25/libs/python25.lib > -- Check if the system is big endian > -- Searching 16 bit integer > -- Looking for sys/types.h > -- Looking for sys/types.h - found > -- Looking for stdint.h > -- Looking for stdint.h - not found > -- Looking for stddef.h > -- Looking for stddef.h - found > -- Check size of unsigned short > -- Check size of unsigned short - done > -- Using unsigned short > -- Check if the system is big endian - little endian > -- Looking for include files HAVE_MACHINE_TYPES_H > -- Looking for include files HAVE_MACHINE_TYPES_H - not found. > -- Looking for include files HAVE_SYS_INT_TYPES_H > -- Looking for include files HAVE_SYS_INT_TYPES_H - not found. > -- Looking for include files HAVE_SYS_UIO_H > -- Looking for include files HAVE_SYS_UIO_H - not found. > -- Looking for include files HAVE_UNISTD_H > -- Looking for include files HAVE_UNISTD_H - not found. > -- Looking for include files HAVE_STDLIB_H > -- Looking for include files HAVE_STDLIB_H - found > -- Looking for inet_aton > -- Looking for inet_aton - not found > -- Looking for include files HAVE_SYSLOG_H > -- Looking for include files HAVE_SYSLOG_H - not found. > -- Call forward deactivated > -- Sms deactivated > -- Voice mail deactivated > -- Filetransfer deactivated > -- Found lrelease: C:/Qt/4.5.1/bin/lrelease.exe > -- Configuring done > -- Generating done > -- Build files have been written to: C:/Users/doz/workspace/qutecom/build > > In the CMakeCache.txt file : > //Path to a file. > BOOST_INCLUDE_DIR:PATH=C:/Boost/MSVC90/boost_1_38 > and boost/signal.hpp , boost/function.hp, boost/bind.hpp, > boost/visit_each.hpp are present in BOOST_INCLUDE_DIR > > My problem is that when i do : > # nmake > [ 0%] Building CXX object > libs/owutil/util/CMakeFiles/owutil.dir/src/Date.obj > <command line>:6:1: warning: "BUILD_OWUTIL_DLL" redefined > <command line>:1:1: warning: this is the location of the previous > definition > In file included from > C:/Users/doz/workspace/qutecom/libs/owutil/util/Logger.h:2 > 6, > from C:\Users\doz\workspace\qutecom\libs\owutil\util\src\Date.c > pp:22: > C:/Users/doz/workspace/qutecom/libs/owutil/util/Event.h:25:28: > boost/signal.hpp: > No such file or directory > C:/Users/doz/workspace/qutecom/libs/owutil/util/Event.h:26:30: > boost/function.hp > p: No such file or directory > C:/Users/doz/workspace/qutecom/libs/owutil/util/Event.h:27:26: > boost/bind.hpp: N > o such file or directory > C:/Users/doz/workspace/qutecom/libs/owutil/util/Event.h:28:32: > boost/visit_each. > hpp: No such file or directory > In file included from > C:/Users/doz/workspace/qutecom/libs/owutil/util/Logger.h:2 > 6, > from C:\Users\doz\workspace\qutecom\libs\owutil\util\src\Date.c > pp:22: > C:/Users/doz/workspace/qutecom/libs/owutil/util/Event.h:102: error: > `boost' has > not been declared > C:/Users/doz/workspace/qutecom/libs/owutil/util/Event.h:102: error: > expected tem > plate-name before '<' token > C:/Users/doz/workspace/qutecom/libs/owutil/util/Event.h:102: error: > expected `{' > before '<' token > C:/Users/doz/workspace/qutecom/libs/owutil/util/Event.h:102: error: > expected unq > ualified-id before '<' token > In file included from > C:\Users\doz\workspace\qutecom\libs\owutil\util\src\Date.c > pp:22: > C:/Users/doz/workspace/qutecom/libs/owutil/util/Logger.h:30:34: > boost/thread/mut > ex.hpp: No such file or directory > In file included from > C:\Users\doz\workspace\qutecom\libs\owutil\util\src\Date.c > pp:22: > C:/Users/doz/workspace/qutecom/libs/owutil/util/Logger.h:172: error: > `boost' has > not been declared > C:/Users/doz/workspace/qutecom/libs/owutil/util/Logger.h:172: error: > ISO C++ for > bids declaration of `mutex' with no type > C:/Users/doz/workspace/qutecom/libs/owutil/util/Logger.h:172: error: > expected `; > ' before "_mutex" > NMAKE : fatal error U1077: 'cd' : code retour '0x1' > Stop. > NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio > 9.0\VC\Bin > \nmake.exe"' : code retour '0x2' > Stop. > NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio > 9.0\VC\Bin > \nmake.exe"' : code retour '0x2' > Stop. > > can you help me ? > (I will write a rst tutorial) > please see : > - http://marc.doz-web.org/qutecom/230509_1/CMakeCache.txt > - http://marc.doz-web.org/qutecom/230509_1/FindBoost.cmake > - http://marc.doz-web.org/qutecom/230509_1/log_cmake.txt > - http://marc.doz-web.org/qutecom/230509_1/log_nmake.txt > > best regards > ------------------------------------------------------------------------ > > _______________________________________________ > QuteCom-dev mailing list > [email protected] > http://lists.qutecom.org/mailman/listinfo/qutecom-dev > _______________________________________________ QuteCom-dev mailing list [email protected] http://lists.qutecom.org/mailman/listinfo/qutecom-dev
