Search found 15 matches

by juan_7_89
Tue, 2014-11-11, 21:20
Forum: DCMTK - General
Topic: DicomImage problem with codecs
Replies: 1
Views: 12794

DicomImage problem with codecs

Hello. I'm having problems opening some Dicom Images. This is my code: DJDecoderRegistration::registerCodecs(); if(!larchivos.empty()){ string nombre_archivo = *(larchivos.begin()); FileFormat fileFormat; OFCondition status = fileFormat.loadFile(nombre_archivo.c_str()); if (status.good()){ DicomImag...
by juan_7_89
Sun, 2013-11-03, 18:11
Forum: DCMTK - General
Topic: dcmtk/oflog/thread/syncprim.h: No such file or directory
Replies: 8
Views: 7989

Re: dcmtk/oflog/thread/syncprim.h: No such file or directory

Thanks! The problem was solved with that repository
by juan_7_89
Fri, 2013-11-01, 23:03
Forum: DCMTK - General
Topic: dcmtk/oflog/thread/syncprim.h: No such file or directory
Replies: 8
Views: 7989

Re: dcmtk/oflog/thread/syncprim.h: No such file or directory

What is the project name?

I can't just clone it with: git clone git://git.dcmtk.org/

Thanks!
by juan_7_89
Fri, 2013-11-01, 19:53
Forum: DCMTK - General
Topic: dcmtk/oflog/thread/syncprim.h: No such file or directory
Replies: 8
Views: 7989

Re: dcmtk/oflog/thread/syncprim.h: No such file or directory

I get the files from here https://github.com/commontk/DCMTK

I'm sure the file is not in my pc. I tried to find it with the search button and i get nothing, i don't even have the "thread" folder
by juan_7_89
Fri, 2013-11-01, 19:39
Forum: DCMTK - General
Topic: dcmtk/oflog/thread/syncprim.h: No such file or directory
Replies: 8
Views: 7989

Re: dcmtk/oflog/thread/syncprim.h: No such file or directory

The header file does not exists in the include directory. I don't even have the /thread folder

The steps i followed:
make clean -> ./configure -> make all -> make install-lib

and i get the same error.
by juan_7_89
Fri, 2013-11-01, 01:06
Forum: DCMTK - General
Topic: dcmtk/oflog/thread/syncprim.h: No such file or directory
Replies: 8
Views: 7989

dcmtk/oflog/thread/syncprim.h: No such file or directory

Hi! I get that error message when compiling my program.
I've installed DCMTK from git with no errors.

Anyone know what that mean? The library doesn't exists and i don't know why.

Thanks!
by juan_7_89
Thu, 2013-10-31, 22:39
Forum: DCMTK - General
Topic: convert OFString into string
Replies: 9
Views: 11067

Re: convert OFString into string

I know it's a bit late but thanks.
Do you mean CPPFLAGS =-DHAVE_STD_STRING?

Thank you again.
by juan_7_89
Thu, 2013-06-27, 18:41
Forum: DCMTK - General
Topic: Problems with DicomImage
Replies: 6
Views: 11400

Re: Problems with DicomImage

Thank you very much!
That was the problem
by juan_7_89
Thu, 2013-06-27, 18:33
Forum: DCMTK - General
Topic: convert OFString into string
Replies: 9
Views: 11067

Re: convert OFString into string

Thanks, I understand now.

I'm new in this. How do i specify the aditional compiler flag? I don't know where i have to do it.
by juan_7_89
Thu, 2013-06-27, 18:12
Forum: DCMTK - General
Topic: convert OFString into string
Replies: 9
Views: 11067

Re: convert OFString into string

What do you mean with recompile the entire DCMTK? I have only add -DHAVE_STD_STRING to the flags. This is my makefile: GPP=g++ GCC=gcc FLAGS= -fshow-column -g2 -Wall -O0 -Wall -pedantic-errors -DHAVE_CONFIG_H -DHAVE_STD_STRING -O0 -D_DEBUG LIBS= -L/usr/local/lib -L/usr/local/include -ldcmjpeg -lijg8...
by juan_7_89
Tue, 2013-06-25, 18:50
Forum: DCMTK - General
Topic: convert OFString into string
Replies: 9
Views: 11067

Re: convert OFString into string

Yes i'm talking about that! But if a use that i get errors with this funcion: FileFormat.getDataset()->findAndGetOFString(DCM_PatientID,ID_P) undefined reference to 'DcmItem::findAndGetOFString(DcmTagKey const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> >&, unsigne...
by juan_7_89
Tue, 2013-06-25, 18:23
Forum: DCMTK - General
Topic: convert OFString into string
Replies: 9
Views: 11067

convert OFString into string

Hello! I don't know how to do it. Can anyone help me? This is my code: //NOMBRE DEL PACIENTE! OFString Nombre_P; //tratamos de recuperar el nombre del paciente if (FileFormat.getDataset()->findAndGetOFString(DCM_PatientName, Nombre_P).good()) { cout << "Nombre del paciente: " << Nombre_P <...
by juan_7_89
Sun, 2013-06-16, 15:57
Forum: DCMTK - General
Topic: Problems with DicomImage
Replies: 6
Views: 11400

Re: Problems with DicomImage

you are right! Thanks again! and what libs do i need? because my error message is this now: /home/juampi/projects/ImgDicom/main.cpp:20: error: undefined reference to 'DJDecoderRegistration::registerCodecs(E_DecompressionColorSpaceConversion, E_UIDCreation, E_PlanarConfiguration, bool)' /home/juampi/...
by juan_7_89
Sat, 2013-06-15, 20:48
Forum: DCMTK - General
Topic: Problems with DicomImage
Replies: 6
Views: 11400

Re: Problems with DicomImage

Thanks! I'm now having problems with this #include <stdio.h> #include "dcmtk/config/osconfig.h" #include "dcmtk/dcmdata/dctk.h" #include "dcmtk/dcmimage/diregist.h" //libreria para manejar el dataset #include "dcmtk/dcmimgle/dcmimage.h" /* for DicomImage */ //...
by juan_7_89
Sat, 2013-06-15, 18:02
Forum: DCMTK - General
Topic: Problems with DicomImage
Replies: 6
Views: 11400

Problems with DicomImage

Hi! I'm having problems using DicomImage. I have wrote this code and it works well #include <stdio.h> #include "dcmtk/config/osconfig.h" #include "dcmtk/dcmdata/dctk.h" #include "dcmtk/dcmimage/diregist.h" /* include to support color images */ #include "dcmtk/dcmim...