It does not make the development environment in the mac OS

All other questions regarding DCMTK

Moderator: Moderator Team

Post Reply
Message
Author
mokudo
Posts: 10
Joined: Mon, 2012-04-16, 06:40

It does not make the development environment in the mac OS

#1 Post by mokudo »

mac mimi(late2014)
mac os yosemite 10.10.4
xcode 6.4
cmake 3.3.0-rc3
dcmtk3.6.1_20150629.tar


I can output to generate code in cmake.
It is not possible to open the xcodeDCMTK.xcodeproj.

Please help me.

https://dl.dropboxusercontent.com/u/1794792/no1.png
https://dl.dropboxusercontent.com/u/1794792/no2.png
https://dl.dropboxusercontent.com/u/1794792/no3.png

Jan Schlamelcher
OFFIS DICOM Team
OFFIS DICOM Team
Posts: 318
Joined: Mon, 2014-03-03, 09:51
Location: Oldenburg, Germany

Re: It does not make the development environment in the mac

#2 Post by Jan Schlamelcher »

Just a stupid question that arised from looking at your screenshots: You did hit the generate button after configure, right?

Also: try using makefiles instead of xcodeproj if nothing else helps.

mokudo
Posts: 10
Joined: Mon, 2012-04-16, 06:40

Re: It does not make the development environment in the mac

#3 Post by mokudo »

Thank you for your reply.

I start again from the beginning.
I press the button only generate.

xcodeproj did can not be opened.Why?

Make you successful from the terminal.
Will it not be from cmake?

Please help me.

Michael Onken
DCMTK Developer
Posts: 2048
Joined: Fri, 2004-11-05, 13:47
Location: Oldenburg, Germany
Contact:

Re: It does not make the development environment in the mac

#4 Post by Michael Onken »

Hi,

There must be an XCode log somewhere or some other window to get details.

Best regards,
Michael

mokudo
Posts: 10
Joined: Mon, 2012-04-16, 06:40

Re: It does not make the development environment in the mac

#5 Post by mokudo »

Thank you for your reply.

It sets aside the environment after the cmake.
xcodeproj does not start.

https://dl.dropboxusercontent.com/u/1794792/data.zip

mokudo
Posts: 10
Joined: Mon, 2012-04-16, 06:40

Re: It does not make the development environment in the mac

#6 Post by mokudo »

It doesn't succeed yet.
Please tell someone to me.

Michael Onken
DCMTK Developer
Posts: 2048
Joined: Fri, 2004-11-05, 13:47
Location: Oldenburg, Germany
Contact:

Re: It does not make the development environment in the mac

#7 Post by Michael Onken »

There must somewhere be a log from Xcode startup. I cannot find it in your dropbox files.

ChrisMJSong
Posts: 4
Joined: Thu, 2015-07-02, 08:50

Re: It does not make the development environment in the mac

#8 Post by ChrisMJSong »

Hi, mokudo.

I had a same problem and solve it.

Open the 'dcmtkPrepare.cmake' file in CMake directory.
find a string
ADD_DEFINITIONS(-DDCMTK_BUILD_DATE=\\\"2015-06-29\\\") at line 200

and replace the string like this.
ADD_DEFINITIONS(-DDCMTK_BUILD_DATE="2015-06-29")

finally Configure and Generate.

So, you will be able to open the Xcode project. 

Michael Onken
DCMTK Developer
Posts: 2048
Joined: Fri, 2004-11-05, 13:47
Location: Oldenburg, Germany
Contact:

Re: It does not make the development environment in the mac

#9 Post by Michael Onken »

Hi,

yes, I remember that issue, specific to XCode.

Since you use the current DCMTK, maybe the CMake version is the problem then since we now built fine on our Mac Mini (dont have the software versions at hand).

Thanks for helping out Chris!

Best,
Michael

Edit: Actually that is still a bug in our CMake/CMake files that we release with each snapshot, so that is something we should fix on our side, too. Note that you should be able to compile non-snapshot versions (from http://git.dcmtk.org) whithout problems, since the BUILD_DATE field is not set then.

mokudo
Posts: 10
Joined: Mon, 2012-04-16, 06:40

Re: It does not make the development environment in the mac

#10 Post by mokudo »

Hi, ChrisMJSong.

Thank you for your reply.
It was successful.
It was really good.

Thank you everyone.

Jan Schlamelcher
OFFIS DICOM Team
OFFIS DICOM Team
Posts: 318
Joined: Mon, 2014-03-03, 09:51
Location: Oldenburg, Germany

Re: It does not make the development environment in the mac

#11 Post by Jan Schlamelcher »

For anyone that finds this thread: it has just been fixed, see our bugtracker for more information.

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], Google [Bot] and 1 guest