I spend a lot of hours installing OgreDotNet. But now, the console show me this error:
### running swig on CeguiBindings ###
Package CEGUI was not found in the pkg-config search path.
Perhaps you should add the directory containing `CEGUI.pc'
to the PKG_CONFIG_PATH environment variable
No package 'CEGUI' found
I searched it in directories but inst'n.
Can anybody help me?
in linux CEGUI does not come with Ogre. you need to download and install it separately. after that run configure on ogre and rebuild it as well. Ogre checks to see of CEGUI is available, and if so it will build the renderable and sample GUI witch OgreDotNet needs.
get CEGUI here http://www.cegui.org.uk/wiki/index.php/Downloads
Now I get the next errors:
OgreBindings.Cegui.i:84: Error: Unable to find 'OgreCEGUIRenderer.h'
OgreBindings.Cegui.i:88: Error: Unable to find 'OgreCEGUIResourceProvider.h'
OgreBindings.Cegui.i:89: Error: Unable to find 'OgreCEGUITexture.h'
./autogen.sh:failed ( ### ERROR, swigging OgreNet.Cegui renderer ### )
I feel bad with this install.
did you rebuild Ogre? Ogre should have installed those .h file.
you need to rebuild ogre.
during the configure it will say somewhere if it is going to build CEGUI stuff
sudo make install
look to see if you have these things.
$ l /usr/local/lib/libCEGUIOgreRenderer.*
-rwxr-xr-x 1 root root 1093 2006-01-07 15:31 /usr/local/lib/libCEGUIOgreRenderer.la*
lrwxrwxrwx 1 root root 29 2006-01-07 15:31 /usr/local/lib/libCEGUIOgreRenderer.so -> libCEGUIOgreRenderer.so.0.0.0*
lrwxrwxrwx 1 root root 29 2006-01-07 15:31 /usr/local/lib/libCEGUIOgreRenderer.so.0 -> libCEGUIOgreRenderer.so.0.0.0*
-rwxr-xr-x 1 root root 1052772 2006-01-07 15:31 /usr/local/lib/libCEGUIOgreRenderer.so.0.0.0*
$ l /usr/local/include/OGRE/OgreCEGUI*
-rw-r--r-- 1 root root 14822 2006-01-07 15:31 /usr/local/include/OGRE/OgreCEGUIRenderer.h
-rw-r--r-- 1 root root 2220 2006-01-07 15:31 /usr/local/include/OGRE/OgreCEGUIResourceProvider.h
-rw-r--r-- 1 root root 5355 2006-01-07 15:31 /usr/local/include/OGRE/OgreCEGUITexture.h
I copy archieves OgreCeguiRenderer from Samples/ Common to /usr/lib, and then the installation continue, but broken in GanstaNet, no one file whit .h of Gansta, only .i.
I go to rebuild now.
GangstaNet is not required to build ODN. There is still a problem with shared pointers in GangstaNet, plus you will need to apply a few patches i submitted on the sourceforge site.
I sugest you not build it now. When you run ogredotnet/autogen.sh it will ask you if you want to build GanstaNet, just say no and it will build the rest.