-
Bug
-
Resolution: Won't Fix
-
P4
-
None
-
repo-panama
-
generic
-
generic
ADDITIONAL SYSTEM INFORMATION :
Tested on OSX and linux
A DESCRIPTION OF THE PROBLEM :
I want to use project libheif via panama and therefore used jextract to generate the java files which generally works except for sturcts parts
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
1. Download https://github.com/strukturag/libheif
2. compile libheif
3. execute the jextract tool like:
/Library/Java/jdk-17.jdk/Contents/Home/bin/jextract -d . --source -t org.libheif.linuxosx -I /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include --dump-includes libheif-osx.conf ./heif_api_structs.h
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
That for all struct types java files are created
ACTUAL -
WARNING: Using incubator modules: jdk.incubator.jextract, jdk.incubator.foreign
./error.h:28:10: fatal error: 'cinttypes' file not found
---------- BEGIN SOURCE ----------
https://github.com/strukturag/libheif
---------- END SOURCE ----------
FREQUENCY : always
Tested on OSX and linux
A DESCRIPTION OF THE PROBLEM :
I want to use project libheif via panama and therefore used jextract to generate the java files which generally works except for sturcts parts
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
1. Download https://github.com/strukturag/libheif
2. compile libheif
3. execute the jextract tool like:
/Library/Java/jdk-17.jdk/Contents/Home/bin/jextract -d . --source -t org.libheif.linuxosx -I /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include --dump-includes libheif-osx.conf ./heif_api_structs.h
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
That for all struct types java files are created
ACTUAL -
WARNING: Using incubator modules: jdk.incubator.jextract, jdk.incubator.foreign
./error.h:28:10: fatal error: 'cinttypes' file not found
---------- BEGIN SOURCE ----------
https://github.com/strukturag/libheif
---------- END SOURCE ----------
FREQUENCY : always