Jump to content

Recommended Posts

I am working on some math for PIC16F1519. I found a forum (this thing won't let me paste the link or the code in here (I don't understand that, but whatever). If you search Googe for "lprintf format sourceboost", the first link takes you to the code I am referring to.


Anyway, the problem is not with the code (I don't think). I have added flot.h to the list of includes, but when I try to build the project I get a list of erros : Unresolved external function: 'float32_to_int32(float)'. I get errors likke this for all the functions I'm calling from the float header file. What do I need to do to fix this? I thought including the header file was all I needed to do to be able to use the included functions.

Link to post
Share on other sites

You need to add the float library to your project.


Right click on the project and select "add files(s) to project"

Find the library under SourceBoost/Lib. For you it will be "float.pic16.lib"


See manual page 8.





Link to post
Share on other sites

Join the conversation

You are posting as a guest. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...