Login
Username:

Password:

Remember me



Lost Password?

Register now!
Sections
Who's Online
54 user(s) are online (42 user(s) are browsing Forums)

Members: 1
Guests: 53

CD32, more...
Support us!
Recent OS4 Files
OS4Depot.net





Compiling EGL GLES Wrap examples
Just popping in
Joined:
12/16 8:42
From Czech Republic
Posts: 52
Hi

I'm getting the following errors while compiling GLES Demo sources(trianglecolour f.e):
/SDK/local/newlib/lib/libegl_wrap.so: undefined reference to `operator new[](unsigned int)'
/SDK/local/newlib/lib/libegl_wrap.so: undefined reference to `operator delete[](void*)'
/SDK/local/newlib/lib/libegl_wrap.so: undefined reference to `operator delete(void*)'
/SDK/local/newlib/lib/libegl_wrap.so: undefined reference to `__cxa_pure_virtual'
/SDK/local/newlib/lib/libegl_wrap.so: undefined reference to `__gxx_personality_sj0'
/SDK/local/newlib/lib/libegl_wrap.so: undefined reference to `vtable for __cxxabiv1::__vmi_class_type_info'
/SDK/local/newlib/lib/libegl_wrap.so: undefined reference to `vtable for __cxxabiv1::__class_type_info'
/SDK/local/newlib/lib/libegl_wrap.so: undefined reference to `ITimer'
/SDK/local/newlib/lib/libegl_wrap.so: undefined reference to `operator new(unsigned int)'
/SDK/local/newlib/lib/libegl_wrap.so: undefined reference to `vtable for __cxxabiv1::__si_class_type_info'


any idea what I might be missing? libegl wrap libraries and include files are installed, compiled demos are working fine...

thanks

   Report Go to top

Re: Compiling EGL GLES Wrap examples
Home away from home
Joined:
2007/9/11 11:31
From Russia
Posts: 5230
Probabaly you trying to compile c++ example via gcc (but should use g++ instead) , or, if you still want to use gcc binary, you need to add at end -lstdc++

_________________
Join us to improve dopus5!
zerohero's mirror of os4/os3 crosscompiler suites
   Report Go to top

Re: Compiling EGL GLES Wrap examples
Just popping in
Joined:
12/16 8:42
From Czech Republic
Posts: 52
@kas1e

Yes, that's probably it :)
I didn't notice there is g++ in original makefile instead of gcc...
Anyway, I had to modify my makefile manually, codebench seems to be ignoring some changes that are needed

thanks :)

   Report Go to top

Re: Compiling EGL GLES Wrap examples
Just popping in
Joined:
2006/12/28 23:42
From Besançon
Posts: 175
@NoCache
hello, actually kas1e is absolutely right and you must use the same linkage as the makefiles provided in the demos, I advise to check the makefile create by codebench once initialize before continuing. soon a new update will be made with new examples to better help you. have a good day
HunoPPC

_________________
AmigaOS 4.1 Rulez
Resized Image
   Report Go to top





[Advanced Search]


Powered by XOOPS 2.0 © 2001-2016 The XOOPS Project