Lost Password?

Go Back   CodeCall Programming Forum > Software Development > C and C++

Unregistered, Check out the Coder Battles in the Announcement and Game forums.

C and C++ C and C++ forum for discussing all forms of C except for C#. These languages are powerful low level languages used for creating Operating Systems, Device Drivers, compilers and much more.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 05-16-2008, 11:35 AM
FritoBandito FritoBandito is offline
Newbie
 
Join Date: May 2008
Posts: 7
Credits: 0
Rep Power: 0
FritoBandito is on a distinguished road
Default No rule to make target... Please help

OK I get this error and I am confuzed

Code:
[Build Error] No rule to make target 'EO.o' needed by Sample.exe. Stop
I am using bloodshed 4.9.9.2 and i know it has to do with the make file.

EO.o would be related to EO.lib which is a library i need but didnt make.
I do have Sample.c and Sample.h

In Project->Project Options->Files
I have checked the EO.lib -> Include In Linking
If i dont check that, I get many other errors such as

Code:
  [Linker error] undefined reference to `SuperFunction'
In my project I have included:
Sample Project
---sample.c
---sample.h
---EO.lib
---Useful.h

There is also the sample.dsp and sample.dsw, makefile.win, sample.layout files in the folder which I ahve not included in my project

If I mark the EO.lib file for compilation I get [build error] error 255
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Sponsored Links
  #2 (permalink)  
Old 05-16-2008, 12:07 PM
soku11 soku11 is offline
Newbie
 
Join Date: May 2008
Location: Warsaw, Poland
Posts: 12
Credits: 0
Rep Power: 0
soku11 is on a distinguished road
Default Re: No rule to make target... Please help

Im not an expert, but I think that *.lib files should be only linked. That means you shouldnt add it to your project, but to additional library to link. It can cause this build error. Your compiler tries to do a EO.o object from the EO.lib file, which is not a standard C/C++ files. But I can be wrong Try it and write the news.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 05-16-2008, 01:04 PM
Xav's Avatar   
Xav Xav is offline
Code Warrior
 
Join Date: Mar 2008
Location: London, England
Posts: 7,432
Last Blog:
Web slideshow in JavaS...
Credits: 1,323
Rep Power: 61
Xav has much to be proud ofXav has much to be proud ofXav has much to be proud ofXav has much to be proud ofXav has much to be proud ofXav has much to be proud ofXav has much to be proud ofXav has much to be proud of
Send a message via MSN to Xav
Default Re: No rule to make target... Please help

A compile error means that the program will not even run, so there is a direct problem with the code. Try removing it from the project and just linking it, like soku11 says.
__________________
[TRUTH] TcM is the best moderator ever! [/TRUTH]
"Valid XHTML is like sex - everybody claims to have the same goal, but everybody has their own tricks and results vary wildly."
Mr. Xav | Website | Forums | Blog
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
VB 6.0: Tutorial, How to Make Gl***2K!! TcM VB Tutorials 12 09-28-2008 11:53 AM
VB 6.0: Tutorial, How to make a GIF in your application TcM VB Tutorials 17 07-01-2008 03:26 PM
Can someone make me simple bot to .... Icejam Request Services (Paid) 3 01-17-2008 07:07 AM
How to make and use a library twitch C Tutorials 0 06-13-2007 04:32 AM
How to make Dumplings ahsan16 The Lounge 2 01-11-2007 10:55 PM


All times are GMT -5. The time now is 10:42 AM.

Contest Stats

Xav ........ 1323.18
MeTh0Dz|Reb0rn ........ 1053.7
morefood2001 ........ 879.43
John ........ 877.37
marwex89 ........ 869.98
WingedPanther ........ 834.24
Brandon W ........ 749.07
chili5 ........ 310.39
Steve.L ........ 241.84
dcs ........ 216.02

Contest Rules

CodeCall Goal

Goal: 100,000 Posts
Complete: 82%

Ads