Code Monkey home page Code Monkey logo

Comments (8)

brothermechanic avatar brothermechanic commented on June 26, 2024

Hello
Thank you, but this is wip.
Do you want to use it with blender?
Now i can't to install all deps follow this wiki
https://wiki.blender.org/index.php/User:Kevindietrich/AlembicBasicIo#Compiling_Alembic
Can you try to do that?

from cg.

fordfrog avatar fordfrog commented on June 26, 2024

after i enabled fortran on hdf5, alembic compiled fine and blender-9999-r5 too. i did not check alembic support in blender but blender started fine.

from cg.

brothermechanic avatar brothermechanic commented on June 26, 2024

see https://wiki.blender.org/index.php/User:Kevindietrich/AlembicBasicIo#Compiling_Alembic

  1. --enable-threadsafe in hdf5 config mean threads use flag, witch conflict with fortran
    i don't expert in this, witch one is needed
  2. old alembic's ebuild have hard link to hdf5's fortran. I remove it (don't sure is it right way) Now alembic don't need hdf5's fortran

can you try this examples, please?
http://blenderartists.org/forum/showthread.php?399763-Dev-Win-Linux-build-Alembic-I-O&p=3059287&viewfull=1#post3059287
Do you have sussesfully import first example?

from cg.

fordfrog avatar fordfrog commented on June 26, 2024

i cannot find the alembic import option in file -> import menu. should it be there or it's imported in a different way?

from cg.

brothermechanic avatar brothermechanic commented on June 26, 2024

This is because you compiled bledner's master branch.
I dont write alembic branch in blender's ebuild because it is in testing state.
I use 2 files in portage for it:

/etc/portage/package.env
media-gfx/blender blender

/etc/portage/env/blender
EGIT_BRANCH="alembic_basic_io"

Of cource ,you can write EGIT_BRANCH="alembic_basic_io" directly in blender's ebuild

Can you try recompile blender?

from cg.

fordfrog avatar fordfrog commented on June 26, 2024

during the linking phase, i got many errors:

[100%] Linking CXX executable ../../bin/blender
cd /var/tmp/portage/media-gfx/blender-9999-r5/work/blender-9999_build/source/creator && /usr/bin/cmake -E cmake_link_script CMakeFiles/blender.dir/link.txt --verbose=1
/usr/bin/x86_64-pc-linux-gnu-g++    -Wredundant-decls -Wall -Wno-invalid-offsetof -Wno-sign-compare -Wlogical-op -Winit-self -Wmissing-include-dirs -Wno-div-by-zero -Wtype-limits -Werror=return-type -Werror=implicit-function-declaration -Wno-char-subscripts -Wno-unknown-pragmas -Wpointer-arith -Wunused-parameter -Wwrite-strings -Wundef -Wformat-signedness -Wuninitialized -Wundef -Wmissing-declarations -march=native -Og -pipe -ggdb -funsigned-char -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DWITH_OPENNL -DHAVE_STDBOOL_H  -fuse-ld=gold -fopenmp  -msse2  -msse -pipe -fPIC -funsigned-char -fno-strict-aliasing -O2 -DNDEBUG   -Wl,-O1 -Wl,--as-needed  CMakeFiles/blender.dir/creator.c.o CMakeFiles/blender.dir/creator_args.c.o CMakeFiles/blender.dir/creator_signals.c.o CMakeFiles/blender.dir/buildinfo.c.o  -o ../../bin/blender -rdynamic ../../lib/libbf_windowmanager.a ../../lib/libbf_editor_space_api.a ../../lib/libbf_editor_space_action.a ../../lib/libbf_editor_space_buttons.a ../../lib/libbf_editor_space_console.a ../../lib/libbf_editor_space_file.a ../../lib/libbf_editor_space_graph.a ../../lib/libbf_editor_space_image.a ../../lib/libbf_editor_space_info.a ../../lib/libbf_editor_space_logic.a ../../lib/libbf_editor_space_nla.a ../../lib/libbf_editor_space_node.a ../../lib/libbf_editor_space_outliner.a ../../lib/libbf_editor_space_script.a ../../lib/libbf_editor_space_sequencer.a ../../lib/libbf_editor_space_text.a ../../lib/libbf_editor_space_time.a ../../lib/libbf_editor_space_userpref.a ../../lib/libbf_editor_space_view3d.a ../../lib/libbf_editor_space_clip.a ../../lib/libbf_editor_transform.a ../../lib/libbf_editor_util.a ../../lib/libbf_editor_uvedit.a ../../lib/libbf_editor_curve.a ../../lib/libbf_editor_gpencil.a ../../lib/libbf_editor_interface.a ../../lib/libbf_editor_mesh.a ../../lib/libbf_editor_metaball.a ../../lib/libbf_editor_object.a ../../lib/libbf_editor_armature.a ../../lib/libbf_editor_physics.a ../../lib/libbf_editor_render.a ../../lib/libbf_editor_screen.a ../../lib/libbf_editor_sculpt_paint.a ../../lib/libbf_editor_sound.a ../../lib/libbf_editor_animation.a ../../lib/libbf_editor_datafiles.a ../../lib/libbf_editor_mask.a ../../lib/libbf_editor_io.a ../../lib/libbf_render.a ../../lib/libbf_python.a ../../lib/libbf_python_ext.a ../../lib/libbf_python_mathutils.a ../../lib/libbf_python_bmesh.a ../../lib/libbf_ikplugin.a ../../lib/libbf_modifiers.a ../../lib/libbf_bmesh.a ../../lib/libbf_gpu.a ../../lib/libbf_blenloader.a ../../lib/libbf_compositor.a ../../lib/libbf_blenkernel.a ../../lib/libbf_intern_rigidbody.a ../../lib/libbf_physics.a ../../lib/libbf_nodes.a ../../lib/libbf_rna.a ../../lib/libbf_imbuf.a ../../lib/libbf_blenlib.a ../../lib/libbf_depsgraph.a ../../lib/libbf_intern_ghost.a ../../lib/libbf_intern_string.a ../../lib/libbf_imbuf_openexr.a ../../lib/libbf_abc.a ../../lib/libbf_intern_elbeem.a ../../lib/libbf_intern_iksolver.a ../../lib/libbf_intern_memutil.a ../../lib/libbf_intern_guardedalloc.a ../../lib/libbf_intern_smoke.a ../../lib/libextern_curve_fit_nd.a ../../lib/libextern_bullet.a ../../lib/libbf_intern_moto.a ../../lib/libbf_dna.a ../../lib/libbf_blenfont.a ../../lib/libbf_blentranslation.a ../../lib/libbf_intern_audaspace.a ../../lib/libbf_intern_mikktspace.a ../../lib/libbf_intern_dualcon.a ../../lib/libbf_intern_opencolorio.a ../../lib/libbf_intern_eigen.a ../../lib/libextern_rangetree.a ../../lib/libextern_wcwidth.a ../../lib/libbf_intern_libmv.a ../../lib/libextern_glog.a ../../lib/libextern_gflags.a ../../lib/libbf_intern_glew_mx.a ../../lib/libextern_ceres.a ../../lib/libextern_binreloc.a ../../lib/libbf_intern_itasc.a ../../lib/libextern_carve.a ../../lib/libextern_xdnd.a ../../lib/libbf_intern_locale.a ../../lib/libbf_intern_decklink.a ../../lib/libbf_intern_opensubdiv.a -lpng -lz -lz -lfreetype -Xlinker -export-dynamic -lpython3.5m -llzo2 -lGLEW -lopenal -lfftw3 -ltiff -losdGPU -losdCPU -lboost_filesystem-mt -lboost_regex-mt -lboost_system-mt -lboost_thread-mt -lboost_date_time-mt -lboost_locale-mt -lboost_chrono-mt -lboost_atomic-mt -ljpeg -lHalf -lIex -lIlmImf -lIlmThread -lImath -lavformat -lavcodec -lavutil -lavdevice -lswscale -ljemalloc /usr/lib64/static/libAlembicAbc.a /usr/lib64/static/libAlembicAbcGeom.a /usr/lib64/static/libAlembicAbcCoreAbstract.a /usr/lib64/static/libAlembicUtil.a /usr/lib64/static/libAlembicAbcCoreHDF5.a /usr/lib64/static/libAlembicOgawa.a /usr/lib64/static/libAlembicAbcCoreOgawa.a /usr/lib64/static/libAlembicAbcMaterial.a /usr/lib64/static/libAlembicAbcCoreFactory.a -lhdf5 -lhdf5_hl ../../lib/libextern_clew.a ../../lib/libextern_cuew.a -lGLU -lGL -lX11 -lXi -lXxf86vm -lXrender -lutil -lc -lm -lpthread -ldl -ldl  
/var/tmp/portage/media-libs/alembic-1.5.8-r5/work/alembic-1.5.8/lib/Alembic/AbcCoreHDF5/ArImpl.cpp:187: error: undefined reference to 'Alembic::AbcCoreAbstract::v7::ArchiveReader::~ArchiveReader()'
/var/tmp/portage/media-libs/alembic-1.5.8-r5/work/alembic-1.5.8/lib/Alembic/AbcCoreHDF5/ArImpl.cpp:187: error: undefined reference to 'Alembic::AbcCoreAbstract::v7::ArchiveReader::~ArchiveReader()'
/var/tmp/portage/media-libs/alembic-1.5.8-r5/work/alembic-1.5.8/lib/Alembic/AbcCoreHDF5/ArImpl.cpp:55: error: undefined reference to 'Alembic::AbcCoreAbstract::v7::ArchiveReader::~ArchiveReader()'
/usr/lib64/static/libAlembicAbcCoreHDF5.a(ArImpl.cpp.o):ArImpl.cpp:typeinfo for Alembic::AbcCoreHDF5::v7::ArImpl: error: undefined reference to 'typeinfo for Alembic::AbcCoreAbstract::v7::ArchiveReader'
/var/tmp/portage/media-libs/alembic-1.5.8-r5/work/alembic-1.5.8/lib/Alembic/AbcCoreHDF5/AwImpl.cpp:190: error: undefined reference to 'Alembic::AbcCoreAbstract::v7::ArchiveWriter::~ArchiveWriter()'
/var/tmp/portage/media-libs/alembic-1.5.8-r5/work/alembic-1.5.8/lib/Alembic/AbcCoreHDF5/AwImpl.cpp:190: error: undefined reference to 'Alembic::AbcCoreAbstract::v7::ArchiveWriter::~ArchiveWriter()'
/var/tmp/portage/media-libs/alembic-1.5.8-r5/work/alembic-1.5.8/lib/Alembic/AbcCoreHDF5/AwImpl.cpp:96: error: undefined reference to 'Alembic::AbcCoreAbstract::v7::GetLibraryVersion[abi:cxx11]()'
/var/tmp/portage/media-libs/alembic-1.5.8-r5/work/alembic-1.5.8/lib/Alembic/AbcCoreHDF5/AwImpl.cpp:56: error: undefined reference to 'Alembic::AbcCoreAbstract::v7::ArchiveWriter::~ArchiveWriter()'
/usr/lib64/static/libAlembicAbcCoreHDF5.a(AwImpl.cpp.o):AwImpl.cpp:typeinfo for Alembic::AbcCoreHDF5::v7::AwImpl: error: undefined reference to 'typeinfo for Alembic::AbcCoreAbstract::v7::ArchiveWriter'
/var/tmp/portage/media-libs/alembic-1.5.8-r5/work/alembic-1.5.8/lib/Alembic/AbcCoreHDF5/CacheImpl.cpp:50: error: undefined reference to 'Alembic::AbcCoreAbstract::v7::ReadArraySampleCache::~ReadArraySampleCache()'
/var/tmp/portage/media-libs/alembic-1.5.8-r5/work/alembic-1.5.8/lib/Alembic/AbcCoreHDF5/CacheImpl.cpp:44: error: undefined reference to 'Alembic::AbcCoreAbstract::v7::ReadArraySampleCache::~ReadArraySampleCache()'
/usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/include/g++-v5/tr1/shared_ptr.h:618: error: undefined reference to 'typeinfo for Alembic::AbcCoreAbstract::v7::ReadArraySampleCache'
/var/tmp/portage/media-libs/alembic-1.5.8-r5/work/alembic-1.5.8/lib/Alembic/AbcCoreHDF5/CacheImpl.cpp:50: error: undefined reference to 'Alembic::AbcCoreAbstract::v7::ReadArraySampleCache::~ReadArraySampleCache()'
/usr/lib64/static/libAlembicAbcCoreHDF5.a(CacheImpl.cpp.o):CacheImpl.cpp:typeinfo for Alembic::AbcCoreHDF5::v7::CacheImpl: error: undefined reference to 'typeinfo for Alembic::AbcCoreAbstract::v7::ReadArraySampleCache'
/var/tmp/portage/media-libs/alembic-1.5.8-r5/work/alembic-1.5.8/lib/Alembic/AbcCoreHDF5/OrImpl.cpp:83: error: undefined reference to 'Alembic::AbcCoreAbstract::v7::ObjectReader::~ObjectReader()'
/var/tmp/portage/media-libs/alembic-1.5.8-r5/work/alembic-1.5.8/lib/Alembic/AbcCoreHDF5/OrImpl.cpp:74: error: undefined reference to 'Alembic::AbcCoreAbstract::v7::ObjectReader::~ObjectReader()'
/var/tmp/portage/media-libs/alembic-1.5.8-r5/work/alembic-1.5.8/lib/Alembic/AbcCoreHDF5/OrImpl.cpp:55: error: undefined reference to 'Alembic::AbcCoreAbstract::v7::ObjectReader::~ObjectReader()'
/var/tmp/portage/media-libs/alembic-1.5.8-r5/work/alembic-1.5.8/lib/Alembic/AbcCoreHDF5/OrImpl.cpp:83: error: undefined reference to 'Alembic::AbcCoreAbstract::v7::ObjectReader::~ObjectReader()'
/usr/lib64/static/libAlembicAbcCoreHDF5.a(OrImpl.cpp.o):OrImpl.cpp:typeinfo for Alembic::AbcCoreHDF5::v7::OrImpl: error: undefined reference to 'typeinfo for Alembic::AbcCoreAbstract::v7::ObjectReader'
...

from cg.

fordfrog avatar fordfrog commented on June 26, 2024

the path /var/tmp/portage/media-libs/alembic-1.5.8-r5/work/ seems weird there to me...

from cg.

brothermechanic avatar brothermechanic commented on June 26, 2024

works!

from cg.

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.