[ https://issues.apache.org/jira/browse/QPID-4982?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13703215#comment-13703215 ]
Chuck Rolke commented on QPID-4982: ----------------------------------- re: empty directory. I was referring to an "out of source" build; it looks like you are doing an "in source build" since you are executing cmake right in the qpid/cpp directory. In-source builds are supposed to work, and they did work in the past, but I have not tried in-source builds in over two years. Typically I run cmake from a directory like qpid\b32-vs2010 that is a peer directory to qpid\cpp. cd qpid mkdir b32-vs2010 cd b32-vs2010 cmake <switches for 32-bit VS2010> ..\cpp Using this scheme there is no conflict between VS2008/VS2010 or between x86/x64 generated files landing on top of each other in the source tree. All the generated code is in the platform-specific subdirectory. In your case there may be stray generated files floating around in the cpp/src directories that are confusing the build. Try refreshing your source tree and running cmake out-of-source and see if that helps. > cmake for Visual Studio fails > ----------------------------- > > Key: QPID-4982 > URL: https://issues.apache.org/jira/browse/QPID-4982 > Project: Qpid > Issue Type: Bug > Components: Build Tools > Affects Versions: 0.22, 0.23 > Environment: Windows 7 Enterprise 64 bit SP1 > Reporter: Steve Rothkin > Priority: Blocker > > I followed the instructions in cpp\INSTALL-WINDOWS. I have installed the > latest Windows versions of Boost, Ruby, and Python as per the instructions. > I've also built the Boost libraries and set the environment variables as per > the instructions. > I tried the 3. Building from a Source Distribution using qpid-0.22.tar.gz > using the cmake command line tool. I got the following errors: > c:\cyghome\QueueSystems\Qpid\qpid-0.22\cpp>cmake -i -G "Visual Studio 9 2008" > Would you like to see advanced options? [No]: > Please wait while cmake processes CMakeLists.txt files.... > File "<string>", line 1 > from distutils.sysconfig import get_python_lib; print > get_python_lib(False) > ^ > SyntaxError: invalid syntax > File "C:/cyghome/QueueSystems/Qpid/qpid-0.22/cpp/managementgen/qmf-gen", > line > 64 > print "no input files" > ^ > SyntaxError: invalid syntax > CMake Error at src/CMakeLists.txt:231 (include): > include could not find load file: > C:/cyghome/QueueSystems/Qpid/qpid-0.22/cpp/src/managementgen.cmake > CMake Error at C:/Program Files (x86)/CMake > 2.8/share/cmake-2.8/Modules/FindBoos > t.cmake:1104 (message): > Unable to find the requested Boost libraries. > Boost version: 1.54.0 > Boost include path: C:/boost/boost_1_54_0 > The following Boost libraries could not be found: > boost_program_options > boost_date_time > boost_thread > boost_unit_test_framework > boost_regex > No Boost libraries were found. You may need to set BOOST_LIBRARYDIR to the > directory containing Boost libraries or BOOST_ROOT to the location of > Boost. > Call Stack (most recent call first): > src/CMakeLists.txt:325 (find_package) > ------------- > I also tried the 4. Building a Repository Working Copy with a checkout of the > latest from SVN using the cmake GUI (selecting Visual Studio 10 Win64 as the > generator since I don't have VS2008). I got the following errors: > Regenerating Qpid Management Framework sources > CMake Error at src/CMakeLists.txt:232 (include): > include could not find load file: > C:/Qpid/src/managementgen.cmake > CMake Error at C:/Program Files (x86)/CMake > 2.8/share/cmake-2.8/Modules/FindBoost.cmake:1104 (message): > Unable to find the requested Boost libraries. > Boost version: 1.54.0 > Boost include path: C:/boost/boost_1_54_0 > The following Boost libraries could not be found: > boost_program_options > boost_date_time > boost_thread > boost_unit_test_framework > boost_regex > No Boost libraries were found. You may need to set BOOST_LIBRARYDIR to the > directory containing Boost libraries or BOOST_ROOT to the location of > Boost. > Call Stack (most recent call first): > src/CMakeLists.txt:364 (find_package) > CMake Error at src/CMakeLists.txt:366 (message): > Boost C++ libraries not found. Please install or try setting BOOST_ROOT > Configuring incomplete, errors occurred! > --------- > The relevant environment variables on my system are: > BOOST_LIBRARYDIR=C:\boost\boost_1_54_0\stage\lib > BOOST_ROOT=C:\boost\boost_1_54_0 > INCLUDE=c:\Program Files (x86)\Microsoft Visual Studio > 10.0\VC\INCLUDE;c:\Program Files (x86)\Microsoft Visual Studio > 10.0\VC\ATLMFC\INCLUDE;C:\Program Files (x86)\Microsoft > SDKs\Windows\v7.0A\include;C:\boost\boost_1_54_0 > LIB=c:\Program Files (x86)\Microsoft Visual Studio > 10.0\VC\LIB\amd64;c:\Program Files (x86)\Microsoft Visual Studio > 10.0\VC\ATLMFC\LIB\amd64;C:\Program Files (x86)\Microsoft > SDKs\Windows\v7.0A\lib\x64;C:\boost\boost_1_54_0\stage\lib > LIBPATH=C:\Windows\Microsoft.NET\Framework64\v4.0.30319;C:\Windows\Microsoft.NET\Framework64\v3.5;c:\Program > Files (x86)\Microsoft Visual Studio 10.0\VC\LIB\amd64;c:\Program Files > (x86)\Microsoft Visual Studio > 10.0\VC\ATLMFC\LIB\amd64;C:\boost\boost_1_54_0\stage\lib > Path=c:\Program Files (x86)\Microsoft Visual Studio > 10.0\VC\BIN\amd64;C:\Windows\Microsoft.NET\Framework64\v4.0.30319;C:\Windows\Microsoft.NET\Framework64\v3.5;c:\Program > Files (x86)\Microsoft Visual Studio 10.0\VC\VCPackages;c:\Program Files > (x86)\Microsoft Visual Studio 10.0\Common7\IDE;c:\Program Files > (x86)\Microsoft Visual Studio 10.0\Common7\Tools;C:\Program Files (x86)\HTML > Help Workshop;C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\bin\NETFX > 4.0 Tools\x64;C:\Program Files (x86)\Microsoft > SDKs\Windows\v7.0A\bin\x64;C:\Program Files (x86)\Microsoft > SDKs\Windows\v7.0A\bin;C:\Python33\;C:\Klocwork\User > 9.6\bin;C:\Klocwork\Server > 9.6\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program > Files (x86)\ATI Technologies\ATI.ACE\Core-Static;C:\Program Files > (x86)\Common Files\Roxio Shared\DLLShared\;C:\Program Files (x86)\Common > Files\Roxio Shared\10.0\DLLShared\;C:\Program Files (x86)\WinMerge;c:\Program > Files (x86)\Microsoft SQL Server\90\Tools\binn\;C:\Program Files (x86)\Code > Collaborator Client;C:\Program Files (x86)\NTP\bin;C:\Program > Files\Microsoft\Web Platform Installer\;C:\Program Files (x86)\Microsoft > ASP.NET\ASP.NET Web Pages\v1.0\;C:\Program Files\Microsoft SQL > Server\110\Tools\Binn\;C:\Program Files\TortoiseSVN\bin;C:\Program Files > (x86)\Windows Kits\8.0\Windows Performance Toolkit\;C:\Program Files > (x86)\Windows Kits\8.0\Debuggers\x86;C:\Program Files > (x86)\QuickTime\QTSystem\;C:\Program > Files\doxygen\bin;C:\Ruby200-x64\bin;c:\tools;c:\bats;C:\cyghome\utils;C:\cyghome\argus-libs\lib\Fusion4-DVR;C:\cyghome\argus-libs\lib\libJpegIPP\DLLs;C:\TOOLS\Sysinternals;C:\Program > Files (x86)\IDM Computer Solutions\UltraEdit\;C:\Program Files (x86)\IDM > Computer > Solutions\UltraCompare\;C:\cyghome\argus-libs\lib\ffmpeg;C:\cyghome\tools;C:\cyghome\argus-libs\lib\zlib;C:\cyghome\argus-libs\lib\libxml;C:\Program > Files (x86)\CMake 2.8\bin > PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC;.RB;.RBW > Platform=X64 > PROCESSOR_ARCHITECTURE=AMD64 > PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 42 Stepping 7, GenuineIntel > PROCESSOR_LEVEL=6 > PROCESSOR_REVISION=2a07 > RUBY_LIBRARY=C:\Ruby200-x64\lib > VCINSTALLDIR=c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\ > VS100COMNTOOLS=c:\Program Files (x86)\Microsoft Visual Studio > 10.0\Common7\Tools\ > VS110COMNTOOLS=C:\Program Files (x86)\Microsoft Visual Studio > 11.0\Common7\Tools\ > VS80COMNTOOLS=C:\Program Files (x86)\Microsoft Visual Studio 8\Common7\Tools\ > VSEDEFLOGDIR=C:\ProgramData\McAfee\DesktopProtection > VSINSTALLDIR=c:\Program Files (x86)\Microsoft Visual Studio 10.0\ > Directory of C:\boost\boost_1_54_0\stage\lib > 07/08/2013 11:22 AM <DIR> . > 07/08/2013 11:22 AM <DIR> .. > 07/08/2013 11:09 AM 5,304 libboost_atomic-vc110-mt-1_54.lib > 07/08/2013 10:56 AM 52,322 libboost_atomic-vc110-mt-gd-1_54.lib > 07/08/2013 11:09 AM 480,636 libboost_chrono-vc110-mt-1_54.lib > 07/08/2013 10:57 AM 2,062,582 libboost_chrono-vc110-mt-gd-1_54.lib > 07/08/2013 11:10 AM 2,766 libboost_context-vc110-mt-1_54.lib > 07/08/2013 10:57 AM 5,848 libboost_context-vc110-mt-gd-1_54.lib > 07/08/2013 11:10 AM 44,296 libboost_coroutine-vc110-mt-1_54.lib > 07/08/2013 10:57 AM 905,960 libboost_coroutine-vc110-mt-gd-1_54.lib > 07/08/2013 11:10 AM 762,748 libboost_date_time-vc110-mt-1_54.lib > 07/08/2013 10:57 AM 2,793,484 libboost_date_time-vc110-mt-gd-1_54.lib > 07/08/2013 11:10 AM 2,882 libboost_exception-vc110-mt-1_54.lib > 07/08/2013 10:57 AM 33,468 libboost_exception-vc110-mt-gd-1_54.lib > 07/08/2013 11:10 AM 1,202,304 libboost_filesystem-vc110-mt-1_54.lib > 07/08/2013 10:57 AM 5,986,182 > libboost_filesystem-vc110-mt-gd-1_54.lib > 07/08/2013 11:11 AM 5,988,254 libboost_graph-vc110-mt-1_54.lib > 07/08/2013 10:58 AM 14,856,578 libboost_graph-vc110-mt-gd-1_54.lib > 07/08/2013 11:11 AM 522,366 libboost_iostreams-vc110-mt-1_54.lib > 07/08/2013 10:58 AM 1,711,794 libboost_iostreams-vc110-mt-gd-1_54.lib > 07/08/2013 11:12 AM 7,974,420 libboost_locale-vc110-mt-1_54.lib > 07/08/2013 10:59 AM 27,467,094 libboost_locale-vc110-mt-gd-1_54.lib > 07/08/2013 11:13 AM 18,647,972 libboost_log-vc110-mt-1_54.lib > 07/08/2013 11:01 AM 62,962,658 libboost_log-vc110-mt-gd-1_54.lib > 07/08/2013 11:16 AM 146,609,068 libboost_log_setup-vc110-mt-1_54.lib > 07/08/2013 11:03 AM 372,662,846 libboost_log_setup-vc110-mt-gd-1_54.lib > 07/08/2013 11:17 AM 915,762 libboost_math_c99-vc110-mt-1_54.lib > 07/08/2013 11:04 AM 3,979,128 libboost_math_c99-vc110-mt-gd-1_54.lib > 07/08/2013 11:18 AM 918,378 libboost_math_c99f-vc110-mt-1_54.lib > 07/08/2013 11:05 AM 3,971,942 libboost_math_c99f-vc110-mt-gd-1_54.lib > 07/08/2013 11:18 AM 886,648 libboost_math_c99l-vc110-mt-1_54.lib > 07/08/2013 11:05 AM 3,923,692 libboost_math_c99l-vc110-mt-gd-1_54.lib > 07/08/2013 11:16 AM 6,355,856 libboost_math_tr1-vc110-mt-1_54.lib > 07/08/2013 11:03 AM 17,017,042 libboost_math_tr1-vc110-mt-gd-1_54.lib > 07/08/2013 11:17 AM 6,667,092 libboost_math_tr1f-vc110-mt-1_54.lib > 07/08/2013 11:04 AM 17,592,218 libboost_math_tr1f-vc110-mt-gd-1_54.lib > 07/08/2013 11:17 AM 6,293,830 libboost_math_tr1l-vc110-mt-1_54.lib > 07/08/2013 11:04 AM 16,874,982 libboost_math_tr1l-vc110-mt-gd-1_54.lib > 07/08/2013 11:21 AM 417,352 > libboost_prg_exec_monitor-vc110-mt-1_54.lib > 07/08/2013 11:08 AM 1,880,686 > libboost_prg_exec_monitor-vc110-mt-gd-1_54.lib > 07/08/2013 11:18 AM 6,978,044 > libboost_program_options-vc110-mt-1_54.lib > 07/08/2013 11:05 AM 22,410,818 > libboost_program_options-vc110-mt-gd-1_54.lib > 07/08/2013 11:20 AM 6,571,390 libboost_python-vc110-mt-1_54.lib > 07/08/2013 11:07 AM 26,408,890 libboost_python-vc110-mt-gd-1_54.lib > 07/08/2013 11:20 AM 6,571,390 libboost_python3-vc110-mt-1_54.lib > 07/08/2013 11:07 AM 26,408,890 libboost_python3-vc110-mt-gd-1_54.lib > 07/08/2013 11:20 AM 132,588 libboost_random-vc110-mt-1_54.lib > 07/08/2013 11:07 AM 597,522 libboost_random-vc110-mt-gd-1_54.lib > 07/08/2013 11:11 AM 11,507,578 libboost_regex-vc110-mt-1_54.lib > 07/08/2013 10:58 AM 38,436,260 libboost_regex-vc110-mt-gd-1_54.lib > 07/08/2013 11:20 AM 11,874,762 > libboost_serialization-vc110-mt-1_54.lib > 07/08/2013 11:07 AM 35,962,884 > libboost_serialization-vc110-mt-gd-1_54.lib > 07/08/2013 11:21 AM 1,226,440 libboost_signals-vc110-mt-1_54.lib > 07/08/2013 11:08 AM 4,889,808 libboost_signals-vc110-mt-gd-1_54.lib > 07/08/2013 11:09 AM 132,048 libboost_system-vc110-mt-1_54.lib > 07/08/2013 10:57 AM 599,278 libboost_system-vc110-mt-gd-1_54.lib > 07/08/2013 11:22 AM 11,692,218 > libboost_test_exec_monitor-vc110-mt-1_54.lib > 07/08/2013 11:09 AM 28,444,630 > libboost_test_exec_monitor-vc110-mt-gd-1_54.lib > 07/08/2013 11:12 AM 1,077,188 libboost_thread-vc110-mt-1_54.lib > 07/08/2013 10:59 AM 3,481,234 libboost_thread-vc110-mt-gd-1_54.lib > 07/08/2013 11:22 AM 258,454 libboost_timer-vc110-mt-1_54.lib > 07/08/2013 11:09 AM 1,226,768 libboost_timer-vc110-mt-gd-1_54.lib > 07/08/2013 11:22 AM 12,738,320 > libboost_unit_test_framework-vc110-mt-1_54.lib > 07/08/2013 11:09 AM 31,492,116 > libboost_unit_test_framework-vc110-mt-gd-1_54.lib > 07/08/2013 11:22 AM 46,219,952 libboost_wave-vc110-mt-1_54.lib > 07/08/2013 11:09 AM 100,767,276 libboost_wave-vc110-mt-gd-1_54.lib > 07/08/2013 11:21 AM 9,159,776 > libboost_wserialization-vc110-mt-1_54.lib > 07/08/2013 11:08 AM 23,032,148 > libboost_wserialization-vc110-mt-gd-1_54.lib -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org For additional commands, e-mail: dev-h...@qpid.apache.org