Skip to content

Encounter error on "error: undefined symbol: $GL" with Strict=1 #19926

Closed Answered by sbc100
shinji-TH asked this question in Q&A
Discussion options

You must be logged in to vote

The is working as intended. In STRICT mode (i.e. with AUTO_JS_LIBRARIES=0) you need to explicitly link any libraries that you use.

In this case I think you can just add -lGL (or -lGLESv2) to your command line).

Replies: 2 comments 6 replies

Comment options

You must be logged in to vote
5 replies
@shinji-TH
Comment options

@sbc100
Comment options

@sbc100
Comment options

@sbc100
Comment options

@shinji-TH
Comment options

Answer selected by shinji-TH
Comment options

You must be logged in to vote
1 reply
@shinji-TH
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants