Showing Error in __Lib_delays.c

Post Reply
Author
Message
nikhilvv07
Posts: 38
Joined: 08 Sep 2016 14:17

Showing Error in __Lib_delays.c

#1 Post by nikhilvv07 » 20 Dec 2017 13:52

hi
am getting error while compiling all my previous program.

then i tried example program. Now checking interrupt1 timer example. But while compiling example program also it showing error
in lib_delay.c..
it point to delay_ms(1000);

and the error is : Undeclared identifier '__multiply_32x32' in expression.

Screen shot is attached. kindly check and do the needful.
Attachments
error.jpg
error.jpg (298.95 KiB) Viewed 3284 times

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

Re: Showing Error in __Lib_delays.c

#2 Post by filip » 22 Dec 2017 17:34

Hi,

Please, can you attach the minimal project that demonstrates this issue ?

Regards,
Filip.

nikhilvv07
Posts: 38
Joined: 08 Sep 2016 14:17

Re: Showing Error in __Lib_delays.c

#3 Post by nikhilvv07 » 23 Dec 2017 14:26

Hi,

I have taken it from example folder..

Anyway i attached that example with this post.

And please note that the programs which was build successfully before also getting failure now.

Kindly do the needful.

Merry Christmas..

Regards,
Nikhil
Attachments
Timer1 Interrupt.rar
(54.1 KiB) Downloaded 131 times

hexreader
Posts: 1785
Joined: 27 Jun 2010 12:07
Location: England

Re: Showing Error in __Lib_delays.c

#4 Post by hexreader » 23 Dec 2017 14:58

I see you are using an old version of the compiler.

First thing I would try is removing the old version 6 compiler and installing current version.

Your code compiles without error for me, using compiler 7.0.1
Start every day with a smile...... (get it over with) :)

nikhilvv07
Posts: 38
Joined: 08 Sep 2016 14:17

Re: Showing Error in __Lib_delays.c

#5 Post by nikhilvv07 » 25 Dec 2017 08:09

Thank you for your Reply Sir.

But i didn't changed the compiler. Unless there is no change in compiler it should work with its original compiler right.
It will work with New compiler but my few programs developed in old compiler and it was working well.
Without changing any compiler version how can it throws error?

That is making me confuse.

kindly suggest me a solution. If this problem can overcome without changing compiler version it will be better.


---
Nikhil

User avatar
strahinja.jacimovic
mikroElektronika team
Posts: 200
Joined: 18 Dec 2017 18:19

Re: Showing Error in __Lib_delays.c

#6 Post by strahinja.jacimovic » 26 Dec 2017 11:00

Hi,

I have tried to recreate the problem you have been getting, but without any success.

I used the version you are using as well, version 6.21.

There must be something wrong with your compilers libraries.

Try and download the same version again and install it.

Here is the link: http://download.mikroe.com/setups/compi ... p-v621.zip

Kind regards,
Attachments
2017-12-26_10-13-22.jpg
2017-12-26_10-13-22.jpg (72.73 KiB) Viewed 3239 times
Strahinja Jacimovic

nikhilvv07
Posts: 38
Joined: 08 Sep 2016 14:17

Re: Showing Error in __Lib_delays.c

#7 Post by nikhilvv07 » 26 Dec 2017 14:08

After re-installation it works fine :) :) :)

i dont know what happened with older one :( :( :(

Thank you for sharing the link.

....

User avatar
strahinja.jacimovic
mikroElektronika team
Posts: 200
Joined: 18 Dec 2017 18:19

Re: Showing Error in __Lib_delays.c

#8 Post by strahinja.jacimovic » 26 Dec 2017 14:46

You're welcome.

Kind regards,
Strahinja Jacimovic

Post Reply

Return to “dsPIC Compilers General”