DEV2: Clean installation not compiling
Hi,
I made a break working on my printer because of my job.
I want to use the latest version of DEV2 and wanted to be able to use the git software, to always have the latest version. I tried it synchronizing it in Visual Studio, but I failed. I failed for a couple of ways and installations.
I want to use the latest version of DEV2 and wanted to be able to use the git software, to always have the latest version. I tried it synchronizing it in Visual Studio, but I failed. I failed for a couple of ways and installations.
Latest thing I tried was to download a zip-file of DEV2 and extract it to a folder. Than I opened the folder in Visual Studio. It does not show the option to compile but gives this message:
#include-Fehler erkannt. Aktualisieren Sie Ihren includePath. Wellenlinien sind für diese Übersetzungseinheit (C:\Daten\3D\Repetier-Firmware-dev2\src\Repetier\src\Configuration.cpp) deaktiviert.
and
Die Datei "Quelle" kann nicht geöffnet werden: "math.h". (dependency of "Repetier.h")
I would have expected that a clean download is directly compilable. What am I doing wrong?
best regards
karl.ranseier
edit: I am working with win10
Comments
Not sure if this works in Visual Studio - it was developed with Visual Studio Code and also requires the platformio plugin so all includes and packages get installed automatically on compile including required cross compiler. But you need to compile with platformio not with studio directly. Maybe that plugin also works in visual studio can't say. But I at least have math.h which is a standard c library available on all C/C++ installations since 20 years.
Now I will go back to try to make the gut extension work fine for me.