You are not logged in.
here is the pkgbuilds for ogre 1.0.X and all of its dependencies
EDIT: removed PKGBUILDs and replaced with AUR links
follow this howto to get a sample program compiling
http://www.ogre3d.org/wiki/index.php/Th … Anjuta_IDE
thanks go to shastry for the original ogre PKGBUILD which i used as a base..
http://bbs.archlinux.org/viewtopic.php? … light=ogre
note: you must install the cgcompiler, even if you dont have an nvidia graphics card!
enjoy
cgcompiler
http://aur.archlinux.org/packages.php?d … s=0&SeB=nd
Offline
just a note - instead of specifying a sourceforge mirror you can use:
http://dl.sourceforge.net/sourceforge/<project name>/<file name>.tar.gz as an alias (good practice to put this in PKGBUILDs
Offline
cool thanks! ive been wondering about how to do that properly, id seen it before but couldnt find a PKGBUILD that did it properly again..
ive updated the PKGBUILDs above
Offline
im attempting to compile ogre 1.0.1 and am running into some problems.
when it tries to link it generates the following error
mkdir .libs
libtool: link: warning: library `/usr/lib/libzzip.la' was moved.
grep: /usr/lib/libmng.la: No such file or directory
/bin/sed: can't read /usr/lib/libmng.la: No such file or directory
libtool: link: `/usr/lib/libmng.la' is not a valid libtool archive
make[2]: *** [libOgreMain.la] Error 1
make[2]: Leaving directory `/var/abs/local/ogre/src/ogrenew/OgreMain/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/abs/local/ogre/src/ogrenew/OgreMain'
make: *** [all-recursive] Error 1
==> ERROR: Build Failed. Aborting...
[root@64-3200 ogre]# pacman -Qs libmng
local/libmng 1.0.9-1
A collection of routines used to create and manipulate MNG format graphics files
as you can see, libmng is installed but is missing libmng.la
it should be pretty easy to make using libzzip.la as a reference, but i think libmng should have this file added to its package..
heres the PKGBUILD im using
[edit] Removed to prevent confusion.. refer to OGRE 1.0.1 PKGBUILD at top [/edit]
ogre 1.0.0 didnt generate this error.. which is strange.. image support would be done through DevIL.. and DevIL is the same version and worked previously...
any help would be appreciated
Offline
i manually created the missing file.. i DIDNT use the libtool.sh script as the file suggests.. i manually edited the libzzip.la file and converted it to a libmng.la file
here it is
[edit] removed to prevent confusion / double updating, please refer to first post for file [/edit]
ogre compiled so i assume that means it works
ill try and package CEGui later on since ogre's .config looks for CEGui (but doesnt require it).
Im not using any ogre UIs for a while so dont hold your breath.
Offline
in a few days ill package up Ogre 1.0.2, it should be a very minor change to the ogre package, and most likely just a version increment to the pkgver variable
[edit] ogre 1.0.2 is available here and in the AUR [/edit]
Offline
could someone give me a hand packaging ogre 1.0.6?
its driving me crazy and i really need it to start development.
i just get libtool errors
heres what ive got so far
#contributor: Adam Griffiths <adam_griffithsAATTdart.net.au>
pkgname=ogre
pkgver=1.0.6
pkgrel=1
pkgdesc="ogre3d (Object-oriented Graphics Rendering Engine)"
url="http://www.ogre3d.org/"
license="LGPL"
depends=('cgcompiler' 'devil' 'zziplib' 'freetype2')
makedepends=('sed')
source=('http://dl.sourceforge.net/sourceforge/ogre/ogre-linux_osx-v1-0-6.tar.bz2')
md5sums=('49d75f22a5893bdab31367c069b9b99b')
build() { cd $startdir/src/ogrenew
# aclocal
# ./bootstrap
# for GLX support
./configure --prefix=/opt/ogre --with-gl-support=GLX --with-platform=GLX
make || return 1
make prefix=$startdir/pkg/opt/ogre install
# Copy the sample code and meshes across
cp -R $startdir/src/ogrenew/Samples $startdir/pkg/opt/ogre/
chgrp users $startdir/pkg/opt/ogre/Samples -R
chmod 775 $startdir/pkg/opt/ogre/Samples -R
# Update the plugin.cfg file paths
sed -i "sPluginFolder=/usr/local/lib/OGREPluginFolder=/opt/ogre/lib/OGRE/\" $startdir/pkg/opt/ogre/Samples/Common/bin/plugins.cfg
# Create a reference to our pkgconfig file
mkdir -p $startdir/pkg/etc/profile.d
echo "export PATH=$PATH:/opt/ogre/bin" > $startdir/pkg/etc/profile.d/ogre.sh
echo "export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/opt/ogre/lib/pkgconfig" >> $startdir/pkg/etc/profile.d/ogre.sh
chmod 755 $startdir/pkg/etc/profile.d/ogre.sh
# kill libtool
find $startdir/pkg -name '*.la' -exec rm {} ;
}
Offline
What error message are you getting?
Offline
sorry, i realised i should've mentioned that when i went to sleep.
Basically, the main ogre libraries compile fine.
But when it comes to building system dependent libraries, in this case, RenderSystems, etc, libtool complains, and gives a command it says i should run first.
It does this for about 5 libraries.
If i do make; followed by the commands libtool said, and then make install; The errors go away, but the libraries still aren't built.
this is the first of such errors
make[4]: Nothing to be done for `install-exec-am'.
/bin/sh ../../../mkinstalldirs /home/father/arch/build/for_aur/ogre/pkg/opt/ogre/lib
/bin/sh ../../../libtool --mode=install /bin/install -c libOgrePlatform.la /home/father/arch/build/for_aur/ogre/pkg/opt/ogre/lib/libOgrePlatform.la
libtool: install: warning: relinking `libOgrePlatform.la'
(cd /home/father/arch/build/for_aur/ogre/src/ogrenew/PlatformManagers/GLX/src; /bin/sh ../../../libtool --mode=relink g++ -march=i686 -O2 -pipe -o libOgrePlatform.la -rpath /opt/ogre/lib -module -shared -L../../../OgreMain/src OgreGLXConfig.lo OgreGLXInput.lo OgreGLXTimer.lo OgreGLXPlatform.lo -L/usr/X11R6/lib -lX11 -lXaw
-lGL -lGLU -lOgreMain -lXaw -lCg -lILU -lIL -lpthread -lz -lm -ldl)
gcc -shared OgreGLXConfig.lo OgreGLXInput.lo OgreGLXTimer.lo OgreGLXPlatform.lo -Wl,--rpath -Wl,/opt/ogre/lib -L/home/father/arch/build/for_aur/ogre/src/ogrenew/OgreMain/src -L/usr/X11R6/lib -lX11 -L/usr/lib -lGL
-lGLU -L/opt/ogre/lib -lOgreMain -lXaw -lCg -lILU -lIL -lpthread -lz -lm -ldl -Wl,-soname -Wl,libOgrePlatform.so.0 -o .libs/libOgrePlatform.so.0.0.0
/usr/bin/ld: cannot find -lOgreMain
collect2: ld returned 1 exit status
libtool: install: error: relink `libOgrePlatform.la' with the above command before installing it
libtool: install: warning: remember to run `libtool --finish /opt/ogre/lib'
make[4]: Leaving directory `/home/father/arch/build/for_aur/ogre/src/ogrenew/PlatformManagers/GLX/src'
i just realised i didnt run libtool --finish .... like it says...
i might try that..
but its just so... brute force.. there has to be a more elegant way that doesn't involve re-creating the project or running these crazy commands.. dunno
fyi, the libraries that aren't being built SHOULD be located in /opt/ogre/lib/OGRE
thanks for any help!
Offline
Random question but why cant ogre be located in /usr?
Offline
Alot of projects need to modify it and what not, having it in /opt just means that the source is easy to find and not scattered about with other misc libraries. I just felt it was the best location for it.
Offline
...anyone......?
Offline
........................................
Offline
weird... when i compile WITHOUT GLX support, it works!?!
weird!
So i guess its trying to link to the nvidia libraries or something and can't find the .la files???
Offline