Hi Martin,

Could you have a look at the OpenSceneGraph/CMakeModules/FindJasper.cmake
file to see whether it needs tweaking.  Enable the verbose build mode might
help work out what is going on.

Curiously jasper on my machine (Suse 10.0 Linux) is located in /usr/include
/usr/lib, but the include has:

ls /usr/include/jasper/
jas_cm.h       jas_config.h  jas_fix.h     jas_icc.h    jas_init.h
jas_math.h  jas_seq.h     jas_string.h  jas_types.h
jas_config2.h  jas_debug.h   jas_getopt.h  jas_image.h  jas_malloc.h
jasper.h    jas_stream.h  jas_tvp.h     jas_version.h

Rather more than your own.  Did you just list jasper.h?

Robert.


On 5/7/07, Martin Spott <[EMAIL PROTECTED]> wrote:

Hi,
certain change over the weekend broke the build on my FreeBSD box.
Apparently some header doesn't get found:

[ 79%] Building CXX object
src/osgPlugins/jp2/CMakeFiles/osgdb_jp2.dir/ReaderWriterJP2.o
/usr/local/src/OpenSceneGraph/src/osgPlugins/jp2/ReaderWriterJP2.cpp:20:31:
jasper/jasper.h: No such file or directory
/usr/local/src/OpenSceneGraph/src/osgPlugins/jp2/ReaderWriterJP2.cpp:32:
error: `jas_stream_t' was not declared in this scope
[...]


The header files reside in /usr/local/ on FreeBSD:

quickstep: 12:09:59 /usr/local/src/OpenSceneGraph> ls -l
/usr/local/include/jasper/
[...]
-r--r--r--  1 root  wheel   3697  7 Mai 12:05 jasper.h


Cheers,
        Martin.
--
Unix _IS_ user friendly - it's just selective about who its friends are !
--------------------------------------------------------------------------
_______________________________________________
osg-users mailing list
osg-users@openscenegraph.net
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

_______________________________________________
osg-users mailing list
osg-users@openscenegraph.net
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to