Alembic Python mdoule compiling errors
Opened this issue · 10 comments
GoogleCodeExporter commented
What steps will reproduce the problem?
1. alembic compiling configuration
python build/bootstrap/alembic_bootstrap.py
--dependency-install-root=$DAMB_DEPENDENTS_LIBS_PATH
--with-maya=/mnt/software/maya/maya2013sp2-x64/ --debug --enable-pyalembic
../alembic_build_1.5.1/
2. boost compiling configuration
./bootstrap.sh --show-libraries --with-libraries=program_options
--with-libraries=thread --with-libraries=python
--prefix=/mnt/studio/toolbox/thirdparty/DEPENDENTS_DAMB/boost_1_44_0/
3. boost build
./bjam install --layout=versioned link=static threading=multi cxxflags=-fPIC
What is the expected output? What do you see instead?
There are a lot of errors in alembic python codes, which show that the codes of
boost python module exist some incompatible definitions.
compiling error messages
--------------------------
[ 73%] Building CXX object
python/PyAlembic/CMakeFiles/alembicmodule.dir/PyIArrayProperty.cpp.o
cd /tmp/alembic_build_1.5.1/python/PyAlembic && /usr/bin/c++ -DDEBUG=1
-DPLATFORM=LINUX -DPLATFORM_LINUX -Dalembicmodule_EXPORTS -g -fPIC
-I/.mounts/stg1/toolbox/thirdparty/DEPENDENTS_DAMB/boost_1_44_0/include/boost-1_
44
-I/.mounts/stg1/toolbox/thirdparty/DEPENDENTS_DAMB/ilmbase.1.0.3/include/OpenEXR
-I/.mounts/stg1/toolbox/thirdparty/DEPENDENTS_DAMB/pyilmbase-1.0.0/include/OpenE
XR -I/.mounts/stg1/toolbox/thirdparty/DEPENDENTS_DAMB/hdf5-1.8.12/include
-I/tmp/Alembic_1.5.1_2013091900_jhy/lib -I/usr/include/python2.6
-I/tmp/Alembic_1.5.1_2013091900_jhy/python/PyAlembic -UNDEBUG -Wall -Werror
-Wextra -Wno-unused-parameter -fPIC -o
CMakeFiles/alembicmodule.dir/PyIArrayProperty.cpp.o -c
/tmp/Alembic_1.5.1_2013091900_jhy/python/PyAlembic/PyIArrayProperty.cpp
cc1plus: warnings being treated as errors
In file included from
/.mounts/stg1/toolbox/thirdparty/DEPENDENTS_DAMB/boost_1_44_0/include/boost-1_44
/boost/serialization/serialization.hpp:14,
from /.mounts/stg1/toolbox/thirdparty/DEPENDENTS_DAMB/boost_1_44_0/include/boost-1_44/boost/multi_index/detail/archive_constructed.hpp:19,
from /.mounts/stg1/toolbox/thirdparty/DEPENDENTS_DAMB/boost_1_44_0/include/boost-1_44/boost/multi_index_container.hpp:46,
from /.mounts/stg1/toolbox/thirdparty/DEPENDENTS_DAMB/pyilmbase-1.0.0/include/OpenEXR/PyImathStringTable.h:40,
from /.mounts/stg1/toolbox/thirdparty/DEPENDENTS_DAMB/pyilmbase-1.0.0/include/OpenEXR/PyImathStringArray.h:39,
from /tmp/Alembic_1.5.1_2013091900_jhy/python/PyAlembic/PyTypeBindingTraits.h:48,
from /tmp/Alembic_1.5.1_2013091900_jhy/python/PyAlembic/PyTypeBindingUtil.h:40,
from /tmp/Alembic_1.5.1_2013091900_jhy/python/PyAlembic/PyIArrayProperty.cpp:40:
/.mounts/stg1/toolbox/thirdparty/DEPENDENTS_DAMB/boost_1_44_0/include/boost-1_44
/boost/archive/basic_archive.hpp:57: error: type qualifiers ignored on function
return type
/.mounts/stg1/toolbox/thirdparty/DEPENDENTS_DAMB/boost_1_44_0/include/boost-1_44
/boost/archive/basic_archive.hpp:93: error: type qualifiers ignored on function
return type
/.mounts/stg1/toolbox/thirdparty/DEPENDENTS_DAMB/boost_1_44_0/include/boost-1_44
/boost/archive/basic_archive.hpp:130: error: type qualifiers ignored on
function return type
/.mounts/stg1/toolbox/thirdparty/DEPENDENTS_DAMB/boost_1_44_0/include/boost-1_44
/boost/archive/basic_archive.hpp:164: error: type qualifiers ignored on
function return type
In file included from
/.mounts/stg1/toolbox/thirdparty/DEPENDENTS_DAMB/boost_1_44_0/include/boost-1_44
/boost/multi_index_container.hpp:48,
from /.mounts/stg1/toolbox/thirdparty/DEPENDENTS_DAMB/pyilmbase-1.0.0/include/OpenEXR/PyImathStringTable.h:40,
from /.mounts/stg1/toolbox/thirdparty/DEPENDENTS_DAMB/pyilmbase-1.0.0/include/OpenEXR/PyImathStringArray.h:39,
from /tmp/Alembic_1.5.1_2013091900_jhy/python/PyAlembic/PyTypeBindingTraits.h:48,
from /tmp/Alembic_1.5.1_2013091900_jhy/python/PyAlembic/PyTypeBindingUtil.h:40,
from /tmp/Alembic_1.5.1_2013091900_jhy/python/PyAlembic/PyIArrayProperty.cpp:40:
/.mounts/stg1/toolbox/thirdparty/DEPENDENTS_DAMB/boost_1_44_0/include/boost-1_44
/boost/serialization/collection_size_type.hpp:40: error: type qualifiers
ignored on function return type
make[2]: ***
[python/PyAlembic/CMakeFiles/alembicmodule.dir/PyIArrayProperty.cpp.o] Error 1
make[2]: Leaving directory `/tmp/alembic_build_1.5.1'
make[1]: *** [python/PyAlembic/CMakeFiles/alembicmodule.dir/all] Error 2
make[1]: Leaving directory `/tmp/alembic_build_1.5.1'
make: *** [all] Error 2
What version of the product are you using? On what operating system?
alembic 1.5.1
scientific linux 6.4
Please provide any additional information below.
boost 1.44
hdf5-1.8.12
ilmbase 1.0.3
pyilmbase 1.0.0
zlib 1.2.8
alembic configuration report
------------------------------
-- SUCCESSFULY RAN A WORKING PYILMBASE TRY COMPILE EXECUTABLE.
LOG:
-- Configuring done
-- Generating done
-- Build files have been written to: /tmp/alembic_build_1.5.1
CMake Warning:
Manually-specified variables were not used by the project:
ALEMBIC_PYILMBASE_LIBRARY_DIRECTORY
ALEMBIC_PYILMBASE_PYIMATH_MODULE_DIRECTORY
Executing CMake command: cmake -D BOOTSTRAP_MODE:INTERNAL=FALSE -D
RUN_FROM_MK:STRING="TRUE" /tmp/Alembic_1.5.1_2013091900_jhy
-- CMAKE SYSTEM NAME = Linux
-- The install dir is /usr/local/alembic-1.5.1
-- OpenGL Libraries:
GLEW;/usr/lib64/libglut.so;/usr/lib64/libXmu.so;/usr/lib64/libXi.so;/usr/lib64/l
ibGLU.so;/usr/lib64/libGL.so;/usr/lib64/libSM.so;/usr/lib64/libICE.so;/usr/lib64
/libX11.so;/usr/lib64/libXext.so
-- Using BOOST_INCLUDEDIR:
/.mounts/stg1/toolbox/thirdparty/DEPENDENTS_DAMB/boost_1_44_0/include/boost-1_44
-- Using BOOST_LIBRARYDIR:
/.mounts/stg1/toolbox/thirdparty/DEPENDENTS_DAMB/boost_1_44_0/lib
-- Using BOOST_ROOT: /usr/include/boost-1_42/boost
-- Boost version: 1.44.0
-- Found the following Boost libraries:
-- program_options
-- python
-- thread
-- BOOST_VERSION: 104400
-- BOOST FOUND: TRUE
-- BOOST INCLUDE DIRS:
/.mounts/stg1/toolbox/thirdparty/DEPENDENTS_DAMB/boost_1_44_0/include/boost-1_44
-- BOOST LIBRARIES:
/.mounts/stg1/toolbox/thirdparty/DEPENDENTS_DAMB/boost_1_44_0/lib/libboost_progr
am_options-gcc44-mt-1_44.a;/.mounts/stg1/toolbox/thirdparty/DEPENDENTS_DAMB/boos
t_1_44_0/lib/libboost_python-gcc44-mt-1_44.a;/.mounts/stg1/toolbox/thirdparty/DE
PENDENTS_DAMB/boost_1_44_0/lib/libboost_thread-gcc44-mt-1_44.a
-- ALEMBIC_BOOST_FOUND: 1
ILMBASE_ROOT is undefined
-- ILMBASE INCLUDE PATH:
/.mounts/stg1/toolbox/thirdparty/DEPENDENTS_DAMB/ilmbase.1.0.3/include/OpenEXR
-- HALF LIB:
/.mounts/stg1/toolbox/thirdparty/DEPENDENTS_DAMB/ilmbase.1.0.3/lib/libHalf.a
-- IEX LIB:
/.mounts/stg1/toolbox/thirdparty/DEPENDENTS_DAMB/ilmbase.1.0.3/lib/libIex.a
-- IEXMATH LIB:
-- ILMTHREAD LIB:
/.mounts/stg1/toolbox/thirdparty/DEPENDENTS_DAMB/ilmbase.1.0.3/lib/libIlmThread.
a
-- IMATH LIB:
/.mounts/stg1/toolbox/thirdparty/DEPENDENTS_DAMB/ilmbase.1.0.3/lib/libImath.a
-- About to include AlembicPyIlmBase.cmake
-- About to start finding PyIlmBase and PyImath
-- PYILMBASE INCLUDE PATH:
/.mounts/stg1/toolbox/thirdparty/DEPENDENTS_DAMB/pyilmbase-1.0.0/include/OpenEXR
-- PYIMATH LIB:
/.mounts/stg1/toolbox/thirdparty/DEPENDENTS_DAMB/pyilmbase-1.0.0/lib/libPyImath.
so
-- PYIMATH MODULE: ALEMBIC_PYILMBASE_PYIMATH_MODULE-NOTFOUND
-- Found Python 2.6: /usr/bin/python2.6
-- I AM TOTALLY SETTING HDF5 INCLUDE DIR FROM ENVIRONMENT:
/mnt/studio/toolbox/thirdparty/DEPENDENTS_DAMB/hdf5-1.8.12/include
-- HDF5 INCLUDE PATH:
/.mounts/stg1/toolbox/thirdparty/DEPENDENTS_DAMB/hdf5-1.8.12/include
-- HDF5 LIBRARIES:
/.mounts/stg1/toolbox/thirdparty/DEPENDENTS_DAMB/hdf5-1.8.12/lib/libhdf5.a;/usr/
lib64/libpthread.so;/usr/lib64/libz.so;/usr/lib64/librt.so;/usr/lib64/libdl.so;/
usr/lib64/libm.so;/.mounts/stg1/toolbox/thirdparty/DEPENDENTS_DAMB/hdf5-1.8.12/l
ib/libhdf5_hl.a;/.mounts/stg1/toolbox/thirdparty/DEPENDENTS_DAMB/hdf5-1.8.12/lib
/libhdf5.a
-- Found HDF5 Library!
-- Skipping Prman plugins
-- Skipping Arnold plugins
-- About to include AlembicMaya.cmake
-- Using MAYA_ROOT /mnt/software/maya/maya2013sp2-x64/
-- Maya lib root: /mnt/software/maya/maya2013sp2-x64//lib
-- Found Maya!
-- Building Maya plugins
-- About to include Python cmake files
-- LIBPYTHON_FILE: libpython2.6.so
-- ALEMBIC_PYTHON_ROOT: /usr/lib64/python2.6/config
-- ALEMBIC_PYTHON_LIBRARY: /usr/lib64/python2.6/config/libpython2.6.so
-- Boost_PYTHON_LIBRARY:
/.mounts/stg1/toolbox/thirdparty/DEPENDENTS_DAMB/boost_1_44_0/lib/libboost_pytho
n-gcc44-mt-1_44.a
-- PYTHON_INCLUDE_DIR:/usr/include/python2.6
-- Found libboost_python:
/.mounts/stg1/toolbox/thirdparty/DEPENDENTS_DAMB/boost_1_44_0/lib/libboost_pytho
n-gcc44-mt-1_44.a
-- LIBPYTHON_FILE: libpython2.6.a
-- ALEMBIC_PYTHON_ROOT: /usr/lib64/python2.6/config
-- ALEMBIC_PYTHON_LIBRARY: /usr/lib64/python2.6/config/libpython2.6.so
-- Boost_PYTHON_LIBRARY:
/.mounts/stg1/toolbox/thirdparty/DEPENDENTS_DAMB/boost_1_44_0/lib/libboost_pytho
n-gcc44-mt-1_44.a
-- PYTHON_INCLUDE_DIR:/usr/include/python2.6
-- Found libboost_python:
/.mounts/stg1/toolbox/thirdparty/DEPENDENTS_DAMB/boost_1_44_0/lib/libboost_pytho
n-gcc44-mt-1_44.a
-- Configuring done
-- Generating done
-- Build files have been written to: /tmp/alembic_build_1.5.1
-- CMAKE SYSTEM NAME = Linux
-- The install dir is /usr/local/alembic-1.5.1
-- OpenGL Libraries:
GLEW;/usr/lib64/libglut.so;/usr/lib64/libXmu.so;/usr/lib64/libXi.so;/usr/lib64/l
ibGLU.so;/usr/lib64/libGL.so;/usr/lib64/libSM.so;/usr/lib64/libICE.so;/usr/lib64
/libX11.so;/usr/lib64/libXext.so
-- Using BOOST_INCLUDEDIR:
/.mounts/stg1/toolbox/thirdparty/DEPENDENTS_DAMB/boost_1_44_0/include/boost-1_44
-- Using BOOST_LIBRARYDIR:
/.mounts/stg1/toolbox/thirdparty/DEPENDENTS_DAMB/boost_1_44_0/lib
-- Using BOOST_ROOT: /usr/include/boost-1_42/boost
-- Boost version: 1.44.0
-- Found the following Boost libraries:
-- program_options
-- python
-- thread
-- BOOST_VERSION: 104400
-- BOOST FOUND: TRUE
-- BOOST INCLUDE DIRS:
/.mounts/stg1/toolbox/thirdparty/DEPENDENTS_DAMB/boost_1_44_0/include/boost-1_44
-- BOOST LIBRARIES:
/.mounts/stg1/toolbox/thirdparty/DEPENDENTS_DAMB/boost_1_44_0/lib/libboost_progr
am_options-gcc44-mt-1_44.a;/.mounts/stg1/toolbox/thirdparty/DEPENDENTS_DAMB/boos
t_1_44_0/lib/libboost_python-gcc44-mt-1_44.a;/.mounts/stg1/toolbox/thirdparty/DE
PENDENTS_DAMB/boost_1_44_0/lib/libboost_thread-gcc44-mt-1_44.a
-- ALEMBIC_BOOST_FOUND: 1
ILMBASE_ROOT is undefined
-- ILMBASE INCLUDE PATH:
/.mounts/stg1/toolbox/thirdparty/DEPENDENTS_DAMB/ilmbase.1.0.3/include/OpenEXR
-- HALF LIB:
/.mounts/stg1/toolbox/thirdparty/DEPENDENTS_DAMB/ilmbase.1.0.3/lib/libHalf.a
-- IEX LIB:
/.mounts/stg1/toolbox/thirdparty/DEPENDENTS_DAMB/ilmbase.1.0.3/lib/libIex.a
-- IEXMATH LIB:
-- ILMTHREAD LIB:
/.mounts/stg1/toolbox/thirdparty/DEPENDENTS_DAMB/ilmbase.1.0.3/lib/libIlmThread.
a
-- IMATH LIB:
/.mounts/stg1/toolbox/thirdparty/DEPENDENTS_DAMB/ilmbase.1.0.3/lib/libImath.a
-- About to include AlembicPyIlmBase.cmake
-- About to start finding PyIlmBase and PyImath
-- PYILMBASE INCLUDE PATH:
/.mounts/stg1/toolbox/thirdparty/DEPENDENTS_DAMB/pyilmbase-1.0.0/include/OpenEXR
-- PYIMATH LIB:
/.mounts/stg1/toolbox/thirdparty/DEPENDENTS_DAMB/pyilmbase-1.0.0/lib/libPyImath.
so
-- PYIMATH MODULE: ALEMBIC_PYILMBASE_PYIMATH_MODULE-NOTFOUND
-- Found Python 2.6: /usr/bin/python2.6
-- I AM TOTALLY SETTING HDF5 INCLUDE DIR FROM ENVIRONMENT:
/mnt/studio/toolbox/thirdparty/DEPENDENTS_DAMB/hdf5-1.8.12/include
-- HDF5 INCLUDE PATH:
/.mounts/stg1/toolbox/thirdparty/DEPENDENTS_DAMB/hdf5-1.8.12/include
-- HDF5 LIBRARIES:
/.mounts/stg1/toolbox/thirdparty/DEPENDENTS_DAMB/hdf5-1.8.12/lib/libhdf5.a;/usr/
lib64/libpthread.so;/usr/lib64/libz.so;/usr/lib64/librt.so;/usr/lib64/libdl.so;/
usr/lib64/libm.so;/.mounts/stg1/toolbox/thirdparty/DEPENDENTS_DAMB/hdf5-1.8.12/l
ib/libhdf5_hl.a;/.mounts/stg1/toolbox/thirdparty/DEPENDENTS_DAMB/hdf5-1.8.12/lib
/libhdf5.a
-- Found HDF5 Library!
-- Skipping Prman plugins
-- Skipping Arnold plugins
-- About to include AlembicMaya.cmake
-- Using MAYA_ROOT /mnt/software/maya/maya2013sp2-x64/
-- Maya lib root: /mnt/software/maya/maya2013sp2-x64//lib
-- Found Maya!
-- Building Maya plugins
-- About to include Python cmake files
-- LIBPYTHON_FILE: libpython2.6.so
-- ALEMBIC_PYTHON_ROOT: /usr/lib64/python2.6/config
-- ALEMBIC_PYTHON_LIBRARY: /usr/lib64/python2.6/config/libpython2.6.so
-- Boost_PYTHON_LIBRARY:
/.mounts/stg1/toolbox/thirdparty/DEPENDENTS_DAMB/boost_1_44_0/lib/libboost_pytho
n-gcc44-mt-1_44.a
-- PYTHON_INCLUDE_DIR:/usr/include/python2.6
-- Found libboost_python:
/.mounts/stg1/toolbox/thirdparty/DEPENDENTS_DAMB/boost_1_44_0/lib/libboost_pytho
n-gcc44-mt-1_44.a
-- LIBPYTHON_FILE: libpython2.6.a
-- ALEMBIC_PYTHON_ROOT: /usr/lib64/python2.6/config
-- ALEMBIC_PYTHON_LIBRARY: /usr/lib64/python2.6/config/libpython2.6.so
-- Boost_PYTHON_LIBRARY:
/.mounts/stg1/toolbox/thirdparty/DEPENDENTS_DAMB/boost_1_44_0/lib/libboost_pytho
n-gcc44-mt-1_44.a
-- PYTHON_INCLUDE_DIR:/usr/include/python2.6
-- Found libboost_python:
/.mounts/stg1/toolbox/thirdparty/DEPENDENTS_DAMB/boost_1_44_0/lib/libboost_pytho
n-gcc44-mt-1_44.a
-- Configuring done
-- Generating done
-- Build files have been written to: /tmp/alembic_build_1.5.1
Original issue reported on code.google.com by jhy13401192277@gmail.com
on 3 Dec 2013 at 6:05
GoogleCodeExporter commented
Have you tried a newer version of boost?
I can get it to build with 1.46, but not 1.42 (haven't tried 1.44)
Original comment by miller.lucas
on 3 Dec 2013 at 6:11
GoogleCodeExporter commented
I tried 1.55 and 1.50. it does not work.
But I definitely would like to try 1.46.
Thank you very much.
Hongyuan Jia
VFX TD ToonBox
Original comment by jhy13401192277@gmail.com
on 3 Dec 2013 at 6:13
GoogleCodeExporter commented
Do you get the same errors with 1.55 and 1.50?
Original comment by miller.lucas
on 3 Dec 2013 at 6:17
GoogleCodeExporter commented
Yes, I did. The errors are almost same.
Original comment by jhy13401192277@gmail.com
on 3 Dec 2013 at 6:21
GoogleCodeExporter commented
I compiled boost 1.46, but there are still many errors with boost and pyilmbase.
The attached is the complete error message.
Thank you
error message:
------------------
cd /tmp/alembic_build_1.5.1/python/PyAlembic && /usr/bin/c++ -DDEBUG=1 -DPLATFORM=LINUX -DPLATFORM_LINUX -Dalembicmodule_EXPORTS -g -fPIC -I/.mounts/stg1/toolbox/thirdparty/DEPENDENTS_DAMB/boost_1_46_0/include/boost-1_46 -I/.mounts/stg1/toolbox/thirdparty/DEPENDENTS_DAMB/ilmbase.1.0.3/include/OpenEXR -I/.mounts/stg1/toolbox/thirdparty/DEPENDENTS_DAMB/pyilmbase-1.0.0/include/OpenEXR -I/.mounts/stg1/toolbox/thirdparty/DEPENDENTS_DAMB/hdf5-1.8.12/include -I/tmp/Alembic_1.5.1_2013091900_jhy/lib -I/usr/include/python2.6 -I/tmp/Alembic_1.5.1_2013091900_jhy/python/PyAlembic -UNDEBUG -Wall -Werror -Wextra -Wno-unused-parameter -fPIC -o CMakeFiles/alembicmodule.dir/PyTypedArraySampleConverter.cpp.o -c /tmp/Alembic_1.5.1_2013091900_jhy/python/PyAlembic/PyTypedArraySampleConverter.cpp
cc1plus: warnings being treated as errors
In file included from
/tmp/Alembic_1.5.1_2013091900_jhy/python/PyAlembic/PyTypeBindingTraits.h:43,
from /tmp/Alembic_1.5.1_2013091900_jhy/python/PyAlembic/PyTypedArraySampleConverter.h:41,
from /tmp/Alembic_1.5.1_2013091900_jhy/python/PyAlembic/PyTypedArraySampleConverter.cpp:38:
/.mounts/stg1/toolbox/thirdparty/DEPENDENTS_DAMB/pyilmbase-1.0.0/include/OpenEXR
/PyImathFixedArray.h: In member function ‘size_t
PyImath::FixedArray<T>::canonical_index(Py_ssize_t) const [with T =
PyImath::StringTableIndex]’:
/.mounts/stg1/toolbox/thirdparty/DEPENDENTS_DAMB/pyilmbase-1.0.0/include/OpenEXR
/PyImathFixedArray.h:254: instantiated from ‘typename
boost::mpl::if_<boost::is_class<T>, const T&, T>::type
PyImath::FixedArray<T>::getitem(Py_ssize_t) const [with T =
PyImath::StringTableIndex]’
/.mounts/stg1/toolbox/thirdparty/DEPENDENTS_DAMB/pyilmbase-1.0.0/include/OpenEXR
/PyImathStringArray.h:66: instantiated from ‘T
PyImath::StringArrayT<T>::getitem_string(Py_ssize_t) const [with T =
std::basic_string<char, std::char_traits<char>, std::allocator<char> >]’
/tmp/Alembic_1.5.1_2013091900_jhy/python/PyAlembic/PyTypedArraySampleConverter.h
:123: instantiated from here
/.mounts/stg1/toolbox/thirdparty/DEPENDENTS_DAMB/pyilmbase-1.0.0/include/OpenEXR
/PyImathFixedArray.h:220: error: comparison between signed and unsigned integer
expressions
/.mounts/stg1/toolbox/thirdparty/DEPENDENTS_DAMB/pyilmbase-1.0.0/include/OpenEXR
/PyImathFixedArray.h: In member function ‘size_t
PyImath::FixedArray<T>::raw_ptr_index(size_t) const [with T =
PyImath::StringTableIndex]’:
/.mounts/stg1/toolbox/thirdparty/DEPENDENTS_DAMB/pyilmbase-1.0.0/include/OpenEXR
/PyImathFixedArray.h:394: instantiated from ‘const T&
PyImath::FixedArray<T>::operator[](size_t) const [with T =
PyImath::StringTableIndex]’
/.mounts/stg1/toolbox/thirdparty/DEPENDENTS_DAMB/pyilmbase-1.0.0/include/OpenEXR
/PyImathFixedArray.h:254: instantiated from ‘typename
boost::mpl::if_<boost::is_class<T>, const T&, T>::type
PyImath::FixedArray<T>::getitem(Py_ssize_t) const [with T =
PyImath::StringTableIndex]’
/.mounts/stg1/toolbox/thirdparty/DEPENDENTS_DAMB/pyilmbase-1.0.0/include/OpenEXR
/PyImathStringArray.h:66: instantiated from ‘T
PyImath::StringArrayT<T>::getitem_string(Py_ssize_t) const [with T =
std::basic_string<char, std::char_traits<char>, std::allocator<char> >]’
/tmp/Alembic_1.5.1_2013091900_jhy/python/PyAlembic/PyTypedArraySampleConverter.h
:123: instantiated from here
/.mounts/stg1/toolbox/thirdparty/DEPENDENTS_DAMB/pyilmbase-1.0.0/include/OpenEXR
/PyImathFixedArray.h:419: error: comparison of unsigned expression >= 0 is
always true
/.mounts/stg1/toolbox/thirdparty/DEPENDENTS_DAMB/pyilmbase-1.0.0/include/OpenEXR
/PyImathFixedArray.h: In constructor
‘PyImath::FixedArray<T>::FixedArray(size_t) [with T = bool]’:
/tmp/Alembic_1.5.1_2013091900_jhy/python/PyAlembic/PyTypedArraySampleConverter.h
:165: instantiated from
‘PyObject*<unnamed>::converterNonMemCopyable<TPTraits>::operator()(const
Alembic::Abc::v6::TypedArraySample<TRAITS>&) [with TPTraits =
Alembic::Abc::v6::BooleanTPTraits]’
/tmp/Alembic_1.5.1_2013091900_jhy/python/PyAlembic/PyTypedArraySampleConverter.c
pp:148: instantiated from ‘static PyObject*
TypedArraySampleToFixedArray<TPTraits>::convert(const
Alembic::Abc::v6::TypedArraySample<TRAITS>&) [with TPTraits =
Alembic::Abc::v6::BooleanTPTraits]’
/.mounts/stg1/toolbox/thirdparty/DEPENDENTS_DAMB/boost_1_46_0/include/boost-1_46
/boost/python/converter/as_to_python_function.hpp:27: instantiated from
‘static PyObject* boost::python::converter::as_to_python_function<T,
ToPython>::convert(const void*) [with T =
Alembic::Abc::v6::TypedArraySample<Alembic::Abc::v6::BooleanTPTraits>, ToPython
= TypedArraySampleToFixedArray<Alembic::Abc::v6::BooleanTPTraits>]’
/.mounts/stg1/toolbox/thirdparty/DEPENDENTS_DAMB/boost_1_46_0/include/boost-1_46
/boost/python/to_python_converter.hpp:87: instantiated from
‘boost::python::to_python_converter<T, Conversion,
has_get_pytype>::to_python_converter() [with T =
Alembic::Abc::v6::TypedArraySample<Alembic::Abc::v6::BooleanTPTraits>,
Conversion = TypedArraySampleToFixedArray<Alembic::Abc::v6::BooleanTPTraits>,
bool has_get_pytype = false]’
/tmp/Alembic_1.5.1_2013091900_jhy/python/PyAlembic/PyTypedArraySampleConverter.c
pp:214: instantiated from ‘void register_() [with TPTraits =
Alembic::Abc::v6::BooleanTPTraits]’
/tmp/Alembic_1.5.1_2013091900_jhy/python/PyAlembic/PyTypedArraySampleConverter.c
pp:238: instantiated from here
/.mounts/stg1/toolbox/thirdparty/DEPENDENTS_DAMB/pyilmbase-1.0.0/include/OpenEXR
/PyImathFixedArray.h:101: error: comparison of unsigned expression < 0 is
always false
/.mounts/stg1/toolbox/thirdparty/DEPENDENTS_DAMB/pyilmbase-1.0.0/include/OpenEXR
/PyImathFixedArray.h: In constructor
‘PyImath::FixedArray<T>::FixedArray(size_t) [with T = unsigned char]’:
/tmp/Alembic_1.5.1_2013091900_jhy/python/PyAlembic/PyTypedArraySampleConverter.h
:73: instantiated from
‘PyObject*<unnamed>::converterMemcopyable<TPTraits>::operator()(const
Alembic::Abc::v6::TypedArraySample<TRAITS>&) [with TPTraits =
Alembic::Abc::v6::Uint8TPTraits]’
Original comment by jhy13401192277@gmail.com
on 3 Dec 2013 at 9:09
GoogleCodeExporter commented
the complete error message.
Original comment by jhy13401192277@gmail.com
on 3 Dec 2013 at 9:12
Attachments:
GoogleCodeExporter commented
"error: comparison between signed and unsigned integer expressions"
is because -Wall is specified, and is a known issue with PyILMBase.
Are you getting these errors:
"error: type qualifiers ignored on function return type"
with later versions of boost? (1.50 and 1.55)
Original comment by miller.lucas
on 3 Dec 2013 at 9:41
- Changed state: Triage
GoogleCodeExporter commented
Have you tried this with ILMBase 2.1.0?
Original comment by miller.lucas
on 3 Dec 2013 at 10:04
GoogleCodeExporter commented
Not yet, I will try it later.
thanks
Original comment by jhy13401192277@gmail.com
on 3 Dec 2013 at 10:05
GoogleCodeExporter commented
Original comment by miller.lucas
on 11 Dec 2013 at 12:46
- Added labels: Component-Build