add DICOM (aka supp 145) support #142 Build Problem

Mathieu Malaterre mathieu.malaterre at gmail.com
Mon Sep 7 04:32:24 EDT 2015


You're missing step 7a (before 8), see  below. Until my pull request
gets approved, I cannot submit a documentation change in the wiki. Let
me know how it goes.

-M

On Mon, Sep 7, 2015 at 9:55 AM, Ivo Rakar <ivo23061987 at gmail.com> wrote:
> Hi Mathieu!
>
> Thanks for the fast response!
>
> I have  done the following things:
>
> 1. downloaded the source files from
> https://github.com/malaterre/openslide/tree/dicom-wsi. And than I installed
> autoconf, automake, libtool, and pkg-config and runed "autoreconf -i" in
> Cygwin.
>
> 2. downloaded the windows building script form here
> https://github.com/openslide/openslide-winbuild,
>
> 3. created a folder override and a subfolder named openslide where I have
> copyed the source files from the folder where I have used autoreconf -i with
> the source containing the dicom library.
>
> 4. run "./build.sh -m 64 bdist" in Cygwin.
>
> 5. downloaded the source files of the java demo from
> https://github.com/openslide/openslide-java
>
> 6. imported the source files in eclipse
>
> 7. after the build was over I set the path variable to the location of then
> created .dll files and in eclips I set the locations of the .dll files in
> the JRE System Library as a Native library location.

Insert step 7a:

https://github.com/malaterre/openslide/blob/dicom-wsi/src/openslide-decode-dicom.c#L65

> 8. run the demo and everything worked fine for the other formats, when I
> tryed to open a dicom file, the file chooser did recognise a dicom file as a
> format that openslide can read, but instead of opening it I got an allert
> box titled Microsoft Visual C++ Runtime Lybrary saying  "This application
> has requested the Runtime to terminate it in an unusual way. Please contact
> the application's support team for more information."
>
> 9. when pressed ok I got the following message in the eclipse console:
>
> Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=128m;
> support was removed in 8.0
> Assertion failed!
>
> Program: C:\Program Files\Java\jre1.8.0_31\bin\javaw.exe
> File: src/openslide-decode-dicom.c, Line 713
>
> Expression: is_start(&de)
>
> I have tryed to open the file: Human_15x15_40x.dcm from
> ftp://medical.nema.org/medical/dicom/DataSets/WG26/Hamamatsu/
>
> Thanks one again for the help!
>
> Ivo Rakar
>
>
>
> On 5 September 2015 at 20:05, Mathieu Malaterre
> <mathieu.malaterre at gmail.com> wrote:
>>
>> Hi Ivo
>>
>> On Sat, Sep 5, 2015 at 3:46 PM, Ivo Rakar <ivo23061987 at gmail.com> wrote:
>> > File: src/openslide-decode-dicom.c, Line 713
>> >
>> > Expression: is_start(&de)
>>
>> Could you please list explicitly *all* the steps you did before
>> reaching this assertion.
>>
>> Thx
>
>



-- 
Mathieu


More information about the openslide-users mailing list