Thanks for the tip, but yes we have that for jpeg8.
I tried to hardcode the define in case it was missed:
#define jpeg_stdio_dest jpeg8_stdio_dest
And I also tried changing the method name to have the '8' but in all cases the windows build isnt linking the method in.
Search found 15 matches
- Tue, 2011-06-07, 16:44
- Forum: DCMTK - General
- Topic: jpeg_stdio_dest not being found on windows build
- Replies: 5
- Views: 7172
- Tue, 2011-06-07, 09:58
- Forum: DCMTK - General
- Topic: Problems with curly bracket in macro BEGIN_EXTERN_C, END_EXTERN_C
- Replies: 2
- Views: 4039
- Tue, 2011-06-07, 09:56
- Forum: DCMTK - General
- Topic: jpeg_stdio_dest not being found on windows build
- Replies: 5
- Views: 7172
I have a new jpeg_stdio_dest. Why? because the current one used file handles instead of streams so is very inflexible. When I run the debugger and try to step into jpeg_stdio_dest it just jumps straight over as if the function pointer is null. It seems that it isnt linking to the jpeg_stdio_dest and...
- Mon, 2011-06-06, 12:44
- Forum: DCMTK - General
- Topic: jpeg_stdio_dest not being found on windows build
- Replies: 5
- Views: 7172
- Mon, 2011-06-06, 12:00
- Forum: DCMTK - General
- Topic: jpeg_stdio_dest not being found on windows build
- Replies: 5
- Views: 7172
jpeg_stdio_dest not being found on windows build
Hi Im building some custom code around your library. On Linux it works fine. Under windows it doesnt call the correct jpeg_stdio_dest - when I try debug it doesnt seem to be calling anything. Its as if it didnt see my implementation of jpeg_stdio_dest. Why would this problem only happen on windows. ...
- Mon, 2011-06-06, 11:43
- Forum: DCMTK - General
- Topic: Problems with curly bracket in macro BEGIN_EXTERN_C, END_EXTERN_C
- Replies: 2
- Views: 4039
Problems with curly bracket in macro BEGIN_EXTERN_C, END_EXTERN_C
Hi I am having problems compiling on windows visual studio express 2010. These definitions are confusing the visual express tool because of the curly bracket: #ifdef __cplusplus #define BEGIN_EXTERN_C extern "C" { #define END_EXTERN_C // #else #define BEGIN_EXTERN_C #define END_EXTERN_C #e...
- Fri, 2011-06-03, 14:42
- Forum: DCMTK - Installation
- Topic: Compilation of DCMTK-based program fails with LNK2019 [MSVC]
- Replies: 7
- Views: 18479
The practical answer is to add the 64 bit SDK library path to your build as the first directory: So your link path is something like this: C:\Program Files\Microsoft SDKs\Windows\v7.1\Lib\x64;..\zlib-1.2.5-cmake\lib;..\dcmtk-3.6.0-cmake\lib;%(AdditionalLibraryDirectories) Then make sure as per the F...
- Thu, 2011-06-02, 11:28
- Forum: DCMTK - General
- Topic: 64 bit
- Replies: 12
- Views: 14405
- Thu, 2011-06-02, 10:09
- Forum: DCMTK - General
- Topic: 64 bit
- Replies: 12
- Views: 14405
Thanks :) Im using Visual Studio C++ Express 2010 I also installed the Windows7 64bit SDK SP1 However the SDK installs the Visual C++ 9.0 Compilers. However cmake cannot find these compilers: CMake Error at CMakeLists.txt:2 (PROJECT): Cannot enable 64-bit tools with Visual Studio 2010 Express. Insta...
- Wed, 2011-06-01, 16:25
- Forum: DCMTK - General
- Topic: 64 bit
- Replies: 12
- Views: 14405
- Fri, 2011-04-08, 17:41
- Forum: DCMTK - General
- Topic: How do I add to the built-in dictionary
- Replies: 4
- Views: 5801
- Fri, 2011-04-08, 17:19
- Forum: DCMTK - General
- Topic: How do I add to the built-in dictionary
- Replies: 4
- Views: 5801
Also, once Ive added the entry, can I delete or free all the items that were passed in as below? Does the dictionary make a copy and manage that? DcmDictEntry* e = new DcmDictEntry( key.getGroup(), key.getElement(), upperKey.getGroup(), upperKey.getElement(), vr, tagName, vmMin, vmMax, standardVersi...
- Fri, 2011-04-08, 17:02
- Forum: DCMTK - General
- Topic: How do I add to the built-in dictionary
- Replies: 4
- Views: 5801
How do I add to the built-in dictionary
Hi i want to add entries to the default dictionary that is compiled into the library // make sure data dictionary is loaded if (!dcmDataDict.isDictionaryLoaded()) { ... }else{ dcmDataDict.addEntry(e); } Error: error: ‘class GlobalDcmDataDictionary’ has no member named ‘addEntry’ Please advise how I ...
- Wed, 2011-04-06, 10:43
- Forum: DCMTK - General
- Topic: JNI wrapper over dcm2pnm: where does dcm2pnm.cc delete the DcmFileFormat instance?
- Replies: 2
- Views: 3599
Thanks for the prompt reply. I wrapped the app instead of the class as it was an easy way to work out what was required to invoke the dcm2pnm conversion and what options might be set. I have approached the dcm2xml in the same way. Then I started stripping back what I didn't need. Without a thorough ...
- Wed, 2011-04-06, 09:59
- Forum: DCMTK - General
- Topic: JNI wrapper over dcm2pnm: where does dcm2pnm.cc delete the DcmFileFormat instance?
- Replies: 2
- Views: 3599
JNI wrapper over dcm2pnm: where does dcm2pnm.cc delete the DcmFileFormat instance?
I have wrapped some of the apps with JNI so I can invoke from Java. One of the methods I wrapped is main in dcm2pnm. I then changed it to stream in memory instead of reading/writing files. However I cannot see where the DcmFileFormat instance is deleted. I tried to add a delete line but it crashed s...