FreeRTOS Support Archive
The FreeRTOS support forum is used to obtain active support directly from Real
Time Engineers Ltd. In return for using our top quality software and services for
free, we request you play fair and do your bit to help others too! Sign up
to receive notifications of new support topics then help where you can.
This is a read only archive of threads posted to the FreeRTOS support forum.
The archive is updated every week, so will not always contain the very latest posts.
Use these archive pages to search previous posts. Use the Live FreeRTOS Forum
link to reply to a post, or start a new support thread.
[FreeRTOS Home] [Live FreeRTOS Forum] [FAQ] [Archive Top] [August 2014 Threads] FreeRTOS project on Windows 7Posted by prabhuvd on August 13, 2014 Has any one built the project(FreeRTOSv8.0.1FreeRTOSDemoWIN32-MingW) successfully on windows 7 ?
** My Environment: **
I'm using Eclipse Kepler and MinGW compiler (gcc (GCC) 4.8.1)
I get the build error
** "FreeRTOSDemoPC/FreeRTOSConfig.h:69:17: fatal error: i86.h: No such file or directory" **
Appreciate your help in advance.
FreeRTOS project on Windows 7Posted by rtel on August 13, 2014 I can build it on Windows 7 without any problems using GCC 4.8.1, but my FreeRTOSConfig.h is not including i86.h (or any other header file for that matter). Did you modify the anything (project files, source files, directory structure, anything) from the main FreeRTOS .zip file before you tried building? Did you follow the documentation page for that demo on how to import the project into Eclipse?
Regards.
FreeRTOS project on Windows 7Posted by prabhuvd on August 13, 2014 You're right , the FreeRTOSConfg.h in the project does not refere to **i86.h ** but during the building it picks the FreeRTOSConfg.h from project "PC" .Attached the building below.
Please help.
Here is some additional details.
Version: Kepler Release
Build id: 20130614-0229
Downloaded FreeRTOS from https://sourceforge.net/projects/freertos/FreeRTOSv8.0.1.exe
FreeRTOS version : FreeRTOSv8.0.1
GCC 4.8.1
Steps followed to import Eclipse
- Select 'Import' from the Eclipse 'File' menu.
- In the dialogue box, select 'General | Existing Projects Into Workspace'. .
*Selected FreeRTOS/Demo/WIN32-MingW as the directory and this brings up RTOSDemo, which is the project that i imported.
Build Log :
Info: Internal Builder is used for build
gcc "-IC:\WA\Eclipse\FreeRtos\FreeRTOSv8.0.1\FreeRTOS\Source\include" "-IC:\WA\Eclipse\FreeRtos\FreeRTOSv8.0.1\FreeRTOS-Plus\Source\FreeRTOS-Plus-Trace\Include" "-IC:\WA\Eclipse\FreeRtos\FreeRTOSv8.0.1\FreeRTOS\Demo\PC" -O2 -g -Wall -c -fmessage-length=0 -o "FreeRTOS_Source\croutine.o" "..\..\..\Source\croutine.c"
In file included from C:WAEclipseFreeRtosFreeRTOSv8.0.1FreeRTOSSourceinclude/FreeRTOS.h:97:0,
from ......Sourcecroutine.c:66:
C:WAEclipseFreeRtosFreeRTOSv8.0.1FreeRTOSDemoPC/FreeRTOSConfig.h:69:17: fatal error: i86.h: No such file or directory
#include
^
FreeRTOS project on Windows 7Posted by rtel on August 13, 2014 ...and you are sure the files are unmodified from those in a fresh FreeRTOS installation, because I I don't think the Eclipse project settings are set to use -O2 in the command line, but that is what is shown in your build log.
I suspect your FREERTOS_ROOT variable is pointing to the wrong place. When you imported the project, did you have the "copy project into workspace" check box checked? If so, can you try again with a clean unzip of FreeRTOS and import with the check box unchecked.
If you still have a problem please post a screen shot of the project in Eclipse with the FreeRTOS Source code visible (expanded) in the project explorer - as per the attachement to this post which shows how it should look.
Regards.
FreeRTOS project on Windows 7Posted by prabhuvd on August 13, 2014 Thanks a lot !
FREERTOS_ROOT was pointing to a folder one level up ..!! huh !
It works perfectly fine now ..
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.
|