Hello Guest

[FIXED] Building without stb fails at compiling tests

  • 1 Replies
  • 9815 Views
*

Kai

[FIXED] Building without stb fails at compiling tests
« 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
« Last Edit: August 18, 2015, 00:18:47 by Kai »

*

Offline spasi

  • *****
  • 2261
    • WebHotelier
Re: Building without stb fails at compiling tests
« Reply #1 on: August 18, 2015, 07:37:29 »
Thanks, fixed.