Search found 7 matches

by nimoleo
Tue, 2012-03-13, 12:36
Forum: DCMTK - General
Topic: Xubuntu + Qt Creator + dcmtk: can't compile
Replies: 10
Views: 9917

In /usr/local/include/dcmtk/config/osconfig.h: #ifdef HAVE_CONFIG_H /* ** Some sort of Unix platform supported by the GNU Configure utility. ** Just include the automatically generated header file. If CMake is used * for configuring a unix build instead of the traditional configure method, * cfunix....
by nimoleo
Mon, 2012-03-12, 22:29
Forum: DCMTK - General
Topic: Xubuntu + Qt Creator + dcmtk: can't compile
Replies: 10
Views: 9917

Ok, finally!!

I saw in many posts people saying this line

Code: Select all

#include "dcmtk/config/osconfig.h"
was necessary. Well, it didn't work for me.

But this

Code: Select all

#include "dcmtk/config/cfunix.h"
did it.

I don't know why it didn't work with the first one.
Thanks anyway.
by nimoleo
Mon, 2012-03-12, 19:23
Forum: DCMTK - General
Topic: Xubuntu + Qt Creator + dcmtk: can't compile
Replies: 10
Views: 9917

I still don't get it. Running ./configure: ... checking for strings.h... (cached) yes checking strstrea.h usability... no checking strstrea.h presence... no checking for strstrea.h... no checking strstream usability... yes checking strstream presence... yes checking for strstream... yes checking str...
by nimoleo
Mon, 2012-03-12, 15:37
Forum: DCMTK - General
Topic: Xubuntu + Qt Creator + dcmtk: can't compile
Replies: 10
Views: 9917

I've just included those lines. My mistake omitting .h in dctmk reference. I was confusing that with standard C++ library headers. I still can't compile because of DCMTK needs stringstream or strstream type That file is in /usr/local/c++/4.6/backward I've tried with INCLUDEPATH = "/usr/include/...
by nimoleo
Mon, 2012-03-12, 13:39
Forum: DCMTK - General
Topic: Xubuntu + Qt Creator + dcmtk: can't compile
Replies: 10
Views: 9917

I just did that, installing dcmtk by myself. With the --enable-std-includes option. Now, let's simplify the problem, my source includes: #include <dcmtk/dcmdata/dcfilefo> With this in project.pro: CXXFLAGS = -I/usr/local/include -DHAVE_CONFIG_H LDFLAGS = -L/usr/local/lib LIBS = -ldcmdata -loflog -lo...
by nimoleo
Mon, 2012-03-12, 11:43
Forum: DCMTK - General
Topic: Xubuntu + Qt Creator + dcmtk: can't compile
Replies: 10
Views: 9917

Ok, the strstream.h is not in the /usr/include/c++/4.6 folder. It's in the backward subfolder.

But it doesn't work anyway.

I can't figure out another way to solve this, instead going file by file.
by nimoleo
Mon, 2012-03-12, 11:29
Forum: DCMTK - General
Topic: Xubuntu + Qt Creator + dcmtk: can't compile
Replies: 10
Views: 9917

Xubuntu + Qt Creator + dcmtk: can't compile

Ok, here we go: Xubuntu 11.10 (dcmtk 3.6.0 installed with repositories) Qt Creator: I compile with automatic Makefiles First: Compiling, I see the iostream: no such file or directory I try adding this: CXXFLAGS = -I/usr/include -DHAVE_CONFIG_H LDFLAGS = -L/usr/lib LIBS = -ldcmdata -loflog -lofstd It...