Hi Torsten, For me the systems open-collada is correctly auto-detected by CMake (using Arch Linux). Our SCons build files don't auto-detect libraries at all, so if you want to use scons, you need to set include & lib paths in your config.
On Tue, Oct 27, 2015 at 10:36 PM, Bastien Montagne <[email protected]> wrote: > Just use install_deps.sh script, we painfully set this up and maintain > it, so do not expect any support you want to do it the hard way… > > Le 26/10/2015 23:54, Torsten Mohr a écrit : >> Hello, >> >> i try to compile the released sources 2.76 on linux (OpenSuSE) with Collada / >> OpenCollada. >> I try to build using scons. >> I installed the dependencies manually. >> >> >> Regarding OpenCollada: >> >> In install-deps.sh it says: >> OPENCOLLADA_VERSION="1.3" >> >> I have installed in yast2: >> libOpenCOLLADA0 / svn868-8.1.3 >> >> I then manually created the directory /usr/include/opencollada and copied all >> necessary header files there. >> >> >> But in the final executable there is no support for Collada Export / Import. >> >> >> I tried to figure out how to enable COLLADA but did not succeed. So this is >> what i tried, I don't think this is how it is intended: >> >> >> In the scons config file linux-config.py it says: >> BF_OPENCOLLADA = '/usr' >> BF_OPENCOLLADA_INC = '${BF_OPENCOLLADA}/include/opencollada' >> >> I additionally changed this line from False to True (it seems to force >> collada >> support): >> WITH_BF_COLLADA = True >> >> When i compile blender now i get: >> Compiling ==> 'ExtraHandler.cpp' >> In file included from source/blender/collada/ExtraHandler.cpp:30:0: >> source/blender/collada/ExtraHandler.h:32:52: fatal error: >> COLLADASaxFWLIExtraDataCallbackHandler.h: File or Directory not found >> #include "COLLADASaxFWLIExtraDataCallbackHandler.h" >> >> But this include file is available in /usr/include/opencollada, so there >> seems >> to be a problem in the build process (Surely possible with the changes i >> did). >> It does not seem to be related to the version of OpenCollada used, as the >> include file is available. >> >> >> It would be great if somebody could give me some hints: >> >> 1. How should i compile blender with COLLADA support? What is the intended >> way? Shouldn't OpenCollada be autodetected? >> >> 2. Can i get some more information about the configuration process? Why does >> scons not find OpenCollada? Do i need to enable it? >> >> 3. Can i get some more information from the compile process? What commands >> exactly does scons call (I'd like to see the include path that it gives to >> the >> compiler)? >> Is there a log file created (i did not find any, not in /tmp/build/linux and >> not >> in /tmp/install/linux). >> >> >> Thanks for any hints, >> Torsten >> >> _______________________________________________ >> 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 -- - Campbell _______________________________________________ Bf-committers mailing list [email protected] http://lists.blender.org/mailman/listinfo/bf-committers
