String Function Error

Forum for problems or queries regarding the Flowcode application and compiler usage.

Moderators: Benj, Mods

Post Reply
Kumaran
Posts: 73
Joined: Tue Apr 08, 2008 5:23 pm
Been thanked: 1 time
Contact:

String Function Error

Post by Kumaran »

Hi

Please find attached the simple string concatenating program. If you compile c code and view it. you can not find concatenate function in that due to that program is not working.

The attached program is developed just for getting the support. all the string has got the same problem.

Regards
Kumaran
Attachments
Flowcode1.fcf
(3 KiB) Downloaded 296 times

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

Re: String Function Error

Post by Steve »

It seems to work for me. The <concatenate> function is in the <internals.h> file - perhaps yours is not correct or has been accidentally deleted.

Reinstalling Flowcode should fix the problem. Alternatively, Ben should be able to send you an up-to-date version of the file. Which version of Flowcode are you using?

Kumaran
Posts: 73
Joined: Tue Apr 08, 2008 5:23 pm
Been thanked: 1 time
Contact:

Re: String Function Error

Post by Kumaran »

Where will be this internals.h file is located? Include command should automatically come in compiled C right? My version.3.4.7.
can you attach your C file?

Kumaran
Posts: 73
Joined: Tue Apr 08, 2008 5:23 pm
Been thanked: 1 time
Contact:

Re: String Function Error

Post by Kumaran »

in my compiled C, internal.h was already included. however I get following error in MPLAB
Error: Unresolved external function:'FCI_CONCATENATE(unsigned char*,unsigned char,unsigned char*,unsigned char,unsigned char*,unsigned char)'
Error: Unresolved external function:'FCI_CONCATENATE(unsigned char*,unsigned char,unsigned char*,unsigned char,unsigned char*,unsigned char)'
Error: Unresolved external function:'FCI_CONCATENATE(unsigned char*,unsigned char,unsigned char*,unsigned char,unsigned char*,unsigned char)'
Error: Unresolved external function:'FCI_CONCATENATE(unsigned char*,unsigned char,unsigned char*,unsigned char,unsigned char*,unsigned char)'
Error: Unresolved external function:'FCI_CONCATENATE(unsigned char*,unsigned char,unsigned char*,unsigned char,unsigned char*,unsigned char)'
Error: Unresolved external function:'FCI_CONCATENATE(unsigned char*,unsigned char,unsigned char*,unsigned char,unsigned char*,unsigned char)'
Error: Unresolved external function:'FCI_CONCATENATE(unsigned char*,unsigned char,unsigned char*,unsigned char,unsigned char*,unsigned char)'
Error: Unresolved external function:'FCI_CONCATENATE(unsigned char*,unsigned char,unsigned char*,unsigned char,unsigned char*,unsigned char)'
Error: Unresolved external function:'FCI_CONCATENATE(unsigned char*,unsigned char,unsigned char*,unsigned char,unsigned char*,unsigned char)'
Error: Unresolved external function:'FCI_CONCATENATE(unsigned char*,unsigned char,unsigned char*,unsigned char,unsigned char*,unsigned char)'
Error: Unresolved external function:'FCI_CONCATENATE(unsigned char*,unsigned char,unsigned char*,unsigned char,unsigned char*,unsigned char)'
Error: Unresolved external function:'FCI_CONCATENATE(unsigned char*,unsigned char,unsigned char*,unsigned char,unsigned char*,unsigned char)'
Error: Unresolved external function:'FCI_CONCATENATE(unsigned char*,unsigned char,unsigned char*,unsigned char,unsigned char*,unsigned char)'
Error: Unresolved external function:'FCI_CONCATENATE(unsigned char*,unsigned char,unsigned char*,unsigned char,unsigned char*,unsigned char)'
Error: Unresolved external function:'FCI_CONCATENATE(unsigned char*,unsigned char,unsigned char*,unsigned char,unsigned char*,unsigned char)'
Error: Unresolved external function:'FCI_CONCATENATE(unsigned char*,unsigned char,unsigned char*,unsigned char,unsigned char*,unsigned char)'
Error: Unresolved external symbol, function:FCI_CONCATENATE

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: String Function Error

Post by Benj »

Hello

You are getting the errors in MPLAB because you need to include the includes.h file. This file is located inside the Flowcode V3/fcd directory you could copy it into your project directory to get it working in MPLAB.

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: String Function Error

Post by Benj »

To avoid using the function you could research another string manipulation function that is compatible with your compiler. This would allow you to replace all the calls to the concatenate function.

Post Reply