Search found 12 matches

by cgraus
Sun, 2005-09-11, 22:18
Forum: DCMTK - Installation
Topic: Problem solved
Replies: 2
Views: 4923

Sure thing - glad to help. In essence, I've gone around in circles for over a week on this ( as visible by my questions below ), until one of the Microsoft C++ compiler authors helped me out by looking at the output and telling me exactly what was going wrong. I had assumed I couldn't be linking to ...
by cgraus
Fri, 2005-09-09, 05:15
Forum: DCMTK - Installation
Topic: Problem solved
Replies: 2
Views: 4923

Problem solved

It seems that DCMTK was building the replacement class for std::string, and I also needed to add some other linker settings to make it work. None of this was covered in the FAQ, so I'm posting again just in case anyone else gets stuck. I've set the forum to let me know if anyone replies - given that...
by cgraus
Fri, 2005-09-09, 00:07
Forum: DCMTK - Installation
Topic: Problem is OFString, please help
Replies: 0
Views: 8150

Problem is OFString, please help

I've had some people from the Microsoft compiler team looking at the output and they've told me that basically I am linking with two different versions of the STL. Well, it would appear that at least one problem is OFString. The top of the file looks like this: #ifndef HAVE_STD_STRING #include "...
by cgraus
Thu, 2005-09-08, 07:35
Forum: DCMTK - Installation
Topic: Inline functions ?
Replies: 1
Views: 4132

Inline functions ?

I've been asking on the Microsoft forums, and the advice I've been given is that the functions that are causing errors should be inline and for some reason are not. I've found this line: #define C_INLINE __inline which seems to me to be as it should be, although I've found no code that uses this mac...
by cgraus
Wed, 2005-08-31, 23:39
Forum: DCMTK - Installation
Topic: Has anyone succeeded in linking DCMTK to VS2005 ?
Replies: 0
Views: 7665

Has anyone succeeded in linking DCMTK to VS2005 ?

If so, I'd really appreciate some tips, because I've been trying for a week now.
by cgraus
Wed, 2005-08-31, 02:49
Forum: DCMTK - Installation
Topic: Linking with VS2005
Replies: 10
Views: 17005

Are you suggesting I build DCMTK into DLLs and link to them ? How do I do that ? FWIW, I am in the same boat I was a week ago - I have a VC6 project which builds with DCMTK, using /MD. I migrated to VC2005, and everything builds, but although I built DCMTK with VC2005, using /MD, when I try to link ...
by cgraus
Tue, 2005-08-30, 05:52
Forum: DCMTK - Installation
Topic: Linking with VS2005
Replies: 10
Views: 17005

Thanks for the replies. I took the time to force all my other code to build with /MT, and rebuilt DCMTK to use /MT as well. It seems to be linking now ( still have an unrelated linking error to solve, so I can't say for sure )
by cgraus
Tue, 2005-08-30, 01:23
Forum: DCMTK - Installation
Topic: Linking with VS2005
Replies: 10
Views: 17005

Thanks, but as I said, I have been building with /MD exclusively. I am not mixing release and debug libraries. I am in the process of trying to get my project to build with /MT, but somewhere, _AFXEXT or _AFXDLL is being defined, which causes an error in afx.h.
by cgraus
Mon, 2005-08-29, 07:25
Forum: DCMTK - Installation
Topic: Linking with VS2005
Replies: 10
Views: 17005

In addition, all projects use the same build type as the library files themselves. I really appreciate any help here, I've been working on this for almost a week, and I am going in circles.
by cgraus
Mon, 2005-08-29, 04:40
Forum: DCMTK - Installation
Topic: Linking with VS2005
Replies: 10
Views: 17005

In addition, I created a new MFC VC2005 project, set it up to link to DCMTK, and added only the base base code to create a DicomImage from an CFileDialog returned path, and got these errors: libcpmt.lib(locale0.obj) : error LNK2005: "private: static class std::locale::_Locimp * __cdecl std::loc...
by cgraus
Mon, 2005-08-29, 00:13
Forum: DCMTK - Installation
Topic: Linking with VS2005
Replies: 10
Views: 17005

Yes, I'm sure, by virtue of the fact that I compiled it :-) I used CMake and got a VS2005 project that compiles perfectly, and I'm trying to link against it.

Thanks for your help.

Christian
by cgraus
Wed, 2005-08-24, 23:03
Forum: DCMTK - Installation
Topic: Linking with VS2005
Replies: 10
Views: 17005

Linking with VS2005

Hi all. I've read the FAQ and tried to work through some of the solutions suggested here, but nothing seems to be working for me. I've been given the job of moving a project which already links in to DCMTK from VC6 to VC2005. I'm also using the C++ standard library in the code for the first time, bu...