Hi all , I am trying to build some stuff for the Wiz and getting stuck early on.
My steps:
1. I downloaded Torpor's openwiz toolchain for linux, followed his directions to install it.
2. I copied this simple SDL example, called it main.c, changed the dimensions to 320x240, and then ran
3. I then copied the file libiconv.so.2.4 from /opt/openwiz/toolchain/lib/ and test.gpe to the root of my SD card.
4. Booted the Wiz, ran termula2x. Copied libiconv.so.2.4 to /usr/lib/libiconv.so.2 .
5. When I run test.gpe from the launcher I get a blank screen. When I run it from termula2x I get a segfault.
Any ideas? Also, do I always need to copy shared libs over to the wiz's /usr/lib/ or is there a better place?
My steps:
1. I downloaded Torpor's openwiz toolchain for linux, followed his directions to install it.
2. I copied this simple SDL example, called it main.c, changed the dimensions to 320x240, and then ran
Code:
/opt/openwiz/toolchain/bin/arm-openwiz-linux-gnu-gcc main.c -o test.gpe -I /opt/openwiz/toolchain/include/SDL -lSDL -L /opt/openwiz/toolchain/lib/ -liconv
3. I then copied the file libiconv.so.2.4 from /opt/openwiz/toolchain/lib/ and test.gpe to the root of my SD card.
4. Booted the Wiz, ran termula2x. Copied libiconv.so.2.4 to /usr/lib/libiconv.so.2 .
5. When I run test.gpe from the launcher I get a blank screen. When I run it from termula2x I get a segfault.
Any ideas? Also, do I always need to copy shared libs over to the wiz's /usr/lib/ or is there a better place?
Last edited by a moderator: