Go to Post I always thought a trained bio mechanical monkey wrapped in aluminum foil would be the best robot, but every year my team says "No Pete, go sit down." - BuddyB309 [more]
Home
Go Back   Chief Delphi > Technical > Programming > C/C++
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 01-23-2012, 10:49 PM
Tungsten Tungsten is offline
Registered User
FRC #2853
 
Join Date: Jan 2012
Location: Hawaii
Posts: 1
Tungsten is an unknown quantity at this point
"No rule to make target" error

Hello,
We are having severe errors with Windriver. Whenever we compile a program, regardless of whether or not it has any errors in it, the following error message appears:

C:\WindRiver\vxworks-6.3\host\x86-win32\bin\make.exe: ***No rule to make target 'b'. Stop.
Build Failed in Project 'AxisCamera' (Process Exit Value was 2): 2012-01-23 17:32:33 (Elapsed Time 00:00)

We have tried putting the same code on a different computer, and it builds perfectly fine. We suspect that something is wrong with the directories, but we don't know exactly what is wrong and how to fix it.
Reply With Quote
  #2   Spotlight this post!  
Unread 01-26-2012, 06:44 AM
arthurlockman's Avatar
arthurlockman arthurlockman is offline
Team Captain
FRC #0172 (Northern Force)
Team Role: Mentor
 
Join Date: Feb 2010
Rookie Year: 2009
Location: Gorham, ME
Posts: 29
arthurlockman is an unknown quantity at this point
Send a message via AIM to arthurlockman
Re: "No rule to make target" error

In WindRiver, try deleting your PPC603gnu folder. Then rebuild the project. That usually solves this problem for us.
-Arthur
__________________
--
Arthur Lockman
Twitter: @arthurlockman
a.rthr.me
Reply With Quote
  #3   Spotlight this post!  
Unread 01-27-2012, 11:11 AM
DjScribbles DjScribbles is offline
Programming Mentor
AKA: Joe S
FRC #2474 (Team Excel)
Team Role: Mentor
 
Join Date: Oct 2011
Rookie Year: 2012
Location: Niles MI
Posts: 284
DjScribbles is a splendid one to beholdDjScribbles is a splendid one to beholdDjScribbles is a splendid one to beholdDjScribbles is a splendid one to beholdDjScribbles is a splendid one to beholdDjScribbles is a splendid one to beholdDjScribbles is a splendid one to beholdDjScribbles is a splendid one to behold
Re: "No rule to make target" error

I ran into a similar problem on one of our programming laptops, it wouldn't even compile example code; I'm not sure if it was the exact error your seeing but it was always the same thing. To fix it, I simply reinstalled Windriver (renamed the old windriver directory to something else), it worked after that.

Hope this helps
Reply With Quote
  #4   Spotlight this post!  
Unread 02-21-2012, 11:20 PM
prim0rdia1 prim0rdia1 is offline
Registered User
FRC #1868
 
Join Date: Feb 2012
Location: San Jose
Posts: 1
prim0rdia1 is an unknown quantity at this point
Re: "No rule to make target" error

We have the same error, and considered reinstalling WindRiver, but the problem came back after a few runs. We managed to fix it (for now because I'm not sure if this solution works all the time)

For those who do have this problem and don't want to reinstall WindRiver, you could make a new workspace on WindRiver and import the code back, but into the new workspace. We have tried this, but this only seems to be temporary.

The second thing we did though, is delete the metadata folder. First, close WindRiver (not a good idea to have WindRiver running when you're deleting this folder). This file should be in the workspace folder created when you create the workspace in WindRiver. Once that file is deleted, reopen WindRiver. Note that your projects won't be there anymore (b/c you deleted metadata). Just re-import the code and build, and it should be fine.

Strangely enough, I thought this would work the same way as deleting metadata files when modding Minecraft. Turns out it did.
Reply With Quote
  #5   Spotlight this post!  
Unread 02-22-2012, 01:03 AM
bob.wolff68's Avatar
bob.wolff68 bob.wolff68 is offline
Da' Mentor Man
FRC #1967
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2007
Location: United States
Posts: 152
bob.wolff68 is just really nicebob.wolff68 is just really nicebob.wolff68 is just really nicebob.wolff68 is just really nicebob.wolff68 is just really nice
Re: "No rule to make target" error

Another solution I've personally used is to do a "clean"... simply go to the project menu and select "Clean..." and clean the project and rebuild. Sometimes Eclipse/Workbench gets confused and needs a swift kick ...

bob
__________________
~~~~~~~~~~~~~~~~~~~
Bob Wolff - Software from the old-school
Mentor / C / C++ guy
Team 1967 - The Janksters - San Jose, CA
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 09:58 AM.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi