After Andesight MCU installed, the cygwin environment is setted. So we can use g++ compiler in cygwin to compile intelj3. The steps are as follow:
Step1: Download the intelj3 source code. Uncompress it and put it on your desktop
Attachment:
ori-src-IntelJ3.zip [264.98 KiB]
Downloaded 840 times
Attachment:
Step1.png [ 41.45 KiB | Viewed 7624 times ]
Step2:Double click “Cygwin.bat” which is under your AndesightMCU V2.0.1 installation path to open Cygwin Window and check g++ compiler.
Attachment:
Step2.png [ 183.5 KiB | Viewed 7624 times ]
Attachment:
Step2-1.png [ 36.58 KiB | Viewed 7624 times ]
Step3:Change directory of the IntelJ3 Project and Compile it. Compile command is:
Code:
g++ -g3 -O0 -Wall -DBUILD_ID=20130628 -DBRANCH_NAME=\"aaa\" -DCOMMIT_ID=\"bbb\" IntelJ3.cpp util.cpp -lwsock32 -lm -lgdi32 -luser32 -lcfgmgr32 -lsetupapi -lcomctl32 -o IntelJ3.exe
Attachment:
Step3.png [ 25.61 KiB | Viewed 7624 times ]