All About Symbian - Nokia (S60) and Sony Ericsson (UIQ) smartphones unwrapped

  #1  
Old 30-10-2006, 08:38 PM
elgrande elgrande is offline
Registered User
 
Join Date: Oct 2006
Posts: 11
elgrande is on a distinguished road
No rule to make target

Hi,
I'm using Carbade.c++ and UIK3.0 SDK
When I try building one of my projects, I get:

*** No rule to make target `../SomeFile.cpp', needed by `SomeFile.o'.

Strange thing (for me) is that MMP file is in the same directory with SomeFile.cpp and I have
"SOURCEPATH ."
"SOURCE SomeFile.cpp"
in my MMP file and eror says '../SomeFile.cpp' as if the files were in the different directories!? Did I get this wrong?
A friend suggested that it is the path from the makefile to cpp file but that would actually have to be '../../SomeFile.cpp' judging by the directory structure.
What I did was to have all of the files I needed into one directory and then make that directory workspace from Carbide. Any idea what is causing this message?
Thanks,
elgrande

  #2  
Old 30-10-2006, 08:43 PM
elgrande elgrande is offline
Registered User
 
Join Date: Oct 2006
Posts: 11
elgrande is on a distinguished road
I forgot to add

I forgot to add that there are no .o files att all
Ads

  #3  
Old 02-11-2006, 07:21 PM
elgrande elgrande is offline
Registered User
 
Join Date: Oct 2006
Posts: 11
elgrande is on a distinguished road
problem solved

Apparently, makefile specified that the files were on the place they were not. I solved the problem by manually copying the files to the location makefile "prefers".
My guess is that it has to do with the fact that both my workspace and my project have the same name (so the hierarchy is: \Name(workspace)\Name(project)) because it didn't happen to my other projects with different names than their workspaces.
Still, it's only my guess
Cheers,
elgrande
 

Bookmarks

Tags
make, rule, target

Thread Tools
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

Forum Jump



All times are GMT. The time now is 11:11 PM.


vBulletin skins developed by: eXtremepixels
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright Notes || Contact Us || Privacy Policy