Error compiling MultiWii with VisualMicro

This forum is dedicated to software development related to MultiWii.
It is not the right place to submit a setup problem.
Software download
Post Reply
Entropia
Posts: 11
Joined: Fri Sep 20, 2013 8:25 pm

Error compiling MultiWii with VisualMicro

Post 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...

gregd72002
Posts: 103
Joined: Fri Dec 12, 2014 5:16 pm

Re: Error compiling MultiWii with VisualMicro

Post 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...

Post Reply