Hi Matt,

I can remember that I had to write some workaround for the OpenCV install 
targets because OpenCV 2.4.2 does not export the final binary path in its 
config file for whatever reasons. I will also have a look at it today and come 
back to you.

Best,
Michael

Von: Clarkson, Matt [mailto:[email protected]]
Gesendet: Dienstag, 15. Januar 2013 09:50
An: mitk-users
Betreff: [mitk-users] OpenCV on Linux - problem with make install??

Hi there,

I get:

-- warning: gp_resolved_file_type non-absolute file 
'libopencv_objdetect.so.2.4' returning type 'other' -- possibly incorrect

on Scientific Linux when running make install on my project.
I have a plugin that uses the OpenCV compiled as part of MITK.
It all compiles and runs ok, its just a warning when the make install runs.
I think from memory that CPack probably suppresses these warnings.

However, in mitkMacroInstallTargets.cmake

  if(OpenCV_DIR)
    list(APPEND DIRS ${OpenCV_DIR}/bin/${intermediate_dir})
  endif()


we see that the library path for resolving targets is the bin folder, whereas 
in my OpenCV build, the libraries are in the lib folder.
Is that right?

Thanks

Matt

------------------------------------------------------------------------------
Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and
much more. Get web development skills now with LearnDevNow -
350+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122812
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to