View unanswered posts | View active topics It is currently Sat May 26, 2018 6:47 pm



Reply to topic  [ 5 posts ] 
 [beginner] - Compile error if i move the example folder 
Author Message

Joined: Tue Jun 30, 2015 9:06 pm
Posts: 1
hi!

i've just started to learn the basics of GBA programming, and i have a simple problem i cannot solve. I was able to run the basic template included in devkitpro/examples/gba/template, i created the *.gba file and successfully run it on the emulator. Then i tried to copy the template folder to another directory on my pc, where i keep all the projects i'm working on. But when i try to compile the same project from the terminal using "make", i get the following error:

Quote:
make[1]: *** No rule to make target 'c:/devkitPro/examples/gba/template/source/template.c', needed by 'template.o'. Stop.
make: *** [build] Error 2


Now, i noticed that 'make' is still searching in the old directory (c:/devkitPro/examples/gba/template/source/template.c), but i have absolutely no idea how to reconfigure the makefile in order to change the path where the project resides. How can it be done?

thank you in advance


Wed Jul 01, 2015 10:53 am
Profile

Joined: Thu Jul 02, 2009 1:19 pm
Posts: 349
Did you try cleaning the project? make clean


Mon Oct 19, 2015 5:42 pm
Profile

Joined: Sun Dec 20, 2015 1:28 pm
Posts: 1
elhobbs wrote:
Did you try cleaning the project? make clean

I'm having the exact same problem as the OP and tried doing a "make clean" then "make". I replicated it for the screen shot. Any other ideas?


Attachments:
ScreenCap.png [42.78 KiB]
Not downloaded yet
Sun Dec 20, 2015 1:37 pm
Profile

Joined: Thu Jul 02, 2009 1:19 pm
Posts: 349
crumpetz wrote:
elhobbs wrote:
Did you try cleaning the project? make clean

I'm having the exact same problem as the OP and tried doing a "make clean" then "make". I replicated it for the screen shot. Any other ideas?

that example requires imagemagick installation


Thu Dec 24, 2015 9:59 pm
Profile
Site Admin

Joined: Tue Aug 09, 2005 3:21 am
Posts: 1236
Location: UK
You're using old 3DS examples as well. The latest version of that checks for imagemagick and fails gracefully

_________________
Help keep devkitPro toolchains free, Donate today

devkitPro IRC support
Personal Blog


Fri Jan 15, 2016 9:18 pm
Profile ICQ WWW
Display posts from previous:  Sort by  
Reply to topic   [ 5 posts ] 

Who is online

Users browsing this forum: No registered users and 0 guests


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 post attachments in this forum

Search for:
Jump to:  
cron
  Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software.
Get devkitPro at SourceForge.net. Fast, secure and Free Open Source software downloads