Coder Social home page Coder Social logo

AlembicBoost.cmake errors about alembic HOT 5 CLOSED

gdtiti avatar gdtiti commented on June 14, 2024
AlembicBoost.cmake errors

from alembic.

Comments (5)

GoogleCodeExporter avatar GoogleCodeExporter commented on June 14, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 14, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 14, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 14, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 14, 2024

Original comment by [email protected] on 10 Nov 2010 at 6:48

  • Changed state: Invalid

from alembic.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.