bf-blender / Linux glibc 2.3.2 (2004/01/06)

User-contributed CVS development builds. Please test and give feedback!

Moderators: jesterKing, stiv

kino
Posts: 94
Joined: Sun Oct 13, 2002 7:37 pm

bf-blender / Linux glibc 2.3.2 (2004/01/06)

Postby kino » Tue Jan 06, 2004 12:28 am

scons system, no TTF , no Gameengine

Link : removed, use new builds


Log:
SCons updates:
* Removed debug print in ftfont.
* Added FreeType/FTGL support to the Linux build.
NOTE: This feature is on by default, but depends on the pre-build libraries.
So checkout the lib directory. The lib dir should be on the same level as
the blender dir. (In case you didn't know). *

Log:
- belonging to previous commit... correct splitting into triangles
when quads are not planar.


* - ther's no ftgl for glibc2.3.2 in the cvs i cannot compile with ttf i have error with 2.2.5 :)
Last edited by kino on Sun Jan 11, 2004 5:05 pm, edited 1 time in total.
kino3d.com italian site

Michel
Posts: 208
Joined: Wed Oct 16, 2002 7:27 pm
Location: Somewhere below the rivers in Holland (but not Limburg)

Re: bf-blender / Linux glibc 2.3.2 (2004/01/06)

Postby Michel » Tue Jan 06, 2004 8:26 am

Kino,

that's weird. I myself have glibc 2.3.3. And I have compiled blender with the glibc 2.2.5 versions of ftgl and freetype. It should work. If not, please post the link errors here and I'll see what I can do. As a last resort I could disable the International support for a while.

With regards,
Michel
You can have one of two things: Progress or Progress Reports.

kino
Posts: 94
Joined: Sun Oct 13, 2002 7:37 pm

Postby kino » Tue Jan 06, 2004 11:43 am

Hi Michel

My system
Suse 8.2
glibc 2.3.2
gcc 3.3

I learned how to disable in the SConstruc file
the compile of FTGL and how to change library

i have checkout the library dir from the cvs
and is at the same level of the blender dir

the error is at the end of the compile

g++ -pipe -fPIC -funsigned-char -O2 -Wall -W -DINTERNATIONAL
-DFTGL_STATIC_LIBRARY -DWITH_FREETYPE2 -Isource/blender/ftfont
-I/home/kino/develop/lib/linux-glibc2.2.5-i386/ftgl/include
-I/home/kino/develop/lib/linux-glibc2.2.5-i386/freetype/include
-Isource/blender/ftfont -Isource/blender/ftfont/intern
-Isource/blender/blenlib -Isource/blender/makesdna -c -o
source/blender/ftfont/intern/FTF_TTFont.o
source/blender/ftfont/intern/FTF_TTFont.cpp
source/blender/ftfont/intern/FTF_TTFont.cpp: In constructor `
FTF_TTFont::FTF_TTFont()':
source/blender/ftfont/intern/FTF_TTFont.cpp:114: warning: NULL used in
arithmetic source/blender/ftfont/intern/FTF_TTFont.cpp:117: warning:
NULL used in arithmetic
source/blender/ftfont/intern/FTF_TTFont.cpp:134: warning: NULL used in
arithmetic
source/blender/ftfont/intern/FTF_TTFont.cpp: In member function `int
FTF_TTFont::TransConvString(char*, char*, unsigned int)':
source/blender/ftfont/intern/FTF_TTFont.cpp:264: warning: unused
parameter ` char*str'
source/blender/ftfont/intern/FTF_TTFont.cpp:264: warning: unused
parameter ` char*ustr'
source/blender/ftfont/intern/FTF_TTFont.cpp:264: warning: unused
parameter ` unsigned int flag'
ar r lib/libblender_FTF.a source/blender/ftfont/intern/FTF_Api.o
source/blender/ftfont/intern/FTF_TTFont.o ranlib lib/libblender_FTF.a
gcc -o blender source/creator/buildinfo.o source/creator/creator.o
-L/usr/lib -Llib -L/usr/lib/python2.2/config -L.
-L/home/kino/develop/lib/linux-glibc2.2.5-i386/ftgl
-L/home/kino/develop/lib/linux-glibc2.2.5-i386/freetype/lib -lSDL
-lpthread -lblender_render -lblender_yafray -lblender_blendersrc
-lblender_renderconverter -lblender_blenloader -lblender_writestreamglue
-lblender_deflate -lblender_writeblenfile -lblender_readblenfile
-lblender_readstreamglue -lblender_inflate -lblender_img
-lblender_radiosity -lblender_blenkernel -lblender_blenpluginapi
-lblender_imbuf -lblender_avi -lblender_blenlib -lblender_python
-lblender_makesdna -lblender_kernel -lblender_BSP -lblender_LOD
-lblender_GHOST -lblender_STR -lblender_guardedalloc -lblender_BMF
-lblender_CTR -lblender_MEM -lblender_IK -lblender_MT -lsoundsystem
-lblender_FTF -lpython2.2 -lm -lz -lGL -lGLU -lpng -ljpeg -lutil -lftgl
-lfreetype/usr/lib/python2.2/config/libpython2.2.a(posixmodule.o)(.text
+0x3512): In function
`posix_tmpnam':/home/kino/develop/Python/Python-2.2.2/Modules/posixmodu
le.c:4505: the use of `tmpnam_r' is dangerous, better use
`mkstemp'/usr/lib/python2.2/config/libpython2.2.a(posixmodule.o)(.text+
0x342d): In function
`posix_tempnam':/home/kino/develop/Python/Python-2.2.2/Modules/posixmod
ule.c:4455: the use of `tempnam' is dangerous, better use `mkstemp'
lib/libblender_FTF.a(FTF_TTFont.o)(.text+0x5b4): In function
`FTF_TTFont::SetFont(char*, int)':: undefined reference to
`FTGLPixmapFont::FTGLPixmapFont[in-charge](char const*)'
lib/libblender_FTF.a(FTF_TTFont.o)(.text+0x60a): In function
`FTF_TTFont::SetFont(char*, int)':: undefined reference to
`FTGLPixmapFont::FTGLPixmapFont[in-charge](char const*)'
lib/libblender_FTF.a(FTF_TTFont.o)(.text+0x62a): In function
`FTF_TTFont::SetFont(char*, int)':: undefined reference to
`FTGLPixmapFont::FTGLPixmapFont[in-charge](char const*)'
lib/libblender_FTF.a(FTF_TTFont.o)(.text+0x6ba): In function
`FTF_TTFont::SetFont(char*, int)':: undefined reference to
`FTFont::CharMap(FT_Encoding_)'
lib/libblender_FTF.a(FTF_TTFont.o)(.text+0x6cd): In function
`FTF_TTFont::SetFont(char*, int)':: undefined reference to
`FTFont::CharMap(FT_Encoding_)'
lib/libblender_FTF.a(FTF_TTFont.o)(.text+0x6e0): In function
`FTF_TTFont::SetFont(char*, int)':: undefined reference to
`FTFont::CharMap(FT_Encoding_)'
lib/libblender_FTF.a(FTF_TTFont.o)(.text+0x8fe): In function
`FTF_TTFont::Ascender()':: undefined reference to `FTFont::Ascender()
const' lib/libblender_FTF.a(FTF_TTFont.o)(.text+0x93e): In function
`FTF_TTFont::Descender()':: undefined reference to `FTFont::Descender()
const' lib/libblender_FTF.a(FTF_TTFont.o)(.text+0xa58): In function
`FTF_TTFont::DrawString(char*, unsigned)':: undefined reference to
`FTFont::Advance(wchar_t const*)'
lib/libblender_FTF.a(FTF_TTFont.o)(.text+0xadc): In function
`FTF_TTFont::GetStringWidth(char*, unsigned)':: undefined reference to
`FTFont::Advance(wchar_t const*)'
lib/libblender_FTF.a(FTF_TTFont.o)(.text+0xb08): In function
`FTF_TTFont::GetStringWidth(char*, unsigned)':: undefined reference to
`FTFont::Advance(wchar_t const*)'
lib/libblender_FTF.a(FTF_TTFont.o)(.text+0xb95): In function
`FTF_TTFont::GetBoundingBox(char*, float*, float*, float*, float*,
float*, float*, unsigned)':: undefined reference to
`FTFont::BBox(wchar_t const*, float&, float&, float&, float&, float&,
float&)' collect2: ld returned 1 exit status
scons: *** [blender] Error 1
scons: building terminated because of errors.

i have checkout the library with
cvs -z3 up -d -P -d linux-glibc2.2.5-i386/

if i change in SCronstruc file
use_international = 'false'
compilation go well

ciao
kino3d.com italian site

Michel
Posts: 208
Joined: Wed Oct 16, 2002 7:27 pm
Location: Somewhere below the rivers in Holland (but not Limburg)

Postby Michel » Tue Jan 06, 2004 4:08 pm

kino wrote:g++ -pipe -fPIC -funsigned-char -O2 -Wall -W -DINTERNATIONAL
-DFTGL_STATIC_LIBRARY -DWITH_FREETYPE2 -Isource/blender/ftfont
-I/home/kino/develop/lib/linux-glibc2.2.5-i386/ftgl/include
-I/home/kino/develop/lib/linux-glibc2.2.5-i386/freetype/include
-Isource/blender/ftfont -Isource/blender/ftfont/intern
-Isource/blender/blenlib -Isource/blender/makesdna -c -o


ugh, this gives me more information than you're aware :lol:
The above tells me that I'm passing the wrong variables to a SConscript file. It doesn't seem to affect your build at this point though. But the SConscript is not nice. TODO for Michel :wink:

kino wrote:gcc -o blender source/creator/buildinfo.o source/creator/creator.o
-L/usr/lib -Llib -L/usr/lib/python2.2/config -L.
-L/home/kino/develop/lib/linux-glibc2.2.5-i386/ftgl
-L/home/kino/develop/lib/linux-glibc2.2.5-i386/freetype/lib -lSDL
-lpthread -lblender_render -lblender_yafray -lblender_blendersrc
-lblender_renderconverter -lblender_blenloader -lblender_writestreamglue
-lblender_deflate -lblender_writeblenfile -lblender_readblenfile
-lblender_readstreamglue -lblender_inflate -lblender_img
-lblender_radiosity -lblender_blenkernel -lblender_blenpluginapi
-lblender_imbuf -lblender_avi -lblender_blenlib -lblender_python
-lblender_makesdna -lblender_kernel -lblender_BSP -lblender_LOD
-lblender_GHOST -lblender_STR -lblender_guardedalloc -lblender_BMF
-lblender_CTR -lblender_MEM -lblender_IK -lblender_MT -lsoundsystem
-lblender_FTF -lpython2.2 -lm -lz -lGL -lGLU -lpng -ljpeg -lutil -lftgl
-lfreetype


Hrm, that's weird. I see you have -L. in your library path somewhere. This shouldn't be the case. Did you add it yourself? Or is there indeed a needed library located in the root of the source tree of blender on your system?

kino wrote:/usr/lib/python2.2/config/libpython2.2.a(posixmodule.o)(.text
+0x3512): In function
`posix_tmpnam':/home/kino/develop/Python/Python-2.2.2/Modules/posixmodu
le.c:4505: the use of `tmpnam_r' is dangerous, better use
`mkstemp'
/usr/lib/python2.2/config/libpython2.2.a(posixmodule.o)(.text+
0x342d): In function
`posix_tempnam':/home/kino/develop/Python/Python-2.2.2/Modules/posixmod
ule.c:4455: the use of `tempnam' is dangerous, better use `mkstemp'


Nothing to worry about the above 2 warnings. This is because of Python. With Python 2.3, these are gone, but unfortunately some compiler warnings are introduced as well with Python 2.3. Nothing for you to worry about.

kino wrote:lib/libblender_FTF.a(FTF_TTFont.o)(.text+0x5b4): In function
`FTF_TTFont::SetFont(char*, int)':: undefined reference to
`FTGLPixmapFont::FTGLPixmapFont[in-charge](char const*)'

<snip>


I'll have a look at it tomorrow. I don't have time this evening.

kino wrote:i have checkout the library with
cvs -z3 up -d -P -d linux-glibc2.2.5-i386/


The command you've used to checkout the libraries looks to be correct as long as the results on your computer looks a bit like so:

/develop
/develop/lib/linux-glibc2.2.5-i386/
/develop/blender
/develop/blender/source/
/develop/blender/intern/
/develop/blender/SConstruct

kino wrote:if i change in SCronstruc file
use_international = 'false'
compilation go well


Yes, this is exactly what has been intended. Unfortunately, it is not yet possible to specify these options in a seperate file or on the command line. I'm still working on that.

Thanks for using and testing SCons and for reporting this vital information!

With regards,
Michel
You can have one of two things: Progress or Progress Reports.

kino
Posts: 94
Joined: Sun Oct 13, 2002 7:37 pm

Postby kino » Tue Jan 06, 2004 4:57 pm

Michel wrote:
kino wrote:gcc -o blender source/creator/buildinfo.o source/creator/creator.o
-L/usr/lib -Llib -L/usr/lib/python2.2/config -L.
-L/home/kino/develop/lib/linux-glibc2.2.5-i386/ftgl
-L/home/kino/develop/lib/linux-glibc2.2.5-i386/freetype/lib -lSDL
-lpthread -lblender_render -lblender_yafray -lblender_blendersrc
-lblender_renderconverter -lblender_blenloader -lblender_writestreamglue
-lblender_deflate -lblender_writeblenfile -lblender_readblenfile
-lblender_readstreamglue -lblender_inflate -lblender_img
-lblender_radiosity -lblender_blenkernel -lblender_blenpluginapi
-lblender_imbuf -lblender_avi -lblender_blenlib -lblender_python
-lblender_makesdna -lblender_kernel -lblender_BSP -lblender_LOD
-lblender_GHOST -lblender_STR -lblender_guardedalloc -lblender_BMF
-lblender_CTR -lblender_MEM -lblender_IK -lblender_MT -lsoundsystem
-lblender_FTF -lpython2.2 -lm -lz -lGL -lGLU -lpng -ljpeg -lutil -lftgl
-lfreetype


Hrm, that's weird. I see you have -L. in your library path somewhere. This shouldn't be the case. Did you add it yourself? Or is there indeed a needed library located in the root of the source tree of blender on your system?


Hi thanks
with autoconf i ever used --prefix=/usr

in my test with scons in a previous compile i added to platform_libpath = ['/usr/lib'] mybe i forget to clear/checkout the source
can be this ?

but i removed in this compile, i dont know why is here :-/

Nothing to worry about the above 2 warnings. This is because of Python. With Python 2.3, these are gone, but unfortunately some compiler warnings are introduced as well with Python 2.3. Nothing for you to worry about.


thanks , this is in any compile since my first one (when blender/tuhopuu have autoconf :) ) if i remember well

The command you've used to checkout the libraries looks to be correct as long as the results on your computer looks a bit like so:


yes the path is like you write

Thanks for using and testing SCons and for reporting this vital information!

With regards,
Michel


hope is usefull
thanks

kino
kino3d.com italian site


Return to “Testing Builds”

Who is online

Users browsing this forum: No registered users and 1 guest