CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

Multiple compilation unit project linker error

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
rikotech8



Joined: 10 Dec 2011
Posts: 376
Location: Sofiq,Bulgariq

View user's profile Send private message

Multiple compilation unit project linker error
PostPosted: Sat Oct 31, 2015 10:23 am     Reply with quote

Hi,
In my project direcrory I have one main.c file.
In ..\..\Drivers I have project.c, project.h files.
I have added project.c to my project.
I added ..\..\Drivers as include directory for my project.
I specified all the output files to be placed at .\outputs.
When I run Build I get main.o and project.o in the .\outputs.
But the [spam] linker reports the error:
Quote:
file ..\..\Drivers\project.o can not be opened

Why the smart linker searches the object file in the Driver directory (I explicitly opted that outputs will be at different directory)?
Thank you.
_________________
A person who never made a mistake never tried anything new.
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group