
Hi, path to managed_shared_memory.hpp /usr/local/include/boost-1_39/boost/interprocess/managed_shared_memory.hpp My program name is boostindex.cpp I am running the following command g++ -I /usr/local/include/boost-1_39 boostindex.cpp -lrt and gettting the following error In file included from /usr/local/include/boost-1_39/boost/interprocess/sync/interprocess_mutex.hpp:47, from /usr/local/include/boost-1_39/boost/interprocess/mem_algo/rbtree_best_fit.hpp:27, from /usr/local/include/boost-1_39/boost/interprocess/detail/managed_memory_impl.hpp:22, from /usr/local/include/boost-1_39/boost/interprocess/managed_shared_memory.hpp:21, from boostindex.cpp:1: /usr/local/include/boost-1_39/boost/interprocess/detail/atomic.hpp:466:2: #error No atomic operations implemented for this platform, sorry! /usr/local/include/boost-1_39/boost/interprocess/detail/atomic.hpp:45: warning: inline function `uint32_t boost::interprocess::detail::atomic_cas32(volatile uint32_t*, uint32_t, uint32_t)' used but never defined /usr/local/include/boost-1_39/boost/interprocess/detail/atomic.hpp:36: warning: inline function `void boost::interprocess::detail::atomic_write32(volatile uint32_t*, uint32_t)' used but never defined /usr/local/include/boost-1_39/boost/interprocess/detail/atomic.hpp:31: warning: inline function `uint32_t boost::interprocess::detail::atomic_read32(volatile uint32_t*)' used but never defined Now this error is different from what earlier i was getting since i ran one more command for checking installation. g++ -E -I/usr/local/include//boost-1_39 boostindex.cpp >/dev/null from the following link http://ubuntuforums.org/showthread.php?t=1180792 Please help. Thanks in advance. Sergey Nikulov wrote:
Manish,
According you first description gcc can not find include files. Solution for this, just provide compiler with exact path using -I options.
Could you please provide exact compiler error and exact path to managed_shared_memory.hpp file?
2009/10/1 manish4gupta
As i said I am installing the boost on itanium (64 bit red hat) machine. I am following the three steps. ./bootstrap.sh --prefix=/usr/local ./bjam ./bjam install
boost gets installed in /usr/local/include . should I give any other options like ia64 while building since it 64 bit machine.Also do i need to specify the libdir and include dir option ? If yes what could be the option. Please help. Thanks in advance.
do i need to specify where to install
manish4gupta wrote:
I tried this way also
g++ -I /usr/local/include/boost_1_39 programe_name.cpp and g++ -I /usr/local/include/boost_1_39 programe_name.cpp -lrt but still error is same.
Marshall Clow-2 wrote:
On Sep 30, 2009, at 5:50 PM, manish4gupta wrote:
Vladimir Prus-3 wrote:
manish4gupta wrote:
> > I ran in this way also. > > g++ -I /usr/include/boost_1_39 programe_name.cpp
If you have installed boost to /usr/local, as your prior email say, then
/usr/include/boost_1_39
is clearly a wrong path. Can you please provide the *exact* command you have used. You should copy-paste the command directly from terminal.
I have used the command g++ -I usr/local/include/boost_1_39 programe_name.cpp still getting the same error.
"usr/local/include/boost_1_39" is not the same as "/usr/include/ boost_1_39".
At the very least, you need a leading '/' in the path.
-- Marshall
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
-- View this message in context: http://www.nabble.com/How-to-install-boost-1_39-on-itanium-server-tp25680594... Sent from the Boost - Users mailing list archive at Nabble.com.
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
-- Best Regards, Sergey Nikulov
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
-- View this message in context: http://www.nabble.com/How-to-install-boost-1_39-on-itanium-server-tp25680594... Sent from the Boost - Users mailing list archive at Nabble.com.