I am building 3.5.3 on Linux. I would like to build using std strings, but by default it does not. I checked in cfunix.h and HAVE_STD_STRING is not defined anywhere. Is there an option I can pass to the configuration script to force it to use std string? I am new to Linux and not familiar with how the configuation script determines which flags to set.
I am using SUSE Linux 10 and GCC 4.0.2.
Any thoughts would be very helpful.
Thanks,
Jonathan
how to force configuration to define HAVE_STD_STRING?
Moderator: Moderator Team
-
- OFFIS DICOM Team
- Posts: 1459
- Joined: Tue, 2004-11-02, 17:22
- Location: Oldenburg, Germany
- Contact:
HAVE_STD_STRING is still considered somewhat experimental and is never enabled by default by DCMTK's configure system. If you want to use this flag (which effectively replaces DCMTK's OFstring class by a typedef to the hopefully more efficient std::string), just run configure as usual and then put -DHAVE_STD_STRING into the CXXFLAGS definition in config/Makefile.def.
Who is online
Users browsing this forum: Bing [Bot] and 1 guest