Hi Iris,
Visual Studio 2010 is not supported for GIMIAS-1.3. However, for the
next release of GIMIAS (1.4), we will support VS2010. Currently I'm using it
together with Windows 7 in 64 bits. I suggest you to use VS2008 or either
try to fix the compilation errors in VS2010.
I attach you a file you need to replace in thirdParty\MITK_SVN2
folder in case you want to use VS2010.
Best,
Xavi
-----Original Message-----
From: Iris Heisterklaus [mailto:[email protected]]
Sent: viernes, 17 de junio de 2011 17:28
To: [email protected]
Subject: [Gimias-developers] Build Gimias in Visual Studio 2010
Hi,
I just found out that there is only Visual Studio 2010 installed on my new
computer. I tried to build gimias with it but until now, I have not
succeeded. The error messages are not the same in different runs of the
compilation so I am not going to post them all.
I use windows 7 (64bit).
Has anyone done that before and is it possible at all?
Thanks in advance
Iris
----------------------------------------------------------------------------
--
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image Editing
and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
Gimias-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gimias-developers
PROJECT(MITK_SVN2)
REGISTER_THIRDPARTY_PROJECT_NAME(MITK_SVN2
"Medical Imaging Interaction Toolkit (SVN version 20100)"
)
REGISTER_THIRDPARTY_PROJECT_DEPENDENCIES(MITK_SVN2
ANN
ITK-3.20
VTK-5.6.1
ZLIB
)
SET(MITK_SVN2_SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR})
# Set MITK_DIR so every project that wants
# itk will use this one automatically.
SET(MITK_DIR
"${${PROJECT_NAME}_BINARY_DIR}/mitk"
)
# Set MITK_SVN2_DIR (location of the MITK cmakelists wrapper)
SET(MITK_SVN2_DIR
"${${PROJECT_NAME}_BINARY_DIR}"
)
##############################################################
IF(WIN32)
#Visual C++, 32-bit, version 2008 1500 (vc90)
IF(MSVC_VERSION GREATER 1500)
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /bigobj")
ENDIF(MSVC_VERSION GREATER 1500)
ENDIF(WIN32)
##############################################################
SET(USE_QT
OFF
CACHE
BOOL
""
FORCE
)
SET(MITK_USE_QT
OFF
CACHE
BOOL
""
FORCE
)
SET(MITK_BUILD_SINGLE_CORE_LIB
ON
CACHE
BOOL
""
FORCE
)
SET(MITK_BUILD_SHARED_LIBS
ON
CACHE
BOOL
""
FORCE
)
SET(BUILD_SHARED_LIBS
ON
CACHE
BOOL
""
FORCE
)
SET(BUILD_EXAMPLES
OFF
CACHE
BOOL
""
FORCE
)
SET(BUILD_TESTING
OFF
CACHE
BOOL
""
FORCE
)
SET(BUILD_QMITK
ON
CACHE
BOOL
""
FORCE
)
SET(MITK_USE_OPENCHERRY
OFF
CACHE
BOOL
""
FORCE
)
MARK_AS_ADVANCED(DART_ROOT)
SET(MITK_SKIP_MAINAPP_DIR
ON
CACHE
BOOL
"Set to OFF in order to build the mitk Sample App (in Qt)"
)
MARK_AS_ADVANCED(MITK_USE_OPENCHERRY)
SET(MITK_USE_OPENCHERRY
OFF
CACHE
BOOL
""
FORCE
)
MARK_AS_ADVANCED(QT_MOC_EXECUTABLE)
SET(QT_MOC_EXECUTABLE
OFF
CACHE
BOOL
""
FORCE
)
SET(CMAKE_CROSSCOMPILING
ON
CACHE
BOOL
""
FORCE
)
IF(${PROJECT_NAME}_TO_BE_COMPILED)
SUBDIRS(mitk)
ENDIF(${PROJECT_NAME}_TO_BE_COMPILED)
##########################################################
# Set UseITK.cmake to the location of the actual file from the InsightToolkit
SET(MITK_SVN2_USE_FILE
"${${PROJECT_NAME}_BINARY_DIR}/mitk/UseMITK.cmake"
)
# Set ITKConfig.cmake to the location of the actual file from the
InsightToolkit
SET(MITK_SVN2_CONFIG
"${${PROJECT_NAME}_BINARY_DIR}/mitk/MITKConfig.cmake"
)
# Configure for the build tree.
CONFIGURE_FILE(
${${PROJECT_NAME}_SOURCE_DIR}/${PROJECT_NAME}Config.cmake.in
"${${PROJECT_NAME}_BINARY_DIR}/${PROJECT_NAME}Config.cmake"
@ONLY
)
# Configure for the build tree.
CONFIGURE_FILE(
${${PROJECT_NAME}_SOURCE_DIR}/Use${PROJECT_NAME}.cmake.in
"${${PROJECT_NAME}_BINARY_DIR}/Use${PROJECT_NAME}.cmake"
@ONLY
)
# For Windows we copy all deccessary DLL's to the gimias working directory and
# this can launch the application without problem. For linux we copy it to
the
# GIMIAS/lib subdirectory and in the Gimias shell script that launces the
application
# we correctly set up the LD_LIBRARY_PATH envoronment variable to include
the GIMIAS/lib
# directory .
IF(MITK_BUILD_SHARED_LIBS)
IF(WIN32)
FILE(GLOB
MITK_ALL_DYNAMIC_LIBRARIES_DEBUG
"${LIBRARY_OUTPUT_PATH}/Debug/mitk*.dll"
)
FILE(GLOB
MITK_ALL_DYNAMIC_LIBRARIES_RELEASE
"${LIBRARY_OUTPUT_PATH}/Release/mitk*.dll"
)
ELSE(WIN32)
FILE(GLOB
MITK_ALL_DYNAMIC_LIBRARIES
"${LIBRARY_OUTPUT_PATH}/libmitk*.so*"
)
ENDIF(WIN32)
ENDIF(MITK_BUILD_SHARED_LIBS)
------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
Gimias-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gimias-developers