Hi all,
Hi,
when trying to compile MultiWii 2.4 (and 2.3 as well) within Visual Studio with the Visual Micro plugin I get tons of this error:
MultiWii.cpp.o:In function `annexCode()
MultiWii.cpp:multiple definition of `annexCode()
MultiWii.cpp.o:C:\Users\entro\AppData\Local\Temp\VMicroBuilds\MultiWii\mini_atme
ga328\MultiWii.cpp:370: first defined here
The software compiles correctly in the Arduino IDE.
I've taken the MultiWii source files from here:
https://code.google.com/archive/p/multiwii/
Nevertheless the visual micro compiler works with an empty test sketch, so the installation of visual micro should be fine...
Error compiling MultiWii with VisualMicro
-
- Posts: 103
- Joined: Fri Dec 12, 2014 5:16 pm
Re: Error compiling MultiWii with VisualMicro
Looks similar to what I was facing when compiling using Arduino-Makefile. I had to remove MultiWii.ino file as it was interfering. It is a stub anyway...