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 Problem compiling LUFA library (Read 2337 times)
level6
Junior Member
**
Offline


Posts: 18
Joined: Mar 21st, 2018
Problem compiling LUFA library
Apr 11th, 2018 at 2:17am
Print Post  
I am attempting to compile the LUFA library using VM and errors are being generated. The errors I'm seeing look like the compiler is choking on C++ syntax. It's like the compiler is expecting C but having to compile C++. Any ideas?
  

Please Register or Login to the Forum to see File Attachments
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12155
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Problem compiling LUFA library
Reply #1 - Apr 11th, 2018 at 9:58am
Print Post  
Will you be stating which board you are using?
Will you be explaining if compile or intellisense errors?
If compile error will you be showing the compile error?
  
Back to top
IP Logged
 
level6
Junior Member
**
Offline


Posts: 18
Joined: Mar 21st, 2018
Re: Problem compiling LUFA library
Reply #2 - Apr 11th, 2018 at 1:58pm
Print Post  
Tim@Visual Micro wrote on Apr 11th, 2018 at 9:58am:
Will you be stating which board you are using?
Will you be explaining if compile or intellisense errors?
If compile error will you be showing the compile error?


Thanks for your reply.

I'm compiling for the SparkFun Pro Micro ATMega32u4.
It appears these are all intellisense errors. 810 of them.

I'm trying to compile the LUFA Keyboard demo project. It's different in that there is no setup() or loop() method, just a main() entry point like a normal C/C++ program. Also no .INO file. Also the VM build and run buttons are also disabled in this project. I've attached a log file, which is produced when I do a Visual Studio build.

  

Please Register or Login to the Forum to see File Attachments
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12155
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Problem compiling LUFA library
Reply #3 - Apr 12th, 2018 at 8:22pm
Print Post  
So we have two different issues

1) Intellisense for your board
2) LUFAKeyboard.zip

Does 2) build in the arduino ide?
  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint