Potential fix for compiling
Some checks failed
studiorailgun/fluid-sim/pipeline/head There was a failure building this commit

This commit is contained in:
unknown 2024-03-15 20:32:27 -04:00
parent 64848eecc7
commit 7d2569f3dc

View File

@ -25,8 +25,9 @@ import org.lwjgl.system.MemoryUtil;
public class FluidSim {
static {
System.out.println(System.getProperty("user.dir"));
System.load(System.getProperty("user.dir") + "/shared-folder/libfluidsim.dll");
// System.out.println(System.getProperty("user.dir"));
// System.load(System.getProperty("user.dir") + "/shared-folder/libfluidsim.dll");
System.load(new File("./shared-folder/libfluidsim.dll").toPath().toAbsolutePath().toString());
}
public static final int DIM = 18;