can't use "exp"

General discussion on mikroC.
Post Reply
Author
Message
aalmoraa
Posts: 4
Joined: 02 Dec 2010 14:12

can't use "exp"

#1 Post by aalmoraa » 13 Jan 2012 17:41

Hi all!!

In fact the subject title describes the problem. When I use "exp" function compiler gives the error : "constant exp_coeff_L0 not found"

I know that I should include one more file but which one? Sorry for that basic question.

Thanks in advance...

User avatar
filip
mikroElektronika team
Posts: 11874
Joined: 25 Jan 2008 09:56

Re: can't use "exp"

#2 Post by filip » 16 Jan 2012 11:55

Hi,

Which compiler version and MCU are you using ?

Regards,
Filip.

aalmoraa
Posts: 4
Joined: 02 Dec 2010 14:12

can't use "exp"

#3 Post by aalmoraa » 17 Jan 2012 12:18

I'm using dsPIC33FJ128GP710.

And about MicroC : mikroC, mikroElektronika C compiler
for Microchip dsPIC 30/33 and PIC 24 microcontrollers
Version: 4.0.0.0

I also want to add that I can't use cos, sin either. I think they are in the same lib.

Thanks for reply!!

User avatar
filip
mikroElektronika team
Posts: 11874
Joined: 25 Jan 2008 09:56

Re: can't use "exp"

#4 Post by filip » 18 Jan 2012 10:49

Hi,

I didn't manage to reproduce this issue.
Please, update to the the newest version of the dsPIC compiler, since this version is obsolete and outdated.

The update is free, you will just need to ask for a new license key.

You can download the newest compiler version from the following address :
http://www.mikroe.com/eng/products/view ... for-dspic/

Regards,
Filip.

Post Reply

Return to “mikroC General”