Hello, Still have a problem with my ubuntu 12.04 64bits, during OIIO compilation :
filesystem.cpp:(.text+0x1eea): undefined reference to `boost::filesystem::path::codecvt()' filesystem.cpp:(.text+0x1eff): undefined reference to `boost::filesystem::path::m_append_separator_if_needed()' filesystem.cpp:(.text+0x1f89): undefined reference to `boost::filesystem::path::m_erase_redundant_separator(unsigned long)' filesystem.cpp:(.text+0x205b): undefined reference to `boost::filesystem::detail::directory_iterator_construct(boost::filesystem::directory_iterator&, boost::filesystem::path const&, boost::system::error_code*)' filesystem.cpp:(.text+0x209b): undefined reference to `boost::filesystem::detail::directory_iterator_increment(boost::filesystem::directory_iterator&, boost::system::error_code*)' libOpenImageIO.a(filesystem.cpp.o): In function `boost::detail::sp_counted_impl_p<boost::filesystem::detail::dir_itr_imp>::dispose()': filesystem.cpp:(.text._ZN5boost6detail17sp_counted_impl_pINS_10filesystem6detail11dir_itr_impEE7disposeEv[boost::detail::sp_counted_impl_p<boost::filesystem::detail::dir_itr_imp>::dispose()]+0x17): undefined reference to `boost::filesystem::detail::dir_itr_close(void*&, void*&)' libOpenImageIO.a(filesystem.cpp.o): In function `void boost::checked_delete<boost::filesystem::detail::dir_itr_imp>(boost::filesystem::detail::dir_itr_imp*)': filesystem.cpp:(.text._ZN5boost14checked_deleteINS_10filesystem6detail11dir_itr_impEEEvPT_[void boost::checked_delete<boost::filesystem::detail::dir_itr_imp>(boost::filesystem::detail::dir_itr_imp*)]+0x16): undefined reference to `boost::filesystem::detail::dir_itr_close(void*&, void*&)' collect2: ld returned 1 exit status make[2]: *** [libOpenImageIO/filesystem_test] Error 1 make[1]: *** [libOpenImageIO/CMakeFiles/filesystem_test.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... And still have an awk error at end. No change when I put #include "SHA1.h" at first position Complete log are here : http://www.pasteall.org/37282 (Compilation error arround line 18898 & 18929, and awk at end of file ) Regards, Julien On Tue, Nov 13, 2012 at 7:05 PM, Bastien Montagne <[email protected]>wrote: > Yes, already added WITH_CODEC_FFMPEG=ON... > > @Julien: escaped the '/' in char class, should work now! > > On 13/11/2012 18:50, Julien Duroure wrote: > > Works now for me on ubuntu 12.04 ( merci Bastien ! ), except for > displaying > > flags to set : > > > > If you're using CMake add this to your configuration flags: > > -D WITH_CODEC_FFMPEG=ON > > -D FFMPEG=/opt/lib/ffmpeg > > awk: line 1: regular expression compile failed (bad class -- [], [^] or > [) > > .*lib([^ > > awk: line 1: syntax error at or near ] > > awk: line 1: extra ')' > > -D FFMPEG_LIBRARIES='avformat;avcodec;avutil;avdevice;swscale;' > > > > Regards, > > > > > > On Tue, Nov 13, 2012 at 6:37 PM, Sergey Sharybin<[email protected] > >wrote: > > > >> Linking errors should have been solved with recent Bastien's commit > which > >> should make script displaying extra libraries blender should be linked > >> against (using FFMPEG_LIBRARIES for cmake nd something familiar for > scons). > >> > >> Perhaps you're right with with suggesting set -DWITH_FFMPEG to truth. > >> > >> as per "temporary" src. I don't actually have strong opinion here. The > only > >> thing with more permanent storage is that it helps a lot debugging > script > >> by avoiding downloading packages on every run. But perhaps we can make > it > >> indeed move it to /tmp when the script is stable. > >> > >> > >> On Tue, Nov 13, 2012 at 10:26 PM, Xavier Thomas< > >> [email protected]> wrote: > >> > >>> Also it created a (temporary?) "src" directory in my user home an left > it > >>> there. > >>> Maybe using /tmp is better, what is I already had a src directory in > my > >>> home? > >>> > >>> > >>> 2012/11/13 Xavier Thomas<[email protected]> > >>> > >>>> Hello, > >>>> > >>>> The dependencies build fine on Debian with apt pinning but mostly > >>> testing. > >>>> Some problems though: > >>>> > >>>> First, after compiling the dependencies it suggest: > >>>> If you're using CMake add this to your configuration flags: > >>>> -D FFMPEG=/opt/lib/ffmpeg > >>>> If you're using SCons add this to your user-config: > >>>> BF_OCIO='/opt/lib/ocio' > >>>> BF_FFMPEG='/opt/lib/ffmpeg' > >>>> > >>>> I didn't test with scons but the cmake suggestion does not changes > >>>> anything unless WITH_FFMPEG is already set in the cmake cache. > >>>> > >>>> > >>>> Second, after compiling blender it gives linking errors: > >>>> Linking CXX executable ../../bin/blender > >>>> /opt/lib/ffmpeg/lib/libavcodec.a(libmp3lame.o): In function > >>>> `encode_frame_float': > >>>> /home/xavier/src/blender-deps/ffmpeg-1.0/libavcodec/libmp3lame.c:192: > >>>> undefined reference to `lame_encode_buffer_float' > >>>> .... > >>>> > >>>> The list of errors is huge but just undefined references for all > >>> functions > >>>> of libmp3lame, libschroedinger, libtheora, libvpx, libx264 and > >> libvxvid. > >>>> Of course all the *-dev packages are installed on my system. > >>>> > >>>> Xavier > >>>> > >>>> > >>>> 2012/11/13 Sergey Sharybin<[email protected]> > >>>> > >>>>> I've made some tweaks to the script, so now dependencies should be > >>>>> compiling fine for openSuSE. > >>>>> > >>>>> > >>>>> On Tue, Nov 13, 2012 at 12:28 PM, Bastien Montagne< > >>> [email protected] > >>>>>> wrote: > >>>>>> Fixed the issue with boost (note you'll have to erase your > >>>>>> opt/lib/boost-1.51.0 dir before re-running the script). > >>>>>> > >>>>>> There is also a problem with downloaded OIIO lib. You have to edit > >>>>>> ~/src/blender-deps/OpenImageIO-1.1.0/src/libutil/SHA1.cpp to move > >> the > >>>>>> '#include "SHA1.h"' line in first position, else you'll get stupid > >>>>>> lining errors... > >>>>>> > >>>>>> On 12/11/2012 23:27, Julien Duroure wrote: > >>>>>>> Hi Sergey, > >>>>>>> > >>>>>>> On my Ubuntu 12.04 LTS, 64 bits, I have a problem during OIIO > >>>>>> compilation : > >>>>>>> running cmake -E copy > >>>>>>> /home/ju/src/blender-deps/OpenImageIO-1.1.0/src/../LICENSE > >>>>>>> /home/ju/src/blender-deps/OpenImageIO-1.1.0/build/License.txt 2>&1 > >>>>>>> running cmake -E copy > >>>>>>> /home/ju/src/blender-deps/OpenImageIO-1.1.0/src/../README.rst > >>>>>>> /home/ju/src/blender-deps/OpenImageIO-1.1.0/build/Readme.rst 2>&1 > >>>>>>> CMake Error: The following variables are used in this project, but > >>>>> they > >>>>>> are > >>>>>>> set to NOTFOUND. > >>>>>>> Please set them or make sure they are set and tested correctly in > >>> the > >>>>>> CMake > >>>>>>> files: > >>>>>>> Boost_INCLUDE_DIR (ADVANCED) > >>>>>>> used as include directory in directory > >>>>>>> /home/ju/src/blender-deps/OpenImageIO-1.1.0/src > >>>>>>> used as include directory in directory > >>>>>>> /home/ju/src/blender-deps/OpenImageIO-1.1.0/src/libOpenImageIO > >>>>>>> used as include directory in directory > >>>>>>> /home/ju/src/blender-deps/OpenImageIO-1.1.0/src/iconvert > >>>>>>> used as include directory in directory > >>>>>>> /home/ju/src/blender-deps/OpenImageIO-1.1.0/src/idiff > >>>>>>> used as include directory in directory > >>>>>>> /home/ju/src/blender-deps/OpenImageIO-1.1.0/src/igrep > >>>>>>> used as include directory in directory > >>>>>>> /home/ju/src/blender-deps/OpenImageIO-1.1.0/src/iinfo > >>>>>>> used as include directory in directory > >>>>>>> /home/ju/src/blender-deps/OpenImageIO-1.1.0/src/maketx > >>>>>>> used as include directory in directory > >>>>>>> /home/ju/src/blender-deps/OpenImageIO-1.1.0/src/oiiotool > >>>>>>> used as include directory in directory > >>>>>>> /home/ju/src/blender-deps/OpenImageIO-1.1.0/src/testtex > >>>>>>> used as include directory in directory > >>>>>>> /home/ju/src/blender-deps/OpenImageIO-1.1.0/src/iv > >>>>>>> used as include directory in directory > >>>>>>> /home/ju/src/blender-deps/OpenImageIO-1.1.0/src/include > >>>>>>> used as include directory in directory > >>>>>>> /home/ju/src/blender-deps/OpenImageIO-1.1.0/src/doc > >>>>>>> > >>>>>>> -- Configuring incomplete, errors occurred! > >>>>>>> > >>>>>>> > >>>>>>> Regards, > >>>>>>> > >>>>>>> Julien > >>>>>>> > >>>>>>> On Mon, Nov 12, 2012 at 8:49 PM, Sergey Sharybin< > >>> [email protected] > >>>>>>> wrote: > >>>>>>> > >>>>>>>> Hi, > >>>>>>>> > >>>>>>>> I was working on a script which is aimed to install/build all > >>>>>>>> the dependencies needed by Blender. It should make it easier from > >>>>>>>> maintaince point of view than current libraries from the svn. > >>>>>>>> > >>>>>>>> I've tested the script using Fedora 14, 17 and Ubuntu 10.04, > >> 12.10. > >>>>>> Looks > >>>>>>>> like this script installs all needed dependencies from the report > >>> and > >>>>>>>> builds missing ones. However, it's not so nice to build Blender > >> in > >>> a > >>>>>>>> virtual machine, so could not guarantee there's no linking errors > >>>>>> happens > >>>>>>>> in the end. > >>>>>>>> > >>>>>>>> I would ask actual users of this platforms to check if the script > >>>>>> behaves > >>>>>>>> properly and let me know if there're issues with the script. But > >>>>> please, > >>>>>>>> don't use bug tracker for this reports. > >>>>>>>> > >>>>>>>> This script is placed in > >>>>> build_files/build_environment/install_deps.sh. > >>>>>>>> One more thing i would need help with is updating wiki pages > >> around > >> > http://wiki.blender.org/index.php/Dev:2.5/Doc/Building_Blender/Linux(think > >>>>>>>> we'll need to mention the script there when it'll be considered > >>> 100% > >>>>>> ready) > >>>>>>>> Also, i would like to zap precompiled libraries to the end of > >> this > >>>>> week > >>>>>> if > >>>>>>>> the script will work nicely. > >>>>>>>> > >>>>>>>> -- > >>>>>>>> With best regards, Sergey Sharybin > >>>>>>>> _______________________________________________ > >>>>>>>> Bf-committers mailing list > >>>>>>>> [email protected] > >>>>>>>> http://lists.blender.org/mailman/listinfo/bf-committers > >>>>>>>> > >>>>>>> _______________________________________________ > >>>>>>> Bf-committers mailing list > >>>>>>> [email protected] > >>>>>>> http://lists.blender.org/mailman/listinfo/bf-committers > >>>>>>> > >>>>>> _______________________________________________ > >>>>>> Bf-committers mailing list > >>>>>> [email protected] > >>>>>> http://lists.blender.org/mailman/listinfo/bf-committers > >>>>>> > >>>>> > >>>>> > >>>>> -- > >>>>> With best regards, Sergey Sharybin > >>>>> _______________________________________________ > >>>>> Bf-committers mailing list > >>>>> [email protected] > >>>>> http://lists.blender.org/mailman/listinfo/bf-committers > >>>>> > >>>> > >>> _______________________________________________ > >>> Bf-committers mailing list > >>> [email protected] > >>> http://lists.blender.org/mailman/listinfo/bf-committers > >>> > >> > >> > >> -- > >> With best regards, Sergey Sharybin > >> _______________________________________________ > >> Bf-committers mailing list > >> [email protected] > >> http://lists.blender.org/mailman/listinfo/bf-committers > >> > > _______________________________________________ > > Bf-committers mailing list > > [email protected] > > http://lists.blender.org/mailman/listinfo/bf-committers > > > > _______________________________________________ > Bf-committers mailing list > [email protected] > http://lists.blender.org/mailman/listinfo/bf-committers > _______________________________________________ Bf-committers mailing list [email protected] http://lists.blender.org/mailman/listinfo/bf-committers
