When I create a demo based on Tricore.
1.Problem description:
I wrote a demo with RT-Druid, everything is ok, and I set the Cygwn path and other Environment Variables. The code generation step is ok but when I compile the generated codes, errors occured. Also, I read the wiki page Nicola and Paolo provided, but I still fix the problem. So ,list here,maybe it's useful for other friends.
2.My Environment:
1). PC Environment: Windows XP;
2). Cygwin Path: C:\Cygwin
3). Erika Codes Path: C:\ERIKA\ee_base
4). RT-Druid Path: C:\ERIKA\EE_RT-Druid-2.0.0-juno-win32
5). Tricore's toolchains:C:\TriCoreTools\HIGHTEC\TRICORE\bin
3.Steps to create the demo with RT-Druid:
1).Create a new Project: File|New|RT-Druid Oil and C/C++ Project
2).Name and choose toolchain: Toolchains choose "-- Other Toolchain --"
3).Using templates: -tricore|base|Isr
4.Set Project Properities:
1).Set "Erika Files Location":
Windows|Preferences|Erika Files Location;
Enable project specific settings|Manual: C:\ERIKA\ee_base
2).Set "Cygwin paths":
Windows|Preferences|RT-Druid|Cygwin paths: C:\Cygwin
5.Compiling:
When I compile, the code can be generated successfuly; But, the compiling occured a error as the following info displayed in the console:
Code: Select all
15:27:08 **** Build of configuration Default for project Test1 ****
"C:\\ERIKA\\EE_RT-Druid-2.0.0-juno-win32\\eclipse\\Project\\Test1\\Debug\\make_launcher.bat" all
C:\cygwin\bin\bash found!
cygwin warning:
MS-DOS style path detected: C:\ERIKA\EE_RT-Druid-2.0.0-juno-win32\eclipse\Project\Test1\Debug
Preferred POSIX equivalent is: /cygdrive/c/ERIKA/EE_RT-Druid-2.0.0-juno-win32/eclipse/Project/Test1/Debug
CYGWIN environment variable option "nodosfilewarning" turns off this warning.
Consult the user's guide for more details about POSIX paths:
http://cygwin.com/cygwin-ug-net/using.html#using-pathnames
cygpath: cannot create short name of `cygpath
makefile:102: /pkg/cfg/rules.mk: No such file or directory
C:\TriCoreTools\HIGHTEC\TRICORE\bin\make.exe: *** No rule to make target `/pkg/cfg/rules.mk'. Stop.
15:27:09 Build Finished (took 1s.406ms)
If a step-by-step example to build a app, my god, it'll be very,very... exciting!!!!!
Thanks!