Cmake error building from source

/home/pcasey99/Downloads/deeplearning4j-master/libnd4j/blasbuild/cpu/include/config.h:12:2:
error: invalid preprocessing directive #cmakedefine

 12 | #cmakedefine SD_LIBRARY_NAME "nd4jcpu"
    |  ^~~~~~~~~~~

/home/pcasey99/Downloads/deeplearning4j-master/libnd4j/blasbuild/cpu/include/config.h:13:2:
error: invalid preprocessing directive #cmakedefine

 13 | #cmakedefine OPENBLAS_PATH ""
    |  ^~~~~~~~~~~

I got the following error when building from source. Is there some additional parameter I need to use on terminal line? Here is what I entered:

deeplearning4j-master/libnd4j$ ./buildnativeoperations.sh --dry-run

ubuntu 26.04 java 17

Thanks

Pat Casey

/home/pcasey99/Downloads/deeplearning4j-master/libnd4j/blasbuild/cpu/include/config.h:14:2:
error: invalid preprocessing directive #cmakedefine

 14 | #cmakedefine DEFAULT_ENGINE samediff::ENGINE_CPU
    |  ^~~~~~~~~~~

@pcasey99 just use my snapshots:

central-snapshots
Sonatype Central Snapshots
Repository - Sonatype Nexus Repository
false
true

Use org.eclipse.deeplearning4j for the snapshots

I received this error when using snapshots:

[ERROR] dependency: org.eclipse.deeplearning4j:nd4j-native:jar:1.0.0-SNAPSHOT (compile)
[ERROR] Could not find artifact org.eclipse.deeplearning4j:nd4j-native:jar:1.0.0-SNAPSHOT in sonatype-nexus-snapshots (Repository - Sonatype Nexus Repository)