admin管理员组

文章数量:1201982

I am trying to compile DCMTK to use the package with QT, But When I compile I am not able to see include folder inside the install path.

  1. I downloaded the github -

  2. I opened the folder in Cmake and gave configure

    These are the options I enabled

  3. After that I gave again configure and I clicked generate.

  4. I opened the project in VC++ and build the whole solution

but still I dont see anything

I am trying to compile DCMTK to use the package with QT, But When I compile I am not able to see include folder inside the install path.

  1. I downloaded the github - https://github.com/DCMTK/dcmtk?tab=readme-ov-file

  2. I opened the folder in Cmake and gave configure

    These are the options I enabled

  3. After that I gave again configure and I clicked generate.

  4. I opened the project in VC++ and build the whole solution

but still I dont see anything

Share Improve this question edited Jan 21 at 15:35 James Z 12.3k10 gold badges27 silver badges47 bronze badges asked Jan 21 at 11:52 RonRon 931 gold badge1 silver badge9 bronze badges 10
  • Did you run the INSTALL target? – Botje Commented Jan 21 at 12:03
  • How to run that? I have set the CMAKE_INSTALL_PREFIX but still there is nothing in that folder – Ron Commented Jan 21 at 12:08
  • Help me out if you know what I am missing @Botje – Ron Commented Jan 21 at 12:18
  • The INSTALL target does not build by default. Build it separately or add it to the default list of targets. Visual Studio ships with a perfectly good manual that will tell you how to use it. – Botje Commented Jan 21 at 12:23
  • I compiled the INSTALL target also but still nothing happened – Ron Commented Jan 21 at 12:26
 |  Show 5 more comments

1 Answer 1

Reset to default 0

I opened VC++ in admin mode and ran the following command in VC++ terminal

cmake --build . --config Release --target INSTALL

It worked and installed DCMTK Thanks all for the support

本文标签: cInclude folder is not there after DCMTK CompilationStack Overflow