
Could you please try to point compiler for includes
g++ program_name.cpp -lrt -I
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
After installation, libboost files are all located in /usr/lib.
But i am trying to run one simple code.
#include
#include #include #include #include <iostream> using namespace boost::interprocess;
//Typedefs of allocators and containers typedef managed_shared_memory::segment_manager segment_manager_t; typedef allocator
void_allocator; typedef allocator char_allocator; typedef basic_string char_string; //Definition of the map holding a string as key and complex_data as mapped type typedef std:air
map_value_type; typedef allocator map_value_type_allocator; typedef map< char_string, int, std::less , map_value_type_allocator> complex_map_type; int main () { shared_memory_object::remove("MySharedMemory");
//Create shared memory managed_shared_memory segment(create_only,"MySharedMemory", 65536);
//An allocator convertible to any allocator
type void_allocator alloc_inst (segment.get_segment_manager()); //Construct the shared memory map and fill it complex_map_type *mymap = segment.construct
("MyMap")(std:: less (), alloc_inst); char_string cs("test", alloc_inst); for(int i = 0; i < 100; ++i) { mymap->insert(std:air
(cs , i)); } return 0; } with command g++ program_name.cpp -lrt
It is showing error "No such file and directory" for every header file. This code is working fine on 32 bit (installed by other person).May i know what is the pblm?
-- 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