Hi,

Thanks for the help, now I am using the 2018.04 version found in
phabricator. I managed to compile it, all packages being build an non
failed or skipped. but when I try to open the workbench a lot of messages
pop up with:

The code execution cannot proceed because "some.dll" was not found.
Reinstalling the program may fix this problem.

Here "some.dll" are many Qt5, VTK, ITK, Poco, CTK, and DCMTK dlls. I have
tried to reinstall it but nothing changes. I also tried to copy all the
dlls to the same folder as MitkWorkbench.exe and then the messages don't
pop out, but it still crashes.

I tried to register the dlls with regsvr32 but no luck, a message pops
saying: The module "some.dll" was loaded but the entry point
DLLRegisterServer was not found. Make sure that "some.dll" is a valid DLL
or OCX file and try again.

Do you know how I can solve this?

Thank you,

Enric

Missatge de Dinkelacker, Stefan <s.dinkelac...@dkfz-heidelberg.de> del dia
dg., 31 de gen. 2021 a les 22:34:

> Hi Enric,
>
>
> we recommend to base new developments on the master branch resp. one of
> the snapshots/... tags. Note that we also aim to release v2021.01 next week.
>
>
> That said, if you still want to base your developments on v2018.04.2,
> please use the releases/2018-04 branch (only available from
> https://phabricator.mitk.org/source/mitk.git), which contains quite some
> compiler and CMake compatibility updates.
>
>
> In general, CMake projects in Visual Studio will often give you errors
> like "cmd.exe exited with code 1", as many of the build commands are
> actually calls to cmake through cmd.exe. Switch from the error window to
> the output window by double-clicking on the error line and from
> there scroll up, to see the actual output from that cmd.exe session, which
> will always contain the actual error message you are looking for.
>
>
> Best,
>
> Stefan
>
>
> ------------------------------
> *Von:* PERERA I BEL, ENRIC <enric.per...@upf.edu>
> *Gesendet:* Freitag, 29. Januar 2021 11:57
> *An:* mitk-users@lists.sourceforge.net
> *Betreff:* [mitk-users] Compiling MITK in Windows 10
>
> Dear MITK community,
>
> I am trying to compile MITK 2018.04.2 in windows. I have followed the
> steps in the developer tutorial
> <https://www.mitk.org/wiki/Developer_Tutorial_2018.04_(Microsoft_Windows)#Configuring_the_MITK_Project_Template>
>  but
> I am running to an error when compiling (Release, x64, VS 2017, cmake
> 3.10.1, QT 5.12.2), and I can't seem to find its origin:
>
> C:\Program Files (x86)\Microsoft Visual
> Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.CppCommon.targets(209,5):
> error MSB6006: "cmd.exe" exited with code 1. But I can't seem to find what
> its origin is
>
> Also, in the CMakeError.log file this error pops up:
> cl : Command line error D8021: invalid numeric argument '/Wl,-rpath'
> [C:\MITK-superbuild-PT\CMakeFiles\CMakeTmp\cmTC_a4b65.vcxproj]
>
> I don't know if the two errors are the same, but I don't know how to solve
> it. I attach the build log of VS2017 where the error pops, as well as the
> CMAKE output and error logs.
>
> Any idea of what might be going on?
>
> Best,
>
> Enric Perera
>
_______________________________________________
mitk-users mailing list
mitk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to