I can't install IRRLICHT!

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
wuyihao
Posts: 7
Joined: Wed Feb 17, 2010 7:21 am

I can't install IRRLICHT!

Post by wuyihao »

I've made the source of it.Then I made install,It said that there's no libirrlicht.so.1.7.0-SVN.I checked at ../lib/linux.I found another file libirrlicht.a

Then I read the MAKEFILE of it.I thought it must stop at this line

$(CXX) $(CPPFLAGS) $(CXXFLAGS) -dynamiclib -Wl,-install_name,$(SHARED_LIB).$(VERSION_MAJOR).$(VERSION_MINOR) -o $(SHARED_LIB).$(VERSION) $^ $(LDFLAGS)

What's the problem?
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

You should probably tell us, which OS you are using. The problem you mention first is due to the default target for the Makefile being the static library target. This only creates the .a file, which you can link against. Since it is not necessary to provide the static library with your application, it is currently not copied by the install target. The latter needs the 'make sharedlib' to be called instead, creating the .so file.
However, the line you pointed to, is from the OSX targets. These are seldomly used, because for OSX you should use XCode. The XCode project can be found in source/Irrlicht/MacOSX
wuyihao
Posts: 7
Joined: Wed Feb 17, 2010 7:21 am

Post by wuyihao »

Thank you very much.The OS I'm using is Ubuntu 9.10.
Do you mean I should put Irrlicht's .h and .a files under my projects folder?
CuteAlien
Admin
Posts: 9734
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany
Contact:

Post by CuteAlien »

How did you install it? With make, make install? Or make sharedlib, make install?
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
wuyihao
Posts: 7
Joined: Wed Feb 17, 2010 7:21 am

Post by wuyihao »

1. make
2. make sharedlib
3. make install

Thank you!

So there's no problem while installing it.
But I still couldn't make the examples under the Code:Blocks IDE.
Should I configure the IDE?
wuyihao
Posts: 7
Joined: Wed Feb 17, 2010 7:21 am

Post by wuyihao »

Oh,I just succeeded!!

Thank you very much!!
Post Reply