[sldev] First shot at building source.
Alan Grimes
agrimes at speakeasy.net
Sun Apr 29 23:44:34 PDT 2007
Hello, newbie here. (Gentoo linux)
1. Including third party libraries with your distro is very bad karma.
It garentees that your stuff will rapidly become bloated and
unmaintainable. Many of the libraries in the current distribution can be
deleted and the client still runs against the host libraries with no
visible impact on performance.
2. When including headers from libraries, always use the <>'s... Use the
compiler -I flag to direct it to specific include paths... Most of the
compile errors (building against system libraries), I've seen so far
have been solvable by changing "foo/bar.h" to simply <bar.h>
3. What's up with xmlrpc-epi? It seems to be a dead package... Why not
maintain it in house instead of applying 20 patches to the stuff on
sourceforge?
4. What advantages does Fmod have over SDL's sound library?
5. It is very bad karma to tell people to compile stuff with --prefix=/usr
6. What i really need is a multithreaded client. I have a 1.2ghz dual
athlon... Getting a bigger machine would be pointless if I can only use
1 CPU. =(
7. There seems to be some issues compiling against Nvidia's openGL
headers. I'd love to use DRI/Mesa but IT DOES NOT WORK. Seems to be a
glext call without including glext and enabling the prototypes...
8. It'd be incredibly useful to have a pre-made kdevelop config file for
this project. Kdevelop is awesome at helping you find suboptimal code! =)
9. What's with the custom gl.h? I realize that a reasonably modern
OpenGL implementation is a threat to Micro$oft's existance, I think it's
time to drop the Windows client. ;)
Okay, that's enough for the nite, the current build error is:
########################################33
atg at leenooks ~/source/linden/indra $ scons BTARGET=client BUILD=release
MOZLIB=no
scons: Reading SConscript files ...
Building client 1.15.0.2 on i686-linux (release)
No CCACHE_DIR set.
scons: done reading SConscript files.
scons: Building targets ...
scons: `lib_release_client/i686-linux/libllcommon.a' is up to date.
scons: `lib_release_client/i686-linux/libllmath.a' is up to date.
scons: `lib_release_client/i686-linux/libllmessage.a' is up to date.
scons: `lib_release_client/i686-linux/libllvfs.a' is up to date.
scons: `lib_release_client/i686-linux/libllimage.a' is up to date.
scons: `lib_release_client/i686-linux/libllinventory.a' is up to date.
scons: `lib_release_client/i686-linux/libllcharacter.a' is up to date.
scons: `lib_release_client/i686-linux/libllprimitive.a' is up to date.
g++ -o
/tmp/atg/home/atg/source/linden/indra/i686-linux-client-release/llrender/llimagegl.o
-c -g -pipe -Wall -Wno-trigraphs -DLL_USE_KDU=0 -falign-loops=16
-fno-math-errno -fexceptions -fsigned-char -fno-strict-aliasing
-ffast-math -DLL_MESA_HEADLESS=0 -DLL_MESA=0 -DLL_LINUX=1
-DAPPID=secondlife -DLL_SDL=1 -DLL_X11=1 -DLL_GTK=1
-DLL_LIBXUL_ENABLED=0 -O2 -DNDEBUG -DLL_RELEASE=1 -Illcommon -Illmath
-Illwindow -Illaudio -Illcharacter -Illdatabase -Illhavok -Illimage
-Illinventory -Illmedia -Illmessage -Illprimitive -Illrender -Illscene
-Illui -Illvfs -Illwindow -Illxml -Ilscript
-I/home/atg/source/linden/libraries/include
-I/home/atg/source/linden/libraries/include/havok
-I/home/atg/source/linden/libraries/i686-linux/include
-I/home/atg/source/linden/libraries/i686-linux/include/ELFIO
-I/usr/include/freetype2
/tmp/atg/home/atg/source/linden/indra/i686-linux-client-release/llrender/llimagegl.cpp
/tmp/atg/home/atg/source/linden/indra/i686-linux-client-release/llrender/llimagegl.cpp:
In static member function 'static void
LLImageGL::bindExternalTexture(LLGLuint, S32, LLGLenum)':
/tmp/atg/home/atg/source/linden/indra/i686-linux-client-release/llrender/llimagegl.cpp:130:
error: 'glActiveTexture' was not declared in this scope
/tmp/atg/home/atg/source/linden/indra/i686-linux-client-release/llrender/llimagegl.cpp:131:
error: 'glClientActiveTexture' was not declared in this scope
/tmp/atg/home/atg/source/linden/indra/i686-linux-client-release/llrender/llimagegl.cpp:
In static member function 'static void LLImageGL::unbindTexture(S32,
LLGLenum)':
/tmp/atg/home/atg/source/linden/indra/i686-linux-client-release/llrender/llimagegl.cpp:139:
error: 'glActiveTexture' was not declared in this scope
/tmp/atg/home/atg/source/linden/indra/i686-linux-client-release/llrender/llimagegl.cpp:140:
error: 'glClientActiveTexture' was not declared in this scope
/tmp/atg/home/atg/source/linden/indra/i686-linux-client-release/llrender/llimagegl.cpp:
In static member function 'static void LLImageGL::unbindTexture(S32)':
/tmp/atg/home/atg/source/linden/indra/i686-linux-client-release/llrender/llimagegl.cpp:148:
error: 'glActiveTexture' was not declared in this scope
/tmp/atg/home/atg/source/linden/indra/i686-linux-client-release/llrender/llimagegl.cpp:149:
error: 'glClientActiveTexture' was not declared in this scope
/tmp/atg/home/atg/source/linden/indra/i686-linux-client-release/llrender/llimagegl.cpp:
In member function 'BOOL LLImageGL::bindTextureInternal(S32) const':
/tmp/atg/home/atg/source/linden/indra/i686-linux-client-release/llrender/llimagegl.cpp:410:
error: 'glActiveTexture' was not declared in this scope
scons: ***
[/tmp/atg/home/atg/source/linden/indra/i686-linux-client-release/llrender/llimagegl.o]
Error 1
scons: building terminated because of errors.
atg at leenooks ~/source/linden/indra $
#####################################
--
Opera: Sing it loud! :o( )>-<
More information about the SLDev
mailing list