Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Posted

Hey Guys! I created a mod whith some renderers that use GL11. The problem is, that gradle can not compile this mod. Another mod failed because of the same problem some time ago.

I get the following error:

****************************
Powered By MCP:
http://mcp.ocean-labs.de/
Searge, ProfMobius, Fesh0r,
R4wk, ZeuX, IngisKahn
MCP Data version : unknown
****************************
:compileApiJava UP-TO-DATE
:processApiResources UP-TO-DATE
:apiClasses UP-TO-DATE
:sourceMainJava UP-TO-DATE
:compileJava
warning: [options] bootstrap class path not set in conjunction with -source 1.6
C:\Users\Julian\Desktop\Modding\ReadableBookshelf\ReadableBookshelf\build\source
s\java\com\bedrockminer\bookshelf\core\GuiBookshelf.java:5: error: package io.ne
tty.buffer does not exist
import io.netty.buffer.ByteBuf;
                      ^
C:\Users\Julian\Desktop\Modding\ReadableBookshelf\ReadableBookshelf\build\source
s\java\com\bedrockminer\bookshelf\core\GuiBookshelf.java:6: error: package io.ne
tty.buffer does not exist
import io.netty.buffer.Unpooled;
                      ^
C:\Users\Julian\Desktop\Modding\ReadableBookshelf\ReadableBookshelf\build\source
s\java\com\bedrockminer\bookshelf\core\GuiBookshelf.java:23: error: package org.
apache.logging.log4j does not exist
import org.apache.logging.log4j.LogManager;
                               ^
C:\Users\Julian\Desktop\Modding\ReadableBookshelf\ReadableBookshelf\build\source
s\java\com\bedrockminer\bookshelf\core\GuiBookshelf.java:24: error: package org.
apache.logging.log4j does not exist
import org.apache.logging.log4j.Logger;
                               ^
C:\Users\Julian\Desktop\Modding\ReadableBookshelf\ReadableBookshelf\build\source
s\java\com\bedrockminer\bookshelf\core\GuiBookshelf.java:25: error: package org.
lwjgl.input does not exist
import org.lwjgl.input.Keyboard;
                      ^
C:\Users\Julian\Desktop\Modding\ReadableBookshelf\ReadableBookshelf\build\source
s\java\com\bedrockminer\bookshelf\core\GuiBookshelf.java:26: error: package org.
lwjgl.opengl does not exist
import org.lwjgl.opengl.GL11;
                       ^
C:\Users\Julian\Desktop\Modding\ReadableBookshelf\ReadableBookshelf\build\source
s\java\com\bedrockminer\bookshelf\core\RenderTileEntityBookshelf.java:10: error:
package org.lwjgl.opengl does not exist
import org.lwjgl.opengl.GL11;
                       ^
C:\Users\Julian\Desktop\Modding\ReadableBookshelf\ReadableBookshelf\build\source
s\java\com\bedrockminer\bookshelf\core\GuiBookshelf.java:85: error: cannot find
symbol
        Keyboard.enableRepeatEvents(false);
        ^
  symbol:   variable Keyboard
  location: class GuiBookshelf
C:\Users\Julian\Desktop\Modding\ReadableBookshelf\ReadableBookshelf\build\source
s\java\com\bedrockminer\bookshelf\core\GuiBookshelf.java:134: error: cannot find
symbol
        GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F);
        ^
  symbol:   variable GL11
  location: class GuiBookshelf
C:\Users\Julian\Desktop\Modding\ReadableBookshelf\ReadableBookshelf\build\source
s\java\com\bedrockminer\bookshelf\core\GuiBookshelf.java:179: error: cannot find
symbol
                    GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F);
                    ^
  symbol:   variable GL11
  location: class NextPageButton
C:\Users\Julian\Desktop\Modding\ReadableBookshelf\ReadableBookshelf\build\source
s\java\com\bedrockminer\bookshelf\core\RenderTileEntityBookshelf.java:27: error:
cannot find symbol
        GL11.glPushMatrix();
        ^
  symbol:   variable GL11
  location: class RenderTileEntityBookshelf
C:\Users\Julian\Desktop\Modding\ReadableBookshelf\ReadableBookshelf\build\source
s\java\com\bedrockminer\bookshelf\core\RenderTileEntityBookshelf.java:28: error:
cannot find symbol
        GL11.glTranslatef((float)x + 0.5F, (float)y + 0.75F, (float)z + 0.5F);
        ^
  symbol:   variable GL11
  location: class RenderTileEntityBookshelf
C:\Users\Julian\Desktop\Modding\ReadableBookshelf\ReadableBookshelf\build\source
s\java\com\bedrockminer\bookshelf\core\RenderTileEntityBookshelf.java:29: error:
cannot find symbol
        GL11.glRotatef(180, 0, 0, 1);
        ^
  symbol:   variable GL11
  location: class RenderTileEntityBookshelf
C:\Users\Julian\Desktop\Modding\ReadableBookshelf\ReadableBookshelf\build\source
s\java\com\bedrockminer\bookshelf\core\RenderTileEntityBookshelf.java:30: error:
cannot find symbol
        GL11.glRotatef(Minecraft.getMinecraft().thePlayer.rotationYawHead, 0, 1,
0);
        ^
  symbol:   variable GL11
  location: class RenderTileEntityBookshelf
C:\Users\Julian\Desktop\Modding\ReadableBookshelf\ReadableBookshelf\build\source
s\java\com\bedrockminer\bookshelf\core\RenderTileEntityBookshelf.java:31: error:
cannot find symbol
        GL11.glTranslatef(0.0F, 0.0F, -0.75F);
        ^
  symbol:   variable GL11
  location: class RenderTileEntityBookshelf
C:\Users\Julian\Desktop\Modding\ReadableBookshelf\ReadableBookshelf\build\source
s\java\com\bedrockminer\bookshelf\core\RenderTileEntityBookshelf.java:32: error:
cannot find symbol
        GL11.glNormal3f(0.0F, 0.0F, 1.0F);
        ^
  symbol:   variable GL11
  location: class RenderTileEntityBookshelf
C:\Users\Julian\Desktop\Modding\ReadableBookshelf\ReadableBookshelf\build\source
s\java\com\bedrockminer\bookshelf\core\RenderTileEntityBookshelf.java:33: error:
cannot find symbol
        GL11.glScalef(0.03F, 0.03F, 0.03F);
        ^
  symbol:   variable GL11
  location: class RenderTileEntityBookshelf
C:\Users\Julian\Desktop\Modding\ReadableBookshelf\ReadableBookshelf\build\source
s\java\com\bedrockminer\bookshelf\core\RenderTileEntityBookshelf.java:35: error:
cannot find symbol
        GL11.glEnable(GL11.GL_ALPHA_TEST);
                      ^
  symbol:   variable GL11
  location: class RenderTileEntityBookshelf
C:\Users\Julian\Desktop\Modding\ReadableBookshelf\ReadableBookshelf\build\source
s\java\com\bedrockminer\bookshelf\core\RenderTileEntityBookshelf.java:35: error:
cannot find symbol
        GL11.glEnable(GL11.GL_ALPHA_TEST);
        ^
  symbol:   variable GL11
  location: class RenderTileEntityBookshelf
C:\Users\Julian\Desktop\Modding\ReadableBookshelf\ReadableBookshelf\build\source
s\java\com\bedrockminer\bookshelf\core\RenderTileEntityBookshelf.java:36: error:
cannot find symbol
        GL11.glDisable(GL11.GL_LIGHTING);
                       ^
  symbol:   variable GL11
  location: class RenderTileEntityBookshelf
C:\Users\Julian\Desktop\Modding\ReadableBookshelf\ReadableBookshelf\build\source
s\java\com\bedrockminer\bookshelf\core\RenderTileEntityBookshelf.java:36: error:
cannot find symbol
        GL11.glDisable(GL11.GL_LIGHTING);
        ^
  symbol:   variable GL11
  location: class RenderTileEntityBookshelf
C:\Users\Julian\Desktop\Modding\ReadableBookshelf\ReadableBookshelf\build\source
s\java\com\bedrockminer\bookshelf\core\RenderTileEntityBookshelf.java:37: error:
cannot find symbol
        GL11.glDepthMask(false);
        ^
  symbol:   variable GL11
  location: class RenderTileEntityBookshelf
C:\Users\Julian\Desktop\Modding\ReadableBookshelf\ReadableBookshelf\build\source
s\java\com\bedrockminer\bookshelf\core\RenderTileEntityBookshelf.java:38: error:
cannot find symbol
        GL11.glDisable(GL11.GL_DEPTH_TEST);
                       ^
  symbol:   variable GL11
  location: class RenderTileEntityBookshelf
C:\Users\Julian\Desktop\Modding\ReadableBookshelf\ReadableBookshelf\build\source
s\java\com\bedrockminer\bookshelf\core\RenderTileEntityBookshelf.java:38: error:
cannot find symbol
        GL11.glDisable(GL11.GL_DEPTH_TEST);
        ^
  symbol:   variable GL11
  location: class RenderTileEntityBookshelf
C:\Users\Julian\Desktop\Modding\ReadableBookshelf\ReadableBookshelf\build\source
s\java\com\bedrockminer\bookshelf\core\RenderTileEntityBookshelf.java:39: error:
cannot find symbol
        GL11.glEnable(GL11.GL_BLEND);
                      ^
  symbol:   variable GL11
  location: class RenderTileEntityBookshelf
C:\Users\Julian\Desktop\Modding\ReadableBookshelf\ReadableBookshelf\build\source
s\java\com\bedrockminer\bookshelf\core\RenderTileEntityBookshelf.java:39: error:
cannot find symbol
        GL11.glEnable(GL11.GL_BLEND);
        ^
  symbol:   variable GL11
  location: class RenderTileEntityBookshelf
C:\Users\Julian\Desktop\Modding\ReadableBookshelf\ReadableBookshelf\build\source
s\java\com\bedrockminer\bookshelf\core\RenderTileEntityBookshelf.java:44: error:
cannot find symbol
        GL11.glDisable(GL11.GL_TEXTURE_2D);
                       ^
  symbol:   variable GL11
  location: class RenderTileEntityBookshelf
C:\Users\Julian\Desktop\Modding\ReadableBookshelf\ReadableBookshelf\build\source
s\java\com\bedrockminer\bookshelf\core\RenderTileEntityBookshelf.java:44: error:
cannot find symbol
        GL11.glDisable(GL11.GL_TEXTURE_2D);
        ^
  symbol:   variable GL11
  location: class RenderTileEntityBookshelf
C:\Users\Julian\Desktop\Modding\ReadableBookshelf\ReadableBookshelf\build\source
s\java\com\bedrockminer\bookshelf\core\RenderTileEntityBookshelf.java:53: error:
cannot find symbol
        GL11.glEnable(GL11.GL_TEXTURE_2D);
                      ^
  symbol:   variable GL11
  location: class RenderTileEntityBookshelf
C:\Users\Julian\Desktop\Modding\ReadableBookshelf\ReadableBookshelf\build\source
s\java\com\bedrockminer\bookshelf\core\RenderTileEntityBookshelf.java:53: error:
cannot find symbol
        GL11.glEnable(GL11.GL_TEXTURE_2D);
        ^
  symbol:   variable GL11
  location: class RenderTileEntityBookshelf
C:\Users\Julian\Desktop\Modding\ReadableBookshelf\ReadableBookshelf\build\source
s\java\com\bedrockminer\bookshelf\core\RenderTileEntityBookshelf.java:55: error:
cannot find symbol
        GL11.glEnable(GL11.GL_DEPTH_TEST);
                      ^
  symbol:   variable GL11
  location: class RenderTileEntityBookshelf
C:\Users\Julian\Desktop\Modding\ReadableBookshelf\ReadableBookshelf\build\source
s\java\com\bedrockminer\bookshelf\core\RenderTileEntityBookshelf.java:55: error:
cannot find symbol
        GL11.glEnable(GL11.GL_DEPTH_TEST);
        ^
  symbol:   variable GL11
  location: class RenderTileEntityBookshelf
C:\Users\Julian\Desktop\Modding\ReadableBookshelf\ReadableBookshelf\build\source
s\java\com\bedrockminer\bookshelf\core\RenderTileEntityBookshelf.java:56: error:
cannot find symbol
        GL11.glDepthMask(true);
        ^
  symbol:   variable GL11
  location: class RenderTileEntityBookshelf
C:\Users\Julian\Desktop\Modding\ReadableBookshelf\ReadableBookshelf\build\source
s\java\com\bedrockminer\bookshelf\core\RenderTileEntityBookshelf.java:57: error:
cannot find symbol
        GL11.glEnable(GL11.GL_LIGHTING);
                      ^
  symbol:   variable GL11
  location: class RenderTileEntityBookshelf
C:\Users\Julian\Desktop\Modding\ReadableBookshelf\ReadableBookshelf\build\source
s\java\com\bedrockminer\bookshelf\core\RenderTileEntityBookshelf.java:57: error:
cannot find symbol
        GL11.glEnable(GL11.GL_LIGHTING);
        ^
  symbol:   variable GL11
  location: class RenderTileEntityBookshelf
C:\Users\Julian\Desktop\Modding\ReadableBookshelf\ReadableBookshelf\build\source
s\java\com\bedrockminer\bookshelf\core\RenderTileEntityBookshelf.java:58: error:
cannot find symbol
        GL11.glDisable(GL11.GL_BLEND);
                       ^
  symbol:   variable GL11
  location: class RenderTileEntityBookshelf
C:\Users\Julian\Desktop\Modding\ReadableBookshelf\ReadableBookshelf\build\source
s\java\com\bedrockminer\bookshelf\core\RenderTileEntityBookshelf.java:58: error:
cannot find symbol
        GL11.glDisable(GL11.GL_BLEND);
        ^
  symbol:   variable GL11
  location: class RenderTileEntityBookshelf
C:\Users\Julian\Desktop\Modding\ReadableBookshelf\ReadableBookshelf\build\source
s\java\com\bedrockminer\bookshelf\core\RenderTileEntityBookshelf.java:59: error:
cannot find symbol
        GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F);
        ^
  symbol:   variable GL11
  location: class RenderTileEntityBookshelf
C:\Users\Julian\Desktop\Modding\ReadableBookshelf\ReadableBookshelf\build\source
s\java\com\bedrockminer\bookshelf\core\RenderTileEntityBookshelf.java:60: error:
cannot find symbol
        GL11.glPopMatrix();
        ^
  symbol:   variable GL11
  location: class RenderTileEntityBookshelf
Note: C:\Users\Julian\Desktop\Modding\ReadableBookshelf\ReadableBookshelf\build\
sources\java\com\bedrockminer\bookshelf\core\ItemBlockReadableBookshelf.java use
s unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
39 errors
1 warning
:compileJava FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':compileJava'.
> Compilation failed; see the compiler error output for details.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug
option to get more log output.

BUILD FAILED

Total time: 21.277 secs
Drücken Sie eine beliebige Taste . . .

 

 

I have tried several things to fix this.

I reinstalled forge with this commands:

-gradlew cleanCache

-gradlew setupDecompWorkspace

-gradlew setupDevWorkspace

-gradlew eclipse

 

I recreated my workspace

 

I googled

 

Nothing helped. I really hope anyone of you has an idea. If the usage of GL11 works with your mods, would you mind telling me about your setup and your Mod Files?

 

I cant tell whats going on exactly, but GL11 is java's way of accessing OpenGL. Try updating your OpenGL drivers.

I recommend the process to start from fresh i commonly use:

-gradlew clean

-gradlew setupDevWorkspace --refresh-dependencies

-gradlew eclipse/idea (depends on the IDE i am testing)

-gradlew build

 

Should work at all times.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.