Re: [Bf-committers] Need some help in building the soc-2011-garlic branch

2011-08-15 Thread xiangquan xiao
Thank all!
I ever thought I had subscribed this list. But negligently I hadn't.
I've read all replies in the list archive. It helps a lot. I'll fix the bugs
finded. Thanks again!

2011/8/13 xiangquan xiao 

> 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 
> and 
>
> =
> 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!
>
___
Bf-committers mailing list
Bf-committers@blender.org
http://lists.blender.org/mailman/listinfo/bf-committers


Re: [Bf-committers] Need some help in building the soc-2011-garlic branch

2011-08-15 Thread Lars Krueger
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 
> 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
> 
> and 
> 
> =
> 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


Re: [Bf-committers] Need some help in building the soc-2011-garlic branch

2011-08-15 Thread Dalai Felinto
Hi.

For scons+MSVC: it builds but fails to link (roughly:"gettext referenced but
not found" and used in blf.c)

My local fix for this is changing in the scons files the default
WITH_BF_INTERNATIONAL to be True instead of False (which should be
done/committed eventually in trunk).

The real fix is to make sure those functions don't get into the way of
someone linking without INTERNATIONAL (assuming this is one of the IFDEFs
inside the code).

I hope that helps,
Dalai

2011/8/15 Sergey Kurdakov 

> Hi
>
>
> >MSVC 2010 Express)+cmake: compile well, but can only run in release
> mode, badly.
>
> it is due to Python debug is compiled with vc 2008  ( so vc 2008 express
> should be installed too - fortunately it is still on the web ) - or
>
> I tried to compile python debug dll myself ( from code repository ) - it
> worked, but still might take about a day to compile  all the necessary libs
> for python. Maybe it was compiled by other devs and they can share the
> debug
> python dlls for vc 2010 ( I do not have them now )
>
> Regards
> Sergey
> ___
> Bf-committers mailing list
> Bf-committers@blender.org
> http://lists.blender.org/mailman/listinfo/bf-committers
>
___
Bf-committers mailing list
Bf-committers@blender.org
http://lists.blender.org/mailman/listinfo/bf-committers