Open GoogleCodeExporter opened 8 years ago
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
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
Do you get the same errors with 1.55 and 1.50?
Original comment by miller.lucas
on 3 Dec 2013 at 6:17
Yes, I did. The errors are almost same.
Original comment by jhy13401192277@gmail.com
on 3 Dec 2013 at 6:21
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
the complete error message.
Original comment by jhy13401192277@gmail.com
on 3 Dec 2013 at 9:12
Attachments:
"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
Have you tried this with ILMBase 2.1.0?
Original comment by miller.lucas
on 3 Dec 2013 at 10:04
Not yet, I will try it later.
thanks
Original comment by jhy13401192277@gmail.com
on 3 Dec 2013 at 10:05
Original comment by miller.lucas
on 11 Dec 2013 at 12:46
Original issue reported on code.google.com by
jhy13401192277@gmail.com
on 3 Dec 2013 at 6:05