Can not compile

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 4.
To post in this forum you must have a registered copy of Flowcode 4 or higher. To sign up for this forum topic please use the "Online Resources" link in the Flowcode Help Menu.

Moderator: Benj

Post Reply
myval
Flowcode V4 User
Posts: 40
Joined: Sun Feb 22, 2009 6:54 am
Location: Sydney
Has thanked: 2 times

Can not compile

Post by myval »

..........................................................................................................................................................................
Return code = -1073741819
Flowcode was unable to assemble the ASM file due to the following errors:
FINISHED

I just recompile the project and that is what I got, I did not even change anything and following errors: does not help!

myval
Flowcode V4 User
Posts: 40
Joined: Sun Feb 22, 2009 6:54 am
Location: Sydney
Has thanked: 2 times

Re: Can not compile

Post by myval »

Just checked even with new empty project the same story!

User avatar
DavidA
Matrix Staff
Posts: 1076
Joined: Fri Apr 23, 2010 2:18 pm
Location: Matrix Multimedia Ltd
Has thanked: 58 times
Been thanked: 258 times
Contact:

Re: Can not compile

Post by DavidA »

Hello,

have you tried reinstalling Flowcode? You should not need to enter any licence information in (this is stored in windows registry even after uninstall), so you can just defer the entering of any cd keys.

The latest patch of Flowcode for your version can be downloaded by entering the last 12 characters of your licence key into the Flowcode Downloads section on the Flowcode main page: http://www.matrixmultimedia.com/flowcode.php

Also if you are using your .hex file in a schematic design in Proteus, this may cause an issue, this can be solved by closing Proteus.

myval
Flowcode V4 User
Posts: 40
Joined: Sun Feb 22, 2009 6:54 am
Location: Sydney
Has thanked: 2 times

Re: Can not compile

Post by myval »

I reinstalled it and it got bit more interesting:
Flowcode1.c
Starting preprocessor: c:\PROGRA~1\MATRIX~1\FLOWCO~2\boostc\pp.exe Flowcode1.c -i c:\PROGRA~1\MATRIX~1\FLOWCO~2\boostc\include -d _PIC16F1823 -la -c2 -o Flowcode1.pp -v -d _BOOSTC -d _PIC16 -d _PIC16x -d _CHAR_INDEX

Flowcode1.c(53:2): error: unknown identifier 'ansela'
Flowcode1.c(53:2): error: invalid operand 'ansela'
Flowcode1.c(53:9): error: failed to generate expression
Flowcode1.c(54:1): error: unknown identifier 'anselc'
Flowcode1.c(54:1): error: invalid operand 'anselc'
Flowcode1.c(54:8): error: failed to generate expression
Flowcode1.c(58:2): error: unknown identifier 'option_reg'
Flowcode1.c(58:2): error: invalid operand 'option_reg'
Flowcode1.c(58:13): error: failed to generate expression
Flowcode1.c success

failure

..
Return code = 1

Flowcode was unable to compile the flowchart's C code due to the following errors:


If your flowchart contains C code, please review this carefully. If your flowchart contains no C-code or you have thoroughly reviewed the code, contact Technical Support.

FINISHED

I don't use proteus at all.

I would be so happy if you had linux version, this software is the only reason why I keep windows. :-(

myval
Flowcode V4 User
Posts: 40
Joined: Sun Feb 22, 2009 6:54 am
Location: Sydney
Has thanked: 2 times

Re: Can not compile

Post by myval »

I forgot to mention I compiled empty flow chart with the errors above.

dazz
Posts: 1314
Joined: Sun Jan 15, 2012 3:15 pm
Has thanked: 474 times
Been thanked: 458 times

Re: Can not compile

Post by dazz »

Hi try a forum search on ansela there are a few posts dont know how old your V4 is but a post by medelec here http://www.matrixmultimedia.com/mmforum ... %27#p22802 points towards using a different compiler as early boostc dint support the chip you are using, does compiling to say a pic 628a give the same result, hth
To sign up to the V5 forum follow this link http://www.matrixmultimedia.com/forum_upgrades.php

myval
Flowcode V4 User
Posts: 40
Joined: Sun Feb 22, 2009 6:54 am
Location: Sydney
Has thanked: 2 times

Re: Can not compile

Post by myval »

Flowcode1.c
Starting preprocessor: c:\PROGRA~1\MATRIX~1\FLOWCO~2\boostc\pp.exe Flowcode1.c -i c:\PROGRA~1\MATRIX~1\FLOWCO~2\boostc\include -d _PIC16F84 -la -c2 -o Flowcode1.pp -v -d _BOOSTC -d _PIC16 -d _CHAR_INDEX

Flowcode1.c success

success

.......
Return code = 0

Launching the linker/assembler...
c:\program files\matrix multimedia\flowcode v4\boostc\boostlink_pic.exe -ld "C:\Program Files\Matrix Multimedia\Flowcode V4\BoostC\lib" libc.pic16.lib flowcode.pic16.lib rand.pic16.lib float.pic16.lib "Flowcode1.obj" -t PIC16F84 -d "C:\Documents and Settings\Administrator\My Documents\Flowcode\test" -p "Flowcode1"

Return code = -1073741819

Flowcode was unable to assemble the ASM file due to the following errors:


FINISHED

User avatar
DavidA
Matrix Staff
Posts: 1076
Joined: Fri Apr 23, 2010 2:18 pm
Location: Matrix Multimedia Ltd
Has thanked: 58 times
Been thanked: 258 times
Contact:

Re: Can not compile

Post by DavidA »

Hello are you using Flowcode v4.5? You can check this in the Help >> About section of Flowcode.

myval
Flowcode V4 User
Posts: 40
Joined: Sun Feb 22, 2009 6:54 am
Location: Sydney
Has thanked: 2 times

Re: Can not compile

Post by myval »

Should be the latest, I think.
Flowcode
Professional Version
Flowcode v4.5.18.74

User avatar
DavidA
Matrix Staff
Posts: 1076
Joined: Fri Apr 23, 2010 2:18 pm
Location: Matrix Multimedia Ltd
Has thanked: 58 times
Been thanked: 258 times
Contact:

Re: Can not compile

Post by DavidA »

Have you tried Flowcode in your Windows safe mode?

myval
Flowcode V4 User
Posts: 40
Joined: Sun Feb 22, 2009 6:54 am
Location: Sydney
Has thanked: 2 times

Re: Can not compile

Post by myval »

Yep, seems to be working fine in safe mode but but when I boot normal no go.

User avatar
Steve
Matrix Staff
Posts: 3433
Joined: Tue Jan 03, 2006 3:59 pm
Has thanked: 114 times
Been thanked: 422 times

Re: Can not compile

Post by Steve »

There are a few posts in this forum with this error code:
http://www.matrixmultimedia.com/mmforum ... 1073741819

There's also a post on the FAQ site:
http://www.matrixmultimedia.com/support ... 1819#p1147

myval
Flowcode V4 User
Posts: 40
Joined: Sun Feb 22, 2009 6:54 am
Location: Sydney
Has thanked: 2 times

Re: Can not compile

Post by myval »

It did not help entirely but put me on right tracks, thanks.
all the updates and MS fixes I already had so I could not do much there, instead I limited number of processors/ cores my windows run on and that seems to fix it which actually make sense now it happened after I updated Virtualbox.
I wish flowcode was Linux application ;-)

myval
Flowcode V4 User
Posts: 40
Joined: Sun Feb 22, 2009 6:54 am
Location: Sydney
Has thanked: 2 times

Re: Can not compile

Post by myval »

Spoke too soon When I add While loop (unmodified empty while loop) it comes up with:

Internal Error: Unable to resolve label ID:268444239 - 0x1000224F


failure

Return code = -2

Flowcode was unable to assemble the ASM file due to the following errors:


FINISHED

Post Reply