Hi Robert,

"Robert Osfield" wrote:

> 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.

Surprisingly 'FindJasper.cmake' _does_ list /usr/local/include in

FIND_PATH(JASPER_INCLUDE_DIR jasper/jasper.h
[...]
)

as well as /usr/local/lib in

FIND_LIBRARY(JASPER_LIBRARY
[...]
)


The respective version is 1.900 - as reported by the package database:

quickstep: 12:49:40 /usr/local/src/OpenSceneGraph> pkg_info | grep jasper
jasper-1.900.1      An implementation of the codec specified in the JPEG-2000 s


I guess I'll figure how to enable verbose build mode and report back.

> 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?

Correct, that's why I place the brackets there:

quickstep: 12:48:34 /usr/local/src/OpenSceneGraph> ls /usr/local/include/jasper/
jas_cm.h        jas_fix.h       jas_init.h      jas_stream.h    jas_types.h
jas_config.h    jas_getopt.h    jas_malloc.h    jas_string.h    jas_version.h
jas_config2.h   jas_icc.h       jas_math.h      jas_tmr.h       jasper.h
jas_debug.h     jas_image.h     jas_seq.h       jas_tvp.h


        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/

Reply via email to