Problems with Boost 1.41
Hi everyone,
I'm trying to build this http://vina.scripps.edu/manual.html#build program using Boost 1.41.
'make' command gives me a large amount of errors:
noraneko@noraneko-K53SJ:~/Programs/autodock_vina_1_1_2/build/linux/release$ make/usr/bin/g++ -static -pthread -ansi -Wno-long-long -O3 -DNDEBUG -I /usr/local/include -I ../../../src/lib -o main.o -c ../../../src/main/main.cpp
In file included from /usr/local/include/boost/thread/detail/platform.hpp:17:0,
from /usr/local/include/boost/thread/thread.hpp:12,
from ../../../src/main/main.cpp:32:
/usr/local/include/boost/config/requires_threads.hpp:29:4: error: #error "Threading support unavaliable: it has been explicitly disabled with BOOST_DISABLE_THREADS"
In file included from /usr/local/include/boost/thread/thread.hpp:12:0,
from ../../../src/main/main.cpp:32:
/usr/local/include/boost/thread/detail/platform.hpp:67:9: error: #error "Sorry, no boost threads are available for this platform."
In file included from ../../../src/main/main.cpp:32:0:
/usr/local/include/boost/thread/thread.hpp:19:2: error: #error "Boost threads unavailable on this platform"
In file included from /usr/local/include/boost/thread/detail/thread.hpp:11:0,
from /usr/local/include/boost/thread/thread.hpp:22,
from ../../../src/main/main.cpp:32:
/usr/local/include/boost/thread/mutex.hpp:18:2: error: #error "Boost threads unavailable on this platform"
In file included from /usr/local/include/boost/thread/detail/thread.hpp:13:0,
from /usr/local/include/boost/thread/thread.hpp:22,
from ../../../src/main/main.cpp:32:
/usr/local/include/boost/thread/detail/thread_heap_alloc.hpp:19:2: error: #error "Boost threads unavailable on this platform"
In file included from /usr/local/include/boost/thread/detail/thread_group.hpp:9:0,
from /usr/local/include/boost/thread/thread.hpp:24,
from ../../../src/main/main.cpp:32:
/usr/local/include/boost/thread/shared_mutex.hpp:18:2: error: #error "Boost threads unavailable on this platform"
In file included from /usr/local/include/boost/thread/thread.hpp:22:0,
from ../../../src/main/main.cpp:32:
/usr/local/include/boost/thread/detail/thread.hpp:40:9: error: expected class-name before ‘{’ token
/usr/local/include/boost/thread/detail/thread.hpp:68:9: error: expected class-name before ‘{’ token
/usr/local/include/boost/thread/detail/thread.hpp:88:9: error: expected class-name before ‘{’ token
/usr/local/include/boost/thread/detail/thread.hpp:113:17: error: ‘mutex’ in namespace ‘boost’ does not name a type
/usr/local/include/boost/thread/detail/thread.hpp:114:9: error: ‘thread_data_ptr’ in namespace ‘boost::detail’ does not name a type
/usr/local/include/boost/thread/detail/thread.hpp:118:49: error: expected ‘)’ before ‘data’
/usr/local/include/boost/thread/detail/thread.hpp:120:9: error: ‘thread_data_ptr’ in namespace ‘boost::detail’ does not name a type
In file included from /usr/local/include/boost/thread/thread.hpp:22:0,
from ../../../src/main/main.cpp:32:
/usr/local/include/boost/thread/detail/thread.hpp:134:23: error: ‘thread_data_ptr’ in namespace ‘boost::detail’ does not name a type
/usr/local/include/boost/thread/detail/thread.hpp:139:23: error: ‘thread_data_ptr’ in namespace ‘boost::detail’ does not name a type
/usr/local/include/boost/thread/detail/thread.hpp:319:17: error: ‘thread_data_base’ in namespace ‘boost::detail’ does not name a type
/usr/local/include/boost/thread/detail/thread.hpp:320:9: error: ‘native_handle_type’ does not name a type
/usr/local/include/boost/thread/detail/thread.hpp: In constructor ‘boost::thread::thread(F, typename boost::disable_if
On Sunday, March 09, 2014 06:05 PM, Ксения Сафина wrote:
Hi everyone,
I'm trying to build this http://vina.scripps.edu/manual.html#build program using Boost 1.41.
'make' command gives me a large amount of errors:
snip
error: #error "Threading support unavaliable: it has been explicitly disabled with BOOST_DISABLE_THREADS"
snip
error: #error "Sorry, no boost threads are available for this platform."
snip
Could anyone help me to understand what do these all errors mean?
I think the error messages are quite clear.
I'm on Ubuntu 13.04, gcc version is 4.7.3 (Ubuntu/Linaro 4.7.3-1ubuntu1)
I hesitate to ask, but what architecture is your platform? Boost 1.41 was tested with gcc 4.4.1 on Ubuntu (and some older compilers), the platform is not mentioned, but it's probably x86 or x86_64. It's possible that you need to modify the compiler configuration to accept the newer gcc and/or libstdc++. Ben
participants (2)
-
Ben Pope
-
Ксения Сафина