Page 1 of 1

Package OGRE was not found in the pkg-config search path

Posted: Fri Dec 24, 2004 20:25
by stodge
I'm sure this is a basic problem I'm just not seeing! I'm compiling cegui from sources under Linux and I Get:

checking for OGRE >= 0.14.0... Package OGRE was not found in the pkg-config search path.
Perhaps you should add the directory containing `OGRE.pc'
to the PKG_CONFIG_PATH environment variable
No package 'OGRE' found
OGRE renderer disabled

OGRE is installed in /usr/local but I can't get configure to see it.

Any help appreciated!

Thanks

Package OGRE was not found in the pkg-config search path

Posted: Fri Dec 24, 2004 20:45
by _mental_
Have you set your PKG_CONFIG_PATH variable? If you have installed OGRE in /usr/local it will probably be /usr/local/lib/pkgconfig

I always put the following in my .bashrc

export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig

Package OGRE was not found in the pkg-config search path

Posted: Fri Dec 24, 2004 20:50
by stodge
Ah I see - thanks! I wasn't pointing the env variable to pkg-config, just to /usr/local.