Page 1 of 1

Error compiling MultiWii with VisualMicro

Posted: Sat Apr 09, 2016 3:14 pm
by Entropia
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...

Re: Error compiling MultiWii with VisualMicro

Posted: Mon Apr 11, 2016 12:07 am
by gregd72002
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...