Comments (5)
Hi Yue, I'm sorry this is giving you trouble. I have some questions that might
help me figure out what's going on, and some suggestions to try right off the
bat.
First, did you run the bootstrapper script in
build/bootstrap/alembic_bootstrap.py ?
Second, what are the outputs of the following commands:
locate libboost_thread
locate lexical_cast.hpp
?
How did you get Boost on your system? Did you build it according to the
instructions in doc/Boost-howtobuild.txt?
Original comment by [email protected]
on 9 Nov 2010 at 5:35
- Added labels: Component-Build
from alembic.
Right.
So now I am using the bootstrap via python
My command :
python ../build/bootstrap/alembic_bootstrap.py --disable-maya --disable-prman --boost_include_dir=$BOOST_ROOT/include --hdf5_include_dir=$HDF5_ROOT/include --hdf5_hdf5_library=$HDF5_ROOT/lib --zlib_include_dir=/usr/include/ .
It mostly work until the last part where it is generating the required makefiles
------------------
Makesystem generator Unix Makefiles:
Traceback (most recent call last):
File "../build/bootstrap/alembic_bootstrap.py", line 1083, in <module>
sys.exit( main() )
File "../build/bootstrap/alembic_bootstrap.py", line 1072, in main
ranBootstrap = runBootstrap( options, alembic_src_dir, cmakecache )
File "../build/bootstrap/alembic_bootstrap.py", line 845, in runBootstrap
configure_hdf5( options, srcdir, cmakecache )
File "../build/bootstrap/alembic_bootstrap.py", line 797, in configure_hdf5
hdf5_status, errors = configureCMakeHDF5( cmake_args )
File "../build/bootstrap/alembic_bootstrap.py", line 284, in configureCMakeHDF5
hdf5_root = libdir.common( incdir )[0]
File "../lib/python/abcutils/Path.py", line 183, in common
return self[1:].common( other[1:], self.root() + cmn + self[0] )
File "../lib/python/abcutils/Path.py", line 183, in common
return self[1:].common( other[1:], self.root() + cmn + self[0] )
File "../lib/python/abcutils/Path.py", line 183, in common
return self[1:].common( other[1:], self.root() + cmn + self[0] )
File "../lib/python/abcutils/Path.py", line 180, in common
elif (self[0] != other[0]) or (self.root() != other.root()):
File "../lib/python/abcutils/Path.py", line 142, in __getitem__
return self._plist[n]
IndexError: list index out of range
Original comment by [email protected]
on 9 Nov 2010 at 5:50
from alembic.
Hmm, that's a strange traceback to be getting from the Path module, but that's
maybe beside the point. I can see, though, that you're doing a couple things
not recommended:
1) You're attempting to build the system in the same directory as the source.
This is not a good idea. If your source directory is $HOME/alembic, your build
directory should be something like $HOME/alembic_build, or some other directory
that is parallel to the source directory. There are instructions that outline
this at the top of the source root, in the README.txt file.
2) The argument you're giving to the --hdf5_hdf5_library flag is incorrect. It
should be, assuming $HDF5_ROOT is properly set, "$HDF5_ROOT/lib/hdf5.a".
Try running the bootstrap script like this, assuming the Alembic source is in a
directory called "alembic":
python ./alembic/build/bootstrap/alembic_bootstrap.py --disable-maya
--disable-prman
It will prompt you for values for the things it needs, such as the location of
the build directory and the path to the the hdf5 library (and supply helpful
hints and/or defaults for such things). Note that in order to run it like
that, your CWD will need to be the parent directory of the "alembic" source
directory.
One possibility as to why CMake failed to find Boost is that it was not built
the way Alembic needs (static, multi-threaded, versioned). Answers to the
questions I asked in the first comment would be helpful for determining that.
Original comment by [email protected]
on 9 Nov 2010 at 6:25
from alembic.
Ah, also, I misspoke about the argument to the --hdf5_hdf5_library flag; it
should be "$HDF5_ROOT/lib/libhdf5.a".
Original comment by [email protected]
on 9 Nov 2010 at 6:32
from alembic.
Original comment by [email protected]
on 10 Nov 2010 at 6:48
- Changed state: Invalid
from alembic.
Related Issues (20)
- AbcExport seems it cannot compute bounding box correctly for some geometry. HOT 4
- Could add a -version or -debug flag to renderman procedural HOT 4
- SimpleAbcViewer aborts with SEGV, hdf5 missing attribute exception, exception in free() HOT 9
- setReadArraySampleCachePtr isn't multithread safe HOT 13
- Murmur3.cpp - BOOST_BIG_ENDIAN with PPC32 HOT 5
- refactor AbcGeom schema classes with a base type GeomBaseSchema HOT 4
- Point positions are V3f instead of P3f (houdini updates?) HOT 4
- Add new copyright header HOT 1
- AbcExport typo. HOT 5
- Need to support building Alembic libs as DSOs vs. static archives HOT 3
- Maya AbcExport does not preserve hard edges HOT 5
- New utility abcinfo that would report useful information about an alembic file - fps, timing, aggregate num objects in file HOT 6
- Maya AbcImport has inconsistency behavior when checking if a poly mesh is animated or not HOT 6
- Cannot build shared libs with Alembic 1.0 HOT 7
- SimpleAbcViewer not respecting IXformSchema::getInheritsXforms() HOT 12
- Read/Write per face per vertex color out of Maya for I/O PolyMesh/SubD HOT 6
- ArchvieINfo, decompose and refactor CreateArchiveWithInfo HOT 3
- Create exampoe code to show best-practice means to stream in IArchive HOT 4
- Tool to take two alembic input files and report differences HOT 7
- Tool that could build deltas (patches) and generate new alembic files HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from alembic.