Andes Workshop
http://forum.andestech.com/

How to compile intelj3 with AndeSight MCU installed
http://forum.andestech.com/viewtopic.php?f=23&t=716
Page 1 of 1

Author:  HuJin [ Mon Jul 01, 2013 4:29 pm ]
Post subject:  How to compile intelj3 with AndeSight MCU installed

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 677 times

Attachment:
Step1.png
Step1.png [ 41.45 KiB | Viewed 6798 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
Step2.png [ 183.5 KiB | Viewed 6798 times ]

Attachment:
Step2-1.png
Step2-1.png [ 36.58 KiB | Viewed 6798 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
Step3.png [ 25.61 KiB | Viewed 6798 times ]

Page 1 of 1 All times are UTC + 8 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/