Hi,
I try to use DCMTK with MinGW (i.e. GCC) and the regular windows XP command shell (i.e. cmd.exe, no MSYS ).
I don't know if it's a DCMTK or CMake issue, but compiling the library in these condition is lots of pain and is not automated in anyway (I had to change the file generated by CMake, etc...).
On the other hand, I easily compiled in the following cases: 1) with VC++ 2005 . 2) (MinGW+MSYS)
These processes were quite simple and fully automated...
So my question is simple: is Mingw supported when not used with MSYS in this 3.5.4 version?
I tried the 3.5.3 version provided in another thread (viewtopic.php?t=455): the compilation was working perfectly fine. So I would either think you have an issue with your CMake configuration or maybe a specific version of the 3.5.4 is required to compile with MinGW (without MSYS.)
Thanks,
DCMTK MinGW without Msys: Works on 3.5.3, but not in 3.5.4 ?
Moderator: Moderator Team
-
- OFFIS DICOM Team
- Posts: 1444
- Joined: Tue, 2004-11-02, 17:22
- Location: Oldenburg, Germany
- Contact:
dcmtk with mingw and dev-c++
Hi,
i'm trying to use the dcmtk pachage with mingw and dev-c++ (winxp). My first problem is when I use mingw32-make the libraries path wasn't found. In dev-c++ I makes -I'< INCLUDE>path and it all ok, but I'm having the following error:
102 C:\Dev-Cpp\include\dcmtk\ofstd\ofstream.h `strstream' does not name a type
103 C:\Dev-Cpp\include\dcmtk\ofstd\ofstream.h `ostrstream' does not name a type
104 C:\Dev-Cpp\include\dcmtk\ofstd\ofstream.h `istrstream' does not name a type
Could somebody help me, please?
Thaks in advance.
i'm trying to use the dcmtk pachage with mingw and dev-c++ (winxp). My first problem is when I use mingw32-make the libraries path wasn't found. In dev-c++ I makes -I'< INCLUDE>path and it all ok, but I'm having the following error:
102 C:\Dev-Cpp\include\dcmtk\ofstd\ofstream.h `strstream' does not name a type
103 C:\Dev-Cpp\include\dcmtk\ofstd\ofstream.h `ostrstream' does not name a type
104 C:\Dev-Cpp\include\dcmtk\ofstd\ofstream.h `istrstream' does not name a type
Could somebody help me, please?
Thaks in advance.
-
- OFFIS DICOM Team
- Posts: 1444
- Joined: Tue, 2004-11-02, 17:22
- Location: Oldenburg, Germany
- Contact:
mingw with msys
Hi Marco,
Thank you so much for your kindness and attention.
Sorry, but I haven't much experience programing so I don't know how to verify your advice.
Moreover, All libraries are already recognized, but the strstrea.h contain the mistakes below:
C:/MinGW/include/strstrea.h:67: `streamoff' was not declared in this scope
C:/MinGW/include/strstrea.h:67: parse error before `,' token
C:/MinGW/include/strstrea.h: In member function `int
strstreambuf::alloc_size_increment(int)':
C:/MinGW/include/strstrea.h:97: `__b_lock' undeclared (first use this function)
C:/MinGW/include/strstrea.h:97: (Each undeclared identifier is reported only
once for each function it appears in.)
C:/MinGW/include/strstrea.h:97: `__lock_it' undeclared (first use this
function)
C:/MinGW/include/strstrea.h: In member function `char* ostrstream::str()':
C:/MinGW/include/strstrea.h:175: `__i_lock' undeclared (first use this
function)
C:/MinGW/include/strstrea.h: In member function `int ostrstream::pcount()
const':
C:/MinGW/include/strstrea.h:181: no matching function for call to `strstreambuf
::out_waiting()'
C:\MinGW\bin\make.exe: *** [sample1] Error 1
some suggestion?
Thank you so much again.
Best regards,
Glaucia.
Thank you so much for your kindness and attention.
Sorry, but I haven't much experience programing so I don't know how to verify your advice.
Moreover, All libraries are already recognized, but the strstrea.h contain the mistakes below:
C:/MinGW/include/strstrea.h:67: `streamoff' was not declared in this scope
C:/MinGW/include/strstrea.h:67: parse error before `,' token
C:/MinGW/include/strstrea.h: In member function `int
strstreambuf::alloc_size_increment(int)':
C:/MinGW/include/strstrea.h:97: `__b_lock' undeclared (first use this function)
C:/MinGW/include/strstrea.h:97: (Each undeclared identifier is reported only
once for each function it appears in.)
C:/MinGW/include/strstrea.h:97: `__lock_it' undeclared (first use this
function)
C:/MinGW/include/strstrea.h: In member function `char* ostrstream::str()':
C:/MinGW/include/strstrea.h:175: `__i_lock' undeclared (first use this
function)
C:/MinGW/include/strstrea.h: In member function `int ostrstream::pcount()
const':
C:/MinGW/include/strstrea.h:181: no matching function for call to `strstreambuf
::out_waiting()'
C:\MinGW\bin\make.exe: *** [sample1] Error 1
some suggestion?
Thank you so much again.
Best regards,
Glaucia.
Who is online
Users browsing this forum: Bing [Bot] and 1 guest