Jump to content

uGFX in Chibistudio


Johnboy

Recommended Posts

Hello I'm VERY new to both uGFX and Chibistudio

I have followed the tutorial I found here: https://wiki.ugfx.io/index.php/Using_ChibiStudio

When I build it I get the following:

19:13:36 **** Incremental Build of configuration Default for project RT-STM32F469I-DISCOVERY_lcdtest ****
make -j8 all 
make: *** No rule to make target `main.c', needed by `build/obj/main.o'.  Stop.

19:13:38 Build Finished (took 2s.492ms)

In the instruction it tells me to delete main.c as the demo is linked internally 

I am a hobbyist and constantly learning

Any direction would be greatly appreciated

 

 

 

Link to comment
Share on other sites

On 22/7/2017 at 09:29, Johnboy said:

In the instruction it tells me to delete main.c as the demo is linked internally

That is correct, but after deleting the main.c file you need to adjust your Makefile to use the desired demo project. This is described in the section below the part where it tells you to delete the main.c.

If you did set the GFXDEMO as specified in the guide and still get the error, then it is possible that your GFXLIB path may be incorrect.

Link to comment
Share on other sites

Thanks, Joel I corrected that but however when I compile I still get:

make: *** No rule to make target `main.c', needed by `build/obj/main.o'

I'll keep looking I've obviously missed something :) Thanks for your help

Edited by Joel Bodenmann
Removing unnecessary complete quote of previous post and also using codebox
Link to comment
Share on other sites

Yes I performed a clean build, and also removed main.c from the CSRC variable 

Now I get:

build/obj/crt0_v7m.o: In function `endinitloop':
(.text+0x82): undefined reference to `main'
collect2.exe: error: ld returned 1 exit status
make: *** [build/ch.elf] Error 1
 

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...