emscripten-core / emscripten-core/emscripten
emcc compile fails on openGL's symbol glLoadMatrixf
Open
wontfix
- Dominant language
- C++
- Stars
- 27.6k
- Forks
- 3.6k
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 105
Description
I am trying to compile agar, a widgets/GUI library that also works through SDL. When compiling a helloworld as follows:
```bash
emcc -I/home/kabira/opensourceforgery/libagar/include/agar/ helloworld.c -L/home/kabira/o
pensourceforgery/libagar/lib -lag_core -lag_gui
```
I get the undef reference error:
```
error: undefined symbol: glLoadMatrixf (referenced by top-level compiled C/C++ code)
```
I tried using various flags regardng ES2 and SDL but that doesn't work. Not sure what libraries to link against.
Contributor guide
Assessment
This issue has not been assessed yet.