Hi Stefan,

Sorry for the late reply, I'm not working on this project often. I didn't
record a screencast but I took note of what I did. Maybe you will be able
to spot what I did wrong.

# Install Qt 5.12.10 (QtScript, QtWebEngine, OpenSSL 1.1)
# Install CMake 3.19.7

# Create an empty extension project
mkdir C:\imeka
cd C:\imeka
mkdir C:\imeka\mibrain
mkdir C:\imeka\mibrain\Modules
Add a ModuleList.cmake file with an empty MITK_MODULES list
mkdir C:\imeka\mibrain\Plugins
Add a PluginList.cmake file with an empty MITK_PLUGINS list

# Get MITK
git clone https://phabricator.mitk.org/source/mitk.git
cd mitk
git checkout v2021.02

# Build MITK
cd ..
mkdir mitk_build_5.12
cd C:/Imeka/mitk_build_5.12
cmake -G "Visual Studio 16 2019" -DCMAKE_BUILD_TYPE:STRING=Release
-DCMAKE_CONFIGURATION_TYPES:STRING="Debug;Release" -DBUILD_TESTING:BOOL=OFF
-DQt5_DIR:PATH=C:/Qt/5.12.10/msvc2017_64/lib/cmake/Qt5
-DBUILD_TESTING:BOOL=0 C:/Imeka/mitk/
Open the solution in Visual Studio and Build. Wait. Visual Studio tells me
that everything has succeeded, nothing has failed.
========== Génération : 20 a réussi, 0 a échoué, 0 à jour, 2 a été ignoré
==========
At that point, I can open the Workbench - About, and see ITK 4.13.3, VTK
9.0.1, Qt 5.12.10

# Add 2 plugins that we need (skipping this part still lead to a full MITK
recompilation)
cd MITK-build
cmake -DMITK_BUILD_org.mitk.gui.qt.moviemaker:BOOL=ON
-DMITK_BUILD_org.mitk.gui.qt.segmentation:BOOL=ON C:/Imeka/mitk/
Open the solution in Visual Studio and Build. Wait. Visual Studio tells me
that everything has succeeded, nothing has failed.
========== Génération : 18 a réussi, 0 a échoué, 2 à jour, 0 a été ignoré
==========
I can still open the Workbench and see the About dialog. And I see the 2
added plugins.
A rebuild (just for testing) in Visual Studio is fast, as expected, because
it's doing nothing.

# Add our own projet (MITK extension)
cd ..
cmake -DMITK_EXTENSION_DIRS:PATH="C:/Imeka/mibrain" C:/Imeka/mitk/
Open the solution in Visual Studio and Build. Wait. Visual Studio tells me
that everything has succeeded, nothing has failed.
*But it's a complete MITK build again. *

So, do you see anything obvious?

-- 
During this time of social distancing, we offer free webinars on subjects 
that matter. <https://www.imeka.ca/webinars/>

CONFIDENTIALITY NOTICE: This 
message, and any attachments, is intended only for the use of the addressee 
or his authorized representative. It may contain information that is 
privileged, confidential and exempt from disclosure under applicable law. 
If the reader of this message is not the intended recipient, or his 
authorized representative, you are hereby notified that any dissemination, 
distribution or copying of this message and any attachments is strictly 
prohibited. The integrity of this message cannot be guaranteed on the 
Internet, IMEKA shall not be liable for its content if altered, changed or 
falsified. If you have received this message in error, please contact 
immediately the sender and delete this message and any attachments from 
your system.


AVIS DE CONFIDENTIALITÉ : Ce message, ainsi que tout fichier 
qui y est joint, est destiné exclusivement aux personnes à qui il est 
adressé. Il peut contenir des informations de nature confidentielle qui ne 
doivent être divulguées en vertu des lois applicables. Si vous n'êtes pas 
le destinataire de ce message ou un mandataire autorisé de celui-ci, vous 
êtes avisé par la présente que toute impression, diffusion, distribution ou 
reproduction de ce message et de tout fichier qui y est joint est 
strictement interdite. L'intégrité de ce message n'étant pas assurée sur 
Internet, IMEKA ne peut être tenue responsable de son contenu s'il a été 
altéré, déformé ou falsifié. Si ce message vous a été transmis par erreur, 
veuillez en aviser sans délai l'expéditeur et l'effacer ainsi que tout 
fichier joint sans en conserver de copie.
_______________________________________________
mitk-users mailing list
mitk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to