Hi,

I'm currently using osgCompute for a multispectral image analysing program but 
I discovered some problems with the CMake Files.

First of all, the installing Taget doesn't work:


> 1>  -- Up-to-date: C:\Visual Studio 
> 2010\Projects\Libs\osgCompute\install/lib/osgComputed.lib
> 1>  CMake Error at src/osgCompute/cmake_install.cmake:47 (FILE):
> 1>    file INSTALL cannot find "C:/Visual Studio
> 1>    2010/Projects/Libs/osgCompute/VC/bin/Debug/../osgComputed.dll".
> 1>  Call Stack (most recent call first):
> 1>    src/cmake_install.cmake:32 (INCLUDE)
> 1>    cmake_install.cmake:32 (INCLUDE)


The file was build, but is in VC/bin/Debug/osgComputed.dll and not in 
VC/bin/Debug/../osgComputed.dll (mind the ../).

I tried to find the problem in the cmake file, but I got a bit confused about 
how the installing actually works. Maybe some of you guys can help me with that.



Then I tried the findosgcompute Module in my application. But it has a pretty 
obvious bug in finding the osgCompute Include directory:

Code:
OSGCOMPUTE_FIND_PATH (OSGCOMPUTE osgCompute/Context)


There is no such file as 'Context' in the subversion repository (rev 476). 
Replacing that by 'osgCompute/Computation' works well (I think Computation 
should be the most basic include file, as it is the only that that the 
Endianess Example includes).

And I have another suggestion: Now there is just 'include' as a PATH_SUFFIX. I 
would like to add 'osgCompute/include' as another possible Prefix. The 
intention is, that under Windows I have a Directory calles "Libs" where I put 
all the libraries. This directory is in my PATH enviroment variable. If Cmake 
would see osgCompute/include as a possible prefix I would not need a PATH entry 
for each library if have installed. I think that other users have a similar 
folder structure, so it would be very convenient for windows users. I also 
don't see a real downside of adding another Prefix (well and of course also two 
for the library searching, osgCompute/lib and osgCompute/lib64).
It is not a must have, but I think it would be nice.

Thank you!

Cheers,
Jonathan

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=44056#44056





_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to