[FIXED] Building without stb fails at compiling tests

Started by Kai, August 18, 2015, 00:15:57

Previous topic - Next topic

Kai

When trying to disable the stb binding via the ant property -Dbinding.stb=false the build fails at the compilation of the tests:
compile-tests:
    [Tests] Compiling 15 source files to D:\downloads\lwjgl3-clean\bin\Tests
    [Tests] D:\downloads\lwjgl3-clean\modules\core\src\test\java\org\lwjgl\demo\glfw\Events.java:24: error: package org.lwjgl.stb does not exist
    [Tests] import static org.lwjgl.stb.STBImage.*;
    [Tests]                            ^
    [Tests] D:\downloads\lwjgl3-clean\modules\core\src\test\java\org\lwjgl\demo\glfw\Events.java:82: error: cannot find symbol
    [Tests]                     ByteBuffer pixels = stbi_load_from_memory(png, w, h, comp, 0);
    [Tests]                                         ^
    [Tests]   symbol:   method stbi_load_from_memory(ByteBuffer,IntBuffer,IntBuffer,IntBuffer,int)
    [Tests]   location: class Events
    [Tests] 2 errors

spasi