LWJGL Forum

Archive => Resolved Bugs/RFE => Topic started by: Kai on August 18, 2015, 00:15:57

Title: [FIXED] Building without stb fails at compiling tests
Post by: Kai on August 18, 2015, 00:15:57
When trying to disable the stb binding via the ant property -Dbinding.stb=false the build fails at the compilation of the tests:
Code: [Select]
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
Title: Re: Building without stb fails at compiling tests
Post by: spasi on August 18, 2015, 07:37:29
Thanks, fixed.