Is there an error in the web console? That warning says that emscripten doesn't have an implementation of that method. If it's called, you'll get a runtime error.
On Fri, Oct 30, 2015 at 9:08 AM, Flix <[email protected]> wrote: > Hi again. > > I got a main.cpp file that can be compiled under different openGL > libraries (*SDL2*, *glfw*, *freeglut*). > Now everything works when I use emscripten with SDL2 and glfw (I had to > refactor the "main loop code"). > However the glut demo compiles but does not run. > > I have done no modification at all to port it to emscripten (i.e. I just > keep calling *glutMainLoop*). > I noticed that during the compilation I had: > > *warning: unresolved symbol: glutEntryFunc* >> > > I'd like to make it work, but I'm fairly new to emscripten and I don't > know how to debug the code. > > Please help! > > -- > You received this message because you are subscribed to the Google Groups > "emscripten-discuss" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "emscripten-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
