1. install vs2008
2. install Python27
3. install scons-2.3.2-setup
version is important
4. download rt-thread version is -> update stm32f107 ethernet driver: add more debug cmd. 2014/5/16
5. download RTGUI version is -> animation: try to cope with dc buggs 2014/5/8
6. download
http://msinttypes.googlecode.com/files/msinttypes-r26.zip7. edit C:\RTGUI\SConstruct
#if os.getenv('RTT_ROOT'):
# RTT_ROOT = os.getenv('RTT_ROOT')
#else:
# print "error! Please set the environment var 'RTT_ROOT'"
# sys.exit(255)
RTT_ROOT = r'c:\rt-thread'
8. edit C:\RTGUI\rtconfig.py
#CROSS_TOOL can be 'msvc', 'gcc', 'mingw' 'clang-analyze'
#if os.getenv('RTT_CC'):
# CROSS_TOOL = os.getenv('RTT_CC')
#else:
# CROSS_TOOL='clang-analyze'
CROSS_TOOL = 'msvc'
9. edit stdint.h of msinttypes-r26.zip
#ifdef __cplusplus
extern "C" {
#endif
//# include <wchar.h> //mark here
#ifdef __cplusplus
}
#endif
10. copy inttypes.h, stdint.h to C:\Program Files\Microsoft Visual Studio 9.0\VC\include
11. run cmd to go console mode
12. run -> C:\Program Files\Microsoft Visual Studio 9.0\VC\bin\vcvars32.bat
13. run -> set path=%PATH%;C:\Python27;C:\Python27\Scripts
14. go to C:\RTGUI run scons
15. copy C:\rt-thread\bsp\simulator\SDL\lib\x86\SDL.dll to C:\RTGUI\executables
16. run C:\RTGUI\executables\demo.exe
finish~~~~