Error Compiling Filesystem Version 3
person Affects Status Importance Assigned to Milestone OpenCog Edit Fix Released Critical linas Edit You need to log in to change this bug's status. Affecting: OpenCog Filed here by: Mathis When: 2012-10-10 Confirmed: 2012-10-10 Assigned: 2012-10-10 Started work: 2012-10-10 Completed: 2012-10-10 Target Distribution Baltix BOSS Juju Charms Collection Elbuntu Guadalinex Guadalinex Edu Kiwi Linux nUbuntu PLD Linux Tilix tuXlab Ubuntu Ubuntu Linaro Evaluation Build Ubuntu RTM Package (Find…) Project (Find…) Status Importance Fix Released Critical Assigned to Me linas (linasvepstas) Comment on this change (optional) Email me about changes to this bug report Also affects project (?) Also affects distribution/package Nominate for series Bug Description After using the workaround https://bugs.launchpad.net/opencog/+bug/1057640/comments/21 I get the error below when building on arch linux with revison 7666 gcc 4.7.2 boost 1.50.0 This error disappears when I replace #define BOOST_FILESYSTEM_VERSION 2 with #define BOOST_FILESYSTEM_VERSION 3 I attached a patch summarizing these changes. ############### [ 36%] Building CXX object opencog/server/CMakeFiles/server.dir/CogServer.cc.o cd /tmp/packerbuild-1000/opencog-bzr/opencog-bzr/src/build/opencog/server && /usr/bin/c++ -Dserver_EXPORTS -DHAVE_EXPAT -DHAVE_GSL -DHAVE_GUILE -DHAVE_MPI -DHAVE_PROTOBUF -DHAVE_CYTHON -DHAVE_SQL_STORAGE -DHAVE_VALGRIND -DHAVE_ZMQ -DHAVE_UBIGRAPH -Wall -fPIC -Wno-variadic-macros -fopenmp -std=gnu++0x -ggdb3 -fstack-protector -fPIC -I/tmp/packerbuild-1000/opencog-bzr/opencog-bzr/src/build -DPROJECT_SOURCE_DIR=\"/tmp/packerbuild-1000/opencog-bzr/opencog-bzr/src/build\" -DPROJECT_BINARY_DIR=\"/tmp/packerbuild-1000/opencog-bzr/opencog-bzr/src/build\" -DCONFDIR=\"/etc\" -DDATADIR=\"/usr/share/opencog\" -o CMakeFiles/server.dir/CogServer.cc.o -c /tmp/packerbuild-1000/opencog-bzr/opencog-bzr/src/build/opencog/server/CogServer.cc In file included from /usr/include/boost/filesystem/operations.hpp:24:0, from /tmp/packerbuild-1000/opencog-bzr/opencog-bzr/src/build/opencog/server/CogServer.cc:40: /usr/include/boost/filesystem/config.hpp:16:5: error: #error Compiling Filesystem versio
Sign in Pricing Blog Support Search GitHub This repository Watch 48 Star 234 Fork 86 luceneplusplus/LucenePlusPlus Code Issues 9 Pull requests 1 Projects 0 Pulse Graphs New issue Compile errors with boost_1_51_0 #30 Closed arkagod opened this Issue Sep 24, 2012 · 2 comments Projects None yet https://bugs.launchpad.net/bugs/1065156 Labels None yet Milestone No milestone Assignees No one assigned 3 participants arkagod commented Sep 24, 2012 Error listing from VS Config.h #define BOOST_FILESYSTEM_VERSION 3 1>.\util\FileUtils.cpp(167) : error C2039: 'wdirectory_iterator' : is not a member of 'boost::filesystem' 1>.\util\FileUtils.cpp(207) : https://github.com/luceneplusplus/LucenePlusPlus/issues/30 error C2039: 'directory_string' : is not a member of 'boost::filesystem::path' and more... bendiken commented Mar 20, 2013 I, too, ran into the very same problem building against Boost 1.50: [ 70%] Building CXX object src/core/CMakeFiles/lucene++.dir/util/FileUtils.cpp.o In file included from /usr/include/boost/filesystem/operations.hpp:24:0, from /usr/include/boost/filesystem/convenience.hpp:22, from /src/LucenePlusPlus/src/core/util/FileUtils.cpp:8: /usr/include/boost/filesystem/config.hpp:16:5: error: #error Compiling Filesystem version 3 file with BOOST_FILESYSTEM_VERSION defined != 3 /src/LucenePlusPlus/src/core/util/FileUtils.cpp: In function ‘bool Lucene::FileUtils::listDirectory(const String&, bool, Lucene::HashSet
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss http://stackoverflow.com/questions/12105202/mongodb-c-driver-install-on-linux the workings and policies of this site About Us Learn more https://groups.google.com/d/msg/librets/3-JU62KqQCM/r4kg7dat9ZwJ about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping error compiling each other. Join them; it only takes a minute: Sign up Mongodb C++ driver install on Linux up vote 1 down vote favorite I have installed this driver for long time, but failed. There is the same mistake as following: scons: Reading SConscript files ... Checking for C++ library boost_thread-mt... (cached) no Checking for C++ library boost_thread... (cached) error compiling filesystem yes Checking for C++ library boost_filesystem-mt... (cached) no Checking for C++ library boost_filesystem... (cached) yes Checking for C++ library boost_system-mt... (cached) no Checking for C++ library boost_system... (cached) yes scons: done reading SConscript files. scons: Building targets ... g++ -o build/mongo/client/dbclient_rs.o -c -O3 -pthread -D_SCONS -DMONGO_EXPOSE_MACROS -Ibuild -Isrc -Ibuild/mongo -Isrc/mongo src/mongo/client/dbclient_rs.cpp In file included from /usr/local/include/boost/filesystem/path.hpp:24, from src/mongo/util/paths.h:26, from src/mongo/db/client.h:38, from src/mongo/db/curop.h:23, from src/mongo/db/curop-inl.h:1, from src/mongo/db/instance.h:23, from src/mongo/db/dbmessage.h:25, from src/mongo/client/dbclient_rs.cpp:27: /usr/local/include/boost/filesystem/config.hpp:16:5: error: #error Compiling Filesystem version 3 file with BOOST_FILESYSTEM_VERSION defined != 3 scons: *** [build/mongo/client/dbclient_rs.o] Error 1 scons: building terminated because of erro`enter code here`rs.`enter code here` before install, I have installed the boost 1.5, pcre8.3, and I want install mongodb driver 2.2 Any ideas ? Thanks! linux mongodb boost scons share|improve this question asked Aug 24 '12 at 7:48 hole 63 add a comment| 2 Answers 2 active oldest votes up vote 3 down vote I encountered the same problem with you. In mongodb C++ driver source src/mongo/pch.h #define BOOST_FILESYSTEM_VERSION 2 but in /usr/local/include/boost/filesystem/config.hpp: # if defined(BOOST_FILESYSTEM_VERSION) && BOOST_FILESYSTEM_VERSION
von GoogleAnmeldenAusgeblendete FelderNach Gruppen oder Nachrichten suchen