#24300: OpenSceneGraph-devel 2.9.7 build error -------------------------------+-------------------------------------------- Reporter: yves@… | Owner: nox@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: | Port: OpenSceneGraph-devel -------------------------------+-------------------------------------------- Comment(by yves@…): Replying to [comment:4 ryandesign@…]:
Ok, relevant the error in the log you attached is
{{{ ReaderWriterJP2.cpp:20:31: error: jasper/jasper.h: No such file or directory }}}
It couldn't find jasper/jasper.h, which should have been provided by the jasper port, on which OpenSceneGraph-devel does depend and which your log shows you do have installed and active.
Putting files manually in /usr/local is not supported, and you should remove the file you put there.
The log also shows that it thinks Jasper is installed in /Library/Frameworks/UnixImageIO.framework/Headers/jasper. UnixImageIO.framework is not a standard part of Mac OS X; something else you installed must have installed this framework, and it is interfering with OpenSceneGraph-devel. You should remove this framework, clean OpenSceneGraph-devel, and try again.
I can not remove the UnixImageIO framework of course. But you can close/move or delete this ticket because I have compiled OpenSceneGraph 2.9.7 now and it looks like a non-standard-osx-installation-problem and has nothing to do with your port. The not-supported-manually-putting of jasper.h was the only and quick way to get OpenSceneGraph 2.9.7 compiling with cmake on my 10.5. Thank you anyway for looking to my report! -- Ticket URL: <http://trac.macports.org/ticket/24300#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS