:D I solve the VFP problem. I don't know it is the right way or not. But at least I can compile the GL surface in this thread.
From this thread ...
I build the toolchain with vfp option, build the libwizGLES then compile the code.
My code is do nothing. Just create the surface then flip...
If we can not change the lib so we could change our tools.
I try to check the option of toolchains.
CODE
sunya@ns2:~/arm-openwiz-linux-gnu/bin$ ./arm-openwiz-linux-gnu-g++ -v
Using built-in specs.
Target: arm-openwiz-linux-gnu
Configured with...
Refer to Picodrive. I got the same problem too.
CODE
/home/sunya/arm-openwiz-linux-gnu/bin/../lib/gcc/arm-openwiz-linux-gnu/4.2.4/../../../../arm-openwiz-linux-gnu/bin/ld: ERROR: ../../Pico/draw_asm.o uses VFP instructions, whereas PicoDrive.gpe does not...
I already try this code. It's not work on my wiz 1.0.0.
Here's an example (no error checking included).
I've used cout (printf is so C :)).
CODE
#include <iostream>
#include <unistd.h>
#include <fcntl.h>
using namespace std;
int main(int, char**)
{
int fd = open("log.txt"...
I success to compile the wizGLES lib but there are the problem when linking.
CODE
/home/sunya/arm-openwiz-linux-gnu/bin/arm-openwiz-linux-gnu-g++ main.cpp -I/home/sunya/arm-openwiz-linux-gnu/include -L/home/sunya/arm-openwiz-linux-gnu/lib -lopengles_lite -lwizGLES -o gltest.gpe...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.