Compiling issues

General discussion on mikroC PRO for AVR.
Post Reply
Author
Message
darren@adret.co.za
Posts: 11
Joined: 22 Jul 2013 10:41

Compiling issues

#1 Post by darren@adret.co.za » 27 Mar 2016 18:14

Hi,

I recently made changes to a project on my Mikromedia for X Mega. My last revision code still worked on Mikro C for AVR vers. 6.0.0, and Visual TFT 3.9.0. When I upgraded to the latest Visual TFT and Mikro C for AVR, then I started getting compiling issues. The code is not properly generating from Visual TFT to Mikro C, because when I just make changes to an object on Visual TFT, then when I start the compiler and build my code, it gives me a lot of "Undeclared Identifier" errors in my "_driver.c" file. And it's not any of my own functions, it's the "_driver.c" file's standard functions; such as the "DrawRoundButton" function. It suddenly doesn't recognize "FO_VERTICAL_COLUMN" within this function, for instance. All of my libraries are included, so what can it be?? I included a screenshot of one of the errors that I'm receiving.
Attachments
Mikro C Screenshot.jpg
Mikro C Screenshot.jpg (371.66 KiB) Viewed 2570 times

darren@adret.co.za
Posts: 11
Joined: 22 Jul 2013 10:41

Re: Compiling issues

#2 Post by darren@adret.co.za » 27 Mar 2016 19:08

After lots of struggling I figured out that it was the new feature "Code Merge" causing the issue. I disabled it and my code worked again!

Post Reply

Return to “mikroC PRO for AVR General”