Hi Andreas,

On Tue, Mar 31, 2009 at 8:59 PM, Andreas Hahn <[email protected]> wrote:
> Hi Stephan,
> i rebuilded everything with your options, exept i had to use ITK_ZLIB and
> VTK 5.2.1. I could build mitk, but the error stayed the same. Cmake threw
> the following warning, but generated anyway:
> CMake Warning (dev) at Core/CMakeLists.txt:47 (ADD_LIBRARY):
>   Policy CMP0003 should be set before this line.  Add code such as
>     if(COMMAND cmake_policy)
>       cmake_policy(SET CMP0003 NEW)
>     endif(COMMAND cmake_policy)
>   as early as possible but after the most recent call to
>   cmake_minimum_required or cmake_policy(VERSION).  This warning appears
>   because target "mitkCore" links to some libraries for which the linker
> must
>   search:
>     m, -lpthread, -lm
>   and other libraries with known full path:
>     /Users/ahahn/Documents/BINARIES/MITK0.10.0/bin/Debug/libmitkIpPic.dylib
>     /opt/local/lib/libqt-mt.dylib
>   CMake is adding directories in the second list to the linker search path
> in
>   case they are needed to find libraries from the first list (for backwards
>   compatibility with CMake 2.4).  Set policy CMP0003 to OLD or NEW to enable
>   or disable this behavior explicitly.  Run "cmake --help-policy CMP0003"
> for
>   more information.
> This warning is for project developers.  Use -Wno-dev to suppress it.
> Generating done

I got the same policy warning, it does not seem to generate any errors though.

> I dont know what to check next. Does this error in glViewport mean, that
> openGL is wrong??

Try to get a minimal VTK example working that uses the QVTKWidget with Qt3.
Then try to get the MITK Step1, Step2... examples from the tutorial working.

Best regards,
  Stephan

------------------------------------------------------------------------------
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to