Page 1 of 1

Compiler Errors

Posted: Wed Jul 27, 2011 12:26 pm
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

Re: Compiler Errors

Posted: Wed Jul 27, 2011 3:56 pm
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"

Re: Compiler Errors

Posted: Wed Jul 27, 2011 7:06 pm
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