Error in Chibisutdio

Discussions and support about ChibiOS/RT, the free embedded RTOS.
smjh1371
Posts: 25
Joined: Sat Feb 06, 2016 2:05 pm

Error in Chibisutdio

Postby smjh1371 » Sun Feb 14, 2016 10:12 am

Hi I compile my code in Chibistudio and get this error . Could you help me please?

Description Resource Path Location Type
make: *** No rule to make target `../ChibiOS-RT/os/ports/GCC/ARMCMx/crt0.c', needed by `build/obj/crt0.o'. Stop. BallBalancing_ChibiOSRT C/C++ Problem

and aslo

Description Resource Path Location Type
make: *** No rule to make target `BallBalancing_ChibiOSRT_scd.mk'. Stop. BallBalancing_ChibiOSRT [Discovery Options] page in project properties C/C++ Problem

User avatar
Giovanni
Site Admin
Posts: 12964
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 735 times
Been thanked: 610 times
Contact:

Re: Error in Chibisutdio

Postby Giovanni » Sun Feb 14, 2016 10:34 am

Hi,

It is a make message, it means that some of the files specified in .mk files are not there, verify paths.

Giovanni

smjh1371
Posts: 25
Joined: Sat Feb 06, 2016 2:05 pm

Re: Error in Chibisutdio

Postby smjh1371 » Sun Feb 14, 2016 12:22 pm

about this
No rule to make target `../ChibiOS-RT/os/ports/GCC/ARMCMx/crt0.c', needed by `build/obj/crt0.o
I have to find a file named crt0.o and add it there ?!

I have another problem I have downloaded the 15.7z version of Chibistudio. It has two icons for starting a program Chibi Studio GCC 4.7 and Chibi Studio GCC 4.9 and it has three folders for workspace,
workspace_trunk, workspace26 and workspace30 ! which one of these folders should I use because I think the problem is related to these !!

User avatar
Giovanni
Site Admin
Posts: 12964
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 735 times
Been thanked: 610 times
Contact:

Re: Error in Chibisutdio

Postby Giovanni » Sun Feb 14, 2016 2:55 pm

Download the lastest ChibiStudio v16 and use the default workspace, it is the latest official version. Try compiling one of the existing demos, then clone the project (^c/^v in project explorer), start from the copy for your project.

Giovanni

smjh1371
Posts: 25
Joined: Sat Feb 06, 2016 2:05 pm

Re: Error in Chibisutdio

Postby smjh1371 » Sun Feb 14, 2016 3:27 pm

There is something else and I appreciate it if you help me. I have a project that consists of two parts or folders. One is for win32 and the other for Chibios. I want to know when there is a project like this we import both these files in Chibios and run and because of the instructions in the program they will run simultaneously ?

User avatar
Giovanni
Site Admin
Posts: 12964
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 735 times
Been thanked: 610 times
Contact:

Re: Error in Chibisutdio

Postby Giovanni » Sun Feb 14, 2016 6:08 pm

Sorry, I don't understand your question.

Giovanni

smjh1371
Posts: 25
Joined: Sat Feb 06, 2016 2:05 pm

Re: Error in Chibisutdio

Postby smjh1371 » Sat Mar 05, 2016 9:43 pm

I don't get this error please tell me what to do

make: *** No rule to make target `../ChibiOS-RT/os/ports/GCC/ARMCMx/crt0.c', needed by `build/obj/crt0.o'. Stop.

I found the file crt0.c and copied it and changed it to crt0.o but again I get the same error !

User avatar
Giovanni
Site Admin
Posts: 12964
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 735 times
Been thanked: 610 times
Contact:

Re: Error in Chibisutdio

Postby Giovanni » Sat Mar 05, 2016 10:25 pm

smjh1371 wrote:I don't get this error please tell me what to do

make: *** No rule to make target `../ChibiOS-RT/os/ports/GCC/ARMCMx/crt0.c', needed by `build/obj/crt0.o'. Stop.

I found the file crt0.c and copied it and changed it to crt0.o but again I get the same error !


I can't help with the problem here.

Anyway, the error is about crt0.c or crrt0.s not being in the expected position. I suggest to download the latest version and start over.

Giovanni

smjh1371
Posts: 25
Joined: Sat Feb 06, 2016 2:05 pm

Re: Error in Chibisutdio

Postby smjh1371 » Sat Mar 05, 2016 10:49 pm

the new version has 4 workspaces . Is there any difference between them or they are the same? which one should I use?

User avatar
Giovanni
Site Admin
Posts: 12964
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 735 times
Been thanked: 610 times
Contact:

Re: Error in Chibisutdio

Postby Giovanni » Sat Mar 05, 2016 11:19 pm

The default one contains the latest official code (16.1). Others are older versions or experimental code.

Giovanni


Return to “ChibiOS/RT”

Who is online

Users browsing this forum: No registered users and 3 guests