What steps will reproduce the problem?
Please see the attached makefile, I am trying to run the following code - just
the read method for now,
http://code.google.com/p/alembic/wiki/CookingWithAlembic
It compiled ok, but errors out on linking... am I setting up the makefile
incorrectly ?
It errors out when I add this line:
IArchive archive( Alembic::AbcCoreHDF5::ReadArchive(),"alembic_octopus.abc",
Alembic::Abc::ErrorHandler::kThrowPolicy );
An example error:
/var/tmp/ccg3Rmfa.o: In function
`Alembic::Abc::v1::IArchive::IArchive<Alembic::AbcCoreHDF5::v1::ReadArchive>(Ale
mbic::AbcCoreHDF5::v1::ReadArchive, std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&,
Alembic::Abc::v1::ErrorHandler::Policy,
boost::shared_ptr<Alembic::AbcCoreAbstract::v1::ReadArraySampleCache>)':
testAlembic.cpp:(.text._ZN7Alembic3Abc2v18IArchiveC1INS_11AbcCoreHDF52v111ReadAr
chiveEEET_RKSsNS1_12ErrorHandler6PolicyEN5boost10shared_ptrINS_15AbcCoreAbstract
2v120ReadArraySampleCacheEEE[Alembic::Abc::v1::IArchive::IArchive<Alembic::AbcCo
reHDF5::v1::ReadArchive>(Alembic::AbcCoreHDF5::v1::ReadArchive,
std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&,
Alembic::Abc::v1::ErrorHandler::Policy,
boost::shared_ptr<Alembic::AbcCoreAbstract::v1::ReadArraySampleCache>)]+0xca):
undefined reference to
`Alembic::AbcCoreHDF5::v1::ReadArchive::operator()(std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&,
boost::shared_ptr<Alembic::AbcCoreAbstract::v1::ReadArraySampleCache>) const'
What is the expected output? What do you see instead?
I expected the program to link and run, but insted I get a lot of linker errors
What version of the product are you using? On what operating system?
Linux Cent5 64 bit
Please provide any additional information below.
Original issue reported on code.google.com by nova...@gmail.com on 7 Oct 2011 at 1:30
Original issue reported on code.google.com by
nova...@gmail.com
on 7 Oct 2011 at 1:30Attachments: