Compiler Errors

For MIAC users to discuss projects, applications, and any other issues related to the MIAC unit.

Moderators: Benj, Mods

Post Reply
AKPERRY
Flowcode V4 User
Posts: 18
Joined: Tue Mar 29, 2011 9:30 pm
Contact:

Compiler Errors

Post by AKPERRY »

from: A Perry

Hi Benj,
we have just started a new design using the MIAC product. To get started, we tried to compile & run a number of the 'sample' programmes provided. Each provides copious amounts of unresolved external function errors. I guess we have the initial setup wrong somehow. Any idea's? Please see attached text file. Regards
Attachments
NewTextDocument.txt
(18.62 KiB) Downloaded 351 times

Sean
Valued Contributor
Valued Contributor
Posts: 548
Joined: Tue Jun 26, 2007 11:23 am
Has thanked: 6 times
Been thanked: 44 times
Contact:

Re: Compiler Errors

Post by Sean »

Hello,

The linker parameters used during compilation seem to be out of date. If you have updated from an earlier version it is possible that the old settings were retained.

The easiest way to correct this setting is to open the Chip -> Compiler Options menu in Flowcode and click on the 'Restore Defaults' button. This should change all the compiler and linker options to the new settings.

The options that seem to be causing the problems are in Linker/Assembler: - Parameters :

The resore button should change the contents to match the list below:

-ld "C:\Program Files\Matrix Multimedia\Flowcode V4\BoostC\lib" libc.pic16.lib flowcode.pic16.lib rand.pic16.lib float.pic16.lib "%f.obj" -t PIC%p -d "%d" -p "%f"

AKPERRY
Flowcode V4 User
Posts: 18
Joined: Tue Mar 29, 2011 9:30 pm
Contact:

Re: Compiler Errors

Post by AKPERRY »

From: tony Perry

Hi,
thanks for that Sean. I had to put the line in manually for some reason, but it works fine now. cheers

Post Reply