LWJGL Forum

Please login or register.

Login with username, password and session length

Author Topic: [FIXED] Building without stb fails at compiling tests  (Read 871 times)

Kai

  • Nerdus Imperius
  • *****
  • Offline Offline
  • Posts: 870
[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
Logged

spasi

  • Administrator
  • Nerdus Imperius
  • *****
  • Offline Offline
  • Posts: 1746
Re: Building without stb fails at compiling tests
« Reply #1 on: August 18, 2015, 07:37:29 »

Thanks, fixed.
Logged