Can't load data dictionary error

All other questions regarding DCMTK

Moderator: Moderator Team

Post Reply
Message
Author
matteo
Posts: 10
Joined: Thu, 2014-09-18, 10:54

Can't load data dictionary error

#1 Post by matteo »

Hi All,
I developed a simple c++ main to read the image pixel values.

I'm using ubuntu installed in a virtual box VM.
If I execute my c++ program from command line (

Code: Select all

./mytool -options
) everything works fine while if I try to execute the program from a very simple qt project using

Code: Select all

system(./mytool -options)
I obtain the error: Can't load data dictionary error
I set also the DCMDICTPATH environment var.

Any help?
Thanks in advance

J. Riesmeier
DCMTK Developer
Posts: 2504
Joined: Tue, 2011-05-03, 14:38
Location: Oldenburg, Germany
Contact:

Re: Can't load data dictionary error

#2 Post by J. Riesmeier »

This seems to be a general programming question (and is not directly related to the DCMTK). Anyway, why don't you use one of the exec() functions: execl, execlp, execle, execv, execvp, execvpe?

Post Reply

Who is online

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