Before logging an issue, please update to the latest release of Visual Micro from the Downloads Page.

When Logging a Support Issue in the Forum, please ensure you have also:-

  • Enabled vMicro > Compiler > Show Build Properties
  • Re-Compile your program with these settings enabled
 
Save the new Output to a Text File and....
  • Click the Reply button and attach as .txt file OR
  • Click here to Email us with the file attached, and a link to your post
Support requests without the output above may be impossible to answer, so please help us to help you
 
Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic error _defs.h not found (Read 3477 times)
hwehner
Newbies
*
Offline


Posts: 5
Joined: Mar 17th, 2018
error _defs.h not found
Mar 18th, 2018 at 8:28am
Print Post  
Hi,
I am new with Arduino and Visual Micro.
I have a problem with libraries.
I have a sketch working fine with Arduino IDE.
With VMicro there is an error: 

Compiling debug version of 'Wasserstand' for 'Arduino/Genuino Uno'
 
Arduino.h:26: In file included from
FastIO.h:35: from
FastIO.cpp:32: from
 
math.h: 13:19: fatal error: _defs.h: No such file or directory
   #include <_defs.h>
   compilation terminated
 
Arduino.h:26: In file included from
I2CIO.cpp:30: from
 
math.h: 13:19: fatal error: _defs.h: No such file or directory
   #include <_defs.h>
   compilation terminated
 
Arduino.h:26: In file included from
LCD.cpp:42: from
 
math.h: 13:19: fatal error: _defs.h: No such file or directory
   #include <_defs.h> 

the include file   _defs.h was not found. What can I do?
Regards
Heinz
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: error _defs.h not found
Reply #1 - Mar 18th, 2018 at 1:05pm
Print Post  
switch on vmicro>compiler>verbose then build and post output as .txt 

thanks
  
Back to top
WWW  
IP Logged
 
hwehner
Newbies
*
Offline


Posts: 5
Joined: Mar 17th, 2018
Re: error _defs.h not found
Reply #2 - Mar 18th, 2018 at 3:44pm
Print Post  
Thank you for the fast responds!
here comes the output (Dopbox), as you requested.

https://www.dropbox.com/sh/qt46jiaz9od1qv5/AAAAT6a9Wts_r80Mn_K2wHrRa?dl=0

I hope you can help me finding the problem.

Regards
Heinz
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: error _defs.h not found
Reply #3 - Mar 18th, 2018 at 5:24pm
Print Post  
are you sure you are running the arduino ide from "D:\programme i"

please download the arduino ide ZIP from arduino.cc and unpack into a clean folder such as "d:\arduino_apps\arduino185"

then point visual micro to the clean unpacked version

if you have the same issue then try with a new project.

does that work?
  
Back to top
WWW  
IP Logged
 
hwehner
Newbies
*
Offline


Posts: 5
Joined: Mar 17th, 2018
Re: error _defs.h not found
Reply #4 - Mar 18th, 2018 at 6:50pm
Print Post  
Hi,
now I got a lot of errors and trouble with the libraries. In the moment I have not enough time and knowledge to find the errors. For now, I will use my Arduino IDE whitch works fine. (never change a running system!) If I have more time and experience with the arduino and VM, I will come back and try to fix the problems.
Thank you very much for helping me. During the next time I have to learn more about Arduino and VM.

Regards
Heinz
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: error _defs.h not found
Reply #5 - Mar 18th, 2018 at 7:29pm
Print Post  
Okay thanks for the update.

Vm is a simple system and there are many users. No-one has this issue so it should be simple to solve if you revisit it sometime.

My suggestion to use arduino zip did not require you to alter your standard arduino installation. You can have as many copies installed as you like, each is separate.

« Last Edit: Mar 18th, 2018 at 7:30pm by Tim@Visual Micro »  
Back to top
WWW  
IP Logged
 
hwehner
Newbies
*
Offline


Posts: 5
Joined: Mar 17th, 2018
Re: error _defs.h not found
Reply #6 - Mar 18th, 2018 at 8:15pm
Print Post  
Hi, 
after the deinstallation of the "new" arduino IDE I tried the old one and VM to see what happend. And then.. it works! I don´t know why, but there are no errors!
Now, I am very happy with it.
Thank´s for all.
Regards
Heinz
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: error _defs.h not found
Reply #7 - Mar 18th, 2018 at 8:34pm
Print Post  
great thanks
  
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint