ggazzo / opennero

Automatically exported from code.google.com/p/opennero
Other
0 stars 0 forks source link

System-installed Irrlicht not recognised #99

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
This is on revision 1376.

cmake doesn't look for whether Irrlicht is already installed in the system.  
The included Irrlicht is a bit old and does not compile with libpng-1.5.  It is 
also setup to install in non-default places for unix (/usr/local/libIrrlicht.so)

It would be good if presence of the required version of Irrlicht was detected.

Original issue reported on code.google.com by alito...@gmail.com on 14 Nov 2011 at 3:13

GoogleCodeExporter commented 9 years ago
we are using the most recent released version of Irrlicht - 1.7.2 - with some 
custom modifications to their code base. Thus, we can't easily rely on a 
version that is installed on the system, although in general it would be a good 
idea to have cmake compile against it if it is available.

This, however, would require some more work.

Original comment by ikarpov on 14 Nov 2011 at 8:25

GoogleCodeExporter commented 9 years ago
Ah, I see.  And I've noticed that it's Gentoo's patch that makes it compile 
with libpng 1.5, not the fact that the system version is newer.

I've attached Gentoo's patch. With it it compiles with both png 1.2 and with 
1.5.

Original comment by alito...@gmail.com on 18 Nov 2011 at 6:59

Attachments:

GoogleCodeExporter commented 9 years ago
Thanks! r1412 applies this patch to trunk. Don't have a good way to test if it 
compiles against 1.5 - please verify - but at least it shouldn't break anything.

I guess this doesn't technically fix this issue as described, but it addresses 
the immediate concern of not being able to build. I will mark this as fixed - 
if you are still unhappy please make another issue and refer to this one =).

Original comment by ikarpov on 18 Nov 2011 at 7:36