Arduino external library not found by proteus!

Discussion on both general simulation and Proteus VSM microcontroller simulation.
Post Reply
cyberjd
Professional User
Posts: 13
Joined: Tue 2014-09-30 10:42

Arduino external library not found by proteus!

Post by cyberjd »

Bonjour,
When i try to compile the Arduino Web Server example, i receive the following message:
"../main.ino:19:25: fatal error: UIPEthernet.h: No such file or directory"
However the UIPEthernet Library is installed in Arduino, but proteus seems not to find it!
I have tried to place manually the .h and cpp files of the library in the proteus working directory but it doesn't work.
What should i do?
I use Proteus 8.2
Cordialement
Jean
Andrew
Labcenter Staff
Posts: 453
Joined: Fri 2006-03-24 15:34
Contact:

Re: Arduino external library not found by proteus!

Post by Andrew »

Hello,

Do you know by any chance what directory is it installed to? Also what Arduino version are you using?

Best regards,
Andrew.
cyberjd
Professional User
Posts: 13
Joined: Tue 2014-09-30 10:42

Re: Arduino external library not found by proteus!

Post by cyberjd »

Bonjour Andrew,
I am using the last Arduino 1.6.5 with the proteus patch:
arduino.xml to "C:\Program Files (x86)\Labcenter Electronics\Proteus 8 Professional\VSM Studio\compilers", and
mksketch.exe to "C:\Program Files (x86)\Labcenter Electronics\Proteus 8 Professional\Tools\ARDUINO".

Arduino directory is Program Files (x86)\Arduino
Cordialement
Jean
Andrew
Labcenter Staff
Posts: 453
Joined: Fri 2006-03-24 15:34
Contact:

Re: Arduino external library not found by proteus!

Post by Andrew »

Hello Jean,

I'm using the same version of Arduino, and it compiler fine. Can you please open "My Documents" in Explorer, and then navigate to Arduino/libraries from there, and check if there's a directory "UIPEthernet" which contains "UIPEthernet.h"

Andrew.
cyberjd
Professional User
Posts: 13
Joined: Tue 2014-09-30 10:42

Re: Arduino external library not found by proteus!

Post by cyberjd »

Hello Andrew

Ok it works! But the name of the library was "arduino_uip-master" and i have renamed the folder of the library with "UIPEthernet"!
Now one more problem when simulating, i get the error:
"Fail to initialize WinPcap driver"
What can i do?

Thank you

Jean
Andrew
Labcenter Staff
Posts: 453
Joined: Fri 2006-03-24 15:34
Contact:

Re: Arduino external library not found by proteus!

Post by Andrew »

Jean, you'll need to install Virtual network driver from Proteus 8 Professional menu.

Andrew.
cyberjd
Professional User
Posts: 13
Joined: Tue 2014-09-30 10:42

Re: Arduino external library not found by proteus!

Post by cyberjd »

Thank you Andrew, it works!
Post Reply