Page MenuHomePhabricator

mbilog.lib not included automatically
Closed, ResolvedPublic

Description

This problem occurs in two svn-versions of mitk that I have tested (25.04.2010/24.06.2010).
I use mitk as a toolkit and it is included into my project using CMake.

FIND_PACKAGE(MITK REQUIRED)
INCLUDE_DIRECTORIES(${QMITK_INCLUDE_DIRS})
LINK_DIRECTORIES(${MITK_LINK_DIRECTORIES})
TARGET_LINK_LIBRARIES(${PNAME}

${QMITK_LIBRARIES})

The mbilog creates outputs for several things. But when I try to create a new instance of mitk::ImportItkImage I get a linker error. The library mbilog was not included automatically into the visual studio project (2008).

Event Timeline

[SVN revision 24819]
FIX (#4519): mbilog related linker error for external projects

Could you re-check this please? If it still exists please reopen the bug and add the linker output and the linker command line (Project->Settings ...) to this bug.