tpaviot/pythonocc — Issue #53: SMESH: library not found for -lSMDSAbs, boost missing...
Author: jf---
Created: 2011-12-30 10:49:14+00:00
State: open

When building SMESH, the SMDSAbs lib is not found. Which makes sense, since SMESH installs:

SMDS
SMESHDS
StdMeshers
Driver [ UNV, STL, DAT ]

[ 69%] Building CXX object CMakeFiles/_Resource.dir/src/wrapper/SWIG_files/linux_darwin/ResourcePYTHON_wrap.cxx.o
Linking CXX shared module _SMDSAbs.so
ld: library not found for -lSMDSAbs

A little further boost is not found:

In file included from /usr/local/include/smesh-5.1.2.2/SMDS_EdgePosition.hxx:31,from /Users/localadmin/Documents/workspace/pythonocc/build/src/wrapper/SWIG_files/linux_darwin/SMDSPYTHON_wrap.cxx:4753: /usr/local/include/smesh-5.1.2.2/SMDS_Position.hxx:32:32: error: boost/shared_ptr.hpp: No such file or directory

however, BOOST_INCLUDE_PATH is set correctly to: /opt/local/include/boost

caesar:~ localadmin$ /opt/local/include/boost/
accumulators/ detail/ integer/ numeric/ random/ tuple/
algorithm/ dynamic_bitset/ interprocess/ optional/ range/ type_traits/
archive/ exception/ intrusive/ parameter/ ratio/ typeof/
asio/ filesystem/ io/ pending/ regex/ units/
assign/ flyweight/ iostreams/ phoenix/ serialization/ unordered/
bimap/ format/ iterator/ polygon/ signals/ utility/
bind/ function/ lambda/ pool/ signals2/ uuid/
chrono/ function_types/ logic/ preprocessor/ smart_ptr/ variant/
circular_buffer/ functional/ math/ program_options/ spirit/ wave/
compatibility/ fusion/ mpi/ property_map/ statechart/ xpressive/
concept/ geometry/ mpl/ property_tree/ system/
concept_check/ gil/ msm/ proto/ test/
config/ graph/ multi_array/ ptr_container/ thread/
date_time/ icl/ multi_index/ python/ tr1/

Perhaps BOOST_INCLUDE_PATH is not being picked up well?