linux+scons compiles nicely on my recently updated Gentoo box. svn revision 39425
scons is script: v2.0.1.r5134, 2010/08/16 23:02:40, by bdeegan on cooldog engine: v2.0.1.r5134, 2010/08/16 23:02:40, by bdeegan on cooldog Diff to HEAD is (turned off spacenav and m ABI flag): Index: build_files/scons/config/linux2-config.py =================================================================== --- build_files/scons/config/linux2-config.py (revision 39425) +++ build_files/scons/config/linux2-config.py (working copy) @@ -1,7 +1,7 @@ LCGDIR = '../lib/linux2' LIBDIR = "${LCGDIR}" -BF_PYTHON_ABI_FLAGS = 'm' # Most common for linux distros +BF_PYTHON_ABI_FLAGS = '' # Most common for linux distros BF_PYTHON = '/usr' BF_PYTHON_LIBPATH = '${BF_PYTHON}/lib' BF_PYTHON_VERSION = '3.2' @@ -193,7 +193,7 @@ BF_RAYOPTIMIZATION_SSE_FLAGS = ['-msse','-pthread'] #SpaceNavigator and friends -WITH_BF_3DMOUSE = True +WITH_BF_3DMOUSE = False BF_3DMOUSE = '/usr' BF_3DMOUSE_INC = '${BF_3DMOUSE}/include' BF_3DMOUSE_LIBPATH = '${BF_3DMOUSE}/lib' By default BF_BUILDINFO seems to be off. Activating it in user-config.py results in no error either (after scons -c). Checking out again, changing the settings above, deleting ../build/linux2 and doing a compile also works flawlessly. You might want to try to delete ../build/linux2/scons-signatures.dblite before trying again. Scons sometimes chokes on stale signatures. If you need other info on my system to compare with yours feel free to mail me directly. -------- Original-Nachricht -------- > Datum: Sat, 13 Aug 2011 22:31:15 +0800 > Von: xiangquan xiao <xiaoxiangq...@gmail.com> > An: bf-committers@blender.org > Betreff: [Bf-committers] Need some help in building the soc-2011-garlic > branch > svn path: > https://svn.blender.org/svnroot/bf-blender/branches/soc-2011-garlic > > Hi, > I have been developing it with ubuntu+cmake all the way. As the GSoC's > "Pencil down" comes, > I need to confirm it works well with cmake and scons, as well as all > platforms. > > =========================================== > What I have done to building rules: > 1. /source/blender/editors/*/CMakelists.txt > /source/blender/editors/*/SConstruct: > add ../../blenfont to inc path. > > 2. move /release/bin/.blender/fonts to DATAFILES/fonts when installing. > /SConstruct: > if 'locale' in dp: --> if 'locale' in dp or 'fonts' in dp: > /source/creator/CMakeLists.txt: > install( > DIRECTORY > ${CMAKE_SOURCE_DIR}/release/bin/.blender/fonts > ${CMAKE_SOURCE_DIR}/release/bin/.blender/locale > DESTINATION ${TARGETDIR_VER}/datafiles > PATTERN ".svn" EXCLUDE > ) > =========================================== > As you can see, these modifications seem just fine. But only linux+cmake > works well for me. > > linux+scons: compile error, cannot find buildinfo.c and creator.c > windows(MSVC 2010 Express)+scons: link error when generate the final > blender.exe, a lot of LNK2001 errors(unresolved external symbols) > windows(MSVC 2010 Express)+cmake: compile well, but can only run in > release > mode, badly. Screen shot attachmented. And got error when build PACKAGE: > CPack error : CPACK_PACKAGE_EXECUTABLES should contain pairs of > <executable> > and <icon name> > > ================================================= > I don't know whether these are inherited from trunk, or my error code / > environment. > So I need some help to address the problems, as well as test on MAC and > BSD. > You can checkout the code and build. Email feedback and patches are very > welcomed. > Thanks very much! > > Regards! -- Dr. Lars Krueger Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de _______________________________________________ Bf-committers mailing list Bf-committers@blender.org http://lists.blender.org/mailman/listinfo/bf-committers