Mojo2 OSX build issue
Monkey Forums/Monkey Bug Reports/Mojo2 OSX build issue
| ||
Hi there! Started adapting my code to use mojo2 and got an error during Xcode compilation. The case is about circular imports. If I'll import mojo2 more then once within my source, I'm getting error about duplicated functions. EXAMPLE (one from 7 similar errors): MY_PROJECT_BULD/glfw3/main.cpp:4805:15: error: redefinition of 'BBLoadImageData' BBDataBuffer *BBLoadImageData( BBDataBuffer *buf,String path,Array<int> info ){ MY_PROJECT_BULD/glfw3/main.cpp:4417:15: note: previous definition is here BBDataBuffer *BBLoadImageData( BBDataBuffer *buf,String path,Array<int> info ){ |
| ||
i have the same problem, but din't try to fix it. |
| ||
Hi again! Was my fault. Figured it out. I had explicit Import opengl.gles11 which shall be for now replaced with Import opengl.gles20 Regards. |
| ||
Jep that's it, now I get a new error but that is something else haha |