Hi there,
on Windows, I am was getting errors loading the Poco libraries. They weren't
found. I noticed that for the MITK project template, and hence for my external
application, the code was like this:
target_link_libraries(${MY_APP_NAME} org_blueberry_osgi ${ALL_LIBRARIES})
if(WIN32)
target_link_libraries(${MY_APP_NAME} ${QT_QTCORE_LIBRARY}
${QT_QTMAIN_LIBRARY})
endif()
However, for ExtApp in the main MITK distribution:
IF (WIN32)
FIND_PACKAGE(Qt4)
TARGET_LINK_LIBRARIES(ExtApp ${QT_QTCORE_LIBRARY} ${QT_QTMAIN_LIBRARY})
ENDIF(WIN32)
TARGET_LINK_LIBRARIES(ExtApp
optimized PocoFoundation debug PocoFoundationd
optimized PocoUtil debug PocoUtild
org_blueberry_osgi
${ALL_LIBRARIES})
When I added code like the second option, specifying both optimized and debug
versions, the application ran.
So, should this be standard? or added to the MITK project? Are other people
not having similar problems?
Thanks
Matt
------------------------------------------------------------------------------
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
Learn about the latest advances in developing for the
BlackBerry® mobile platform with sessions, labs & more.
See new tools and technologies. Register for BlackBerry® DevCon today!
http://p.sf.net/sfu/rim-devcon-copy1
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users