Search found 12 matches
- Wed, 2014-07-30, 16:50
- Forum: DCMTK - Installation
- Topic: Compilation error with "diregist.h"
- Replies: 8
- Views: 15272
Re: Compilation error with "diregist.h"
... but you were not recompiling the DCMTK with these settings, right? You should also consider that by default DCMTK uses its own classes for strings, lists and so on. See compiler macros HAVE_STL and HAVE_STD_STRING, which are described in DCMTK's documentation . Btw, the order of libraries to be...
- Wed, 2014-07-30, 15:07
- Forum: DCMTK - Installation
- Topic: Compilation error with "diregist.h"
- Replies: 8
- Views: 15272
Re: Compilation error with "diregist.h"
... then the compiler/linker settings are apparently different for your Qt project (compared to the ones of the DCMTK). I would suggest that you "google" for the linker error, and get something like this : "I suspect this issue is because of the two C++ runtime libraries available un...
- Wed, 2014-07-30, 10:59
- Forum: DCMTK - Installation
- Topic: Compilation error with "diregist.h"
- Replies: 8
- Views: 15272
Re: Compilation error with "diregist.h"
More details would be helpful... So, as far as I understood, you successfully compiled and installed DCMTK with default settings? I use OS X, I successfully compile and installed DCMTK with `make`. I can compile console app with this library ( and with "diregist.h" ), but in Qt ( I build ...
- Wed, 2014-07-30, 07:39
- Forum: DCMTK - Installation
- Topic: Compilation error with "diregist.h"
- Replies: 8
- Views: 15272
Re: Compilation error with "diregist.h"
I compile DCMTK with standard MakefileJ. Riesmeier wrote:Did you compile DCMTK with HAVE_STL and/or HAVE_STD_STRING defined?
- Mon, 2014-07-21, 12:17
- Forum: DCMTK - Installation
- Topic: Compilation error with "diregist.h"
- Replies: 8
- Views: 15272
Compilation error with "diregist.h"
When i include "dcmtk/dcmimage/diregist.h" in my Qt project i get this errors: Undefined symbols for architecture x86_64: "std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >::compare(char const*) const", referenced from: dcmtk::log4cplus::intern...
- Fri, 2014-07-18, 04:48
- Forum: DCMTK - Installation
- Topic: dcmtk-3.6.0 compilation errors [VS2013]
- Replies: 1
- Views: 7666
dcmtk-3.6.0 compilation errors [VS2013]
I got LNK2026, LNK1281 and LNK2005 compilation errors. Error 1 error LNK2026: module unsafe for SAFESEH image. C:\Users\dangreen\Documents\dcmtk-build\dcmdata\apps\zlib_d.lib(zutil.obj) dcmdrle ... Error 8 error LNK2026: module unsafe for SAFESEH image. C:\Users\dangreen\Documents\dcmtk-build\dcmdat...
- Wed, 2014-06-25, 10:08
- Forum: DCMTK - Installation
- Topic: Usage DCMTK on OS X 10.9
- Replies: 10
- Views: 18923
Re: Usage DCMTK on OS X 10.9
Strange output. It seems you are using zlib, so you need at least: ~$ g++-4.9 t.cpp -o t -L/usr/local/include/dcmtk -ldcmdata -loflog -lofstd -lz I'm not sure about the missing STL symbols however. They are either just consequential errors from the missing zlib symbols, or you are missing -lstdc++,...
- Wed, 2014-06-25, 05:57
- Forum: DCMTK - Installation
- Topic: Usage DCMTK on OS X 10.9
- Replies: 10
- Views: 18923
Re: Usage DCMTK on OS X 10.9
https://www.dropbox.com/s/pazowb4obmtra ... %D0%B0.txtJan Schlamelcher wrote:Which symbols are missing?
- Tue, 2014-06-24, 17:12
- Forum: DCMTK - Installation
- Topic: Usage DCMTK on OS X 10.9
- Replies: 10
- Views: 18923
Re: Usage DCMTK on OS X 10.9
Same resultJan Schlamelcher wrote:Try:Code: Select all
~$ g++-4.9 t.cpp -o t -L/usr/local/include/dcmtk -ldcmdata -loflog -lofstd
- Tue, 2014-06-24, 16:24
- Forum: DCMTK - Installation
- Topic: Usage DCMTK on OS X 10.9
- Replies: 10
- Views: 18923
Re: Usage DCMTK on OS X 10.9
You might take a look at this: http://forum.dcmtk.org/viewtopic.php?f=4&t=2689 #include <dcmtk/config/osconfig.h> /*DCMTK Header Files*/ #include "dcmtk/dcmdata/dcvrpn.h" #include "dcmtk/dcmdata/dcfilefo.h" int main() { DcmFileFormat fileformat; OFCondition status = fileform...
- Tue, 2014-06-24, 15:56
- Forum: DCMTK - Installation
- Topic: Usage DCMTK on OS X 10.9
- Replies: 10
- Views: 18923
Re: Usage DCMTK on OS X 10.9
Can you tell about this flags?Jan Schlamelcher wrote: I can see no -L/PATH/TO/DCMTK/LIBS -lofstd -l...
- Tue, 2014-06-24, 15:33
- Forum: DCMTK - Installation
- Topic: Usage DCMTK on OS X 10.9
- Replies: 10
- Views: 18923
Usage DCMTK on OS X 10.9
I want to use dcmtk on OS X. I've done next steps:
Now, how i should compile sources?
Code: Select all
git clone git://git.dcmtk.org/dcmtk.git
...
cd dcmtk
./configure && make
...
make install-lib
...
cd ~
g++-4.9 t.cpp -o t -std=c++11
Undefined symbols for architecture x86_64:...