Author Topic: Touch Orbiter running on Webdt 366 under Windows CE  (Read 2439 times)

hermanvh

  • Regular Poster
  • **
  • Posts: 28
    • View Profile
Touch Orbiter running on Webdt 366 under Windows CE
« on: November 07, 2010, 03:07:24 pm »
I struggled to get the Touch Orbiter code working on the Webdt under Windows CE.
It turned out that the wince on webdt does not support multi-threading.

The advantages of Touch Orbiter under WinCE vs the Padorbiter:
- shorter boot time
- power save of wince helps battery life
- future proof

How to build the Touch Orbiter for WebDT 366:
1. svn co http://svn.linuxmce.org/svn/branches/LinuxMCE-0810/src/WindowsCE
2. cd WindowsCE
3. svn co https://cegcc.svn.sourceforge.net/svnroot/cegcc/trunk/cegcc
4. cp ../*.patch .
5. apply patches:
    - patch -p0 -i Webdt366_No_Multiple_Threads.patch
    - patch -p0 -i libpng_pngconf.patch
    - patch -p0 -i libpng.mingw32ce.mk.patch
6. make all-x86

If there was already a TouchOrbiter and/or tool chain build done:
- rm cegcc/build/x86mingw32ce/.compiled
- rm libpng-1.4.3/*.o
and execute step 4, 5 and 6 from directory WindowsCE.