Installing Squiggles

Hi there. I wanted to install squiggles to generate 2d trajectories for my robot. I am on C++ VS Code using the VEX extension. The installation instructions from the link says to add

the contents of the include and src directories to your project.

When I tried this, it seemed like the include paths were all messed up. I included the squiggles header file like this

#include "../robotsquiggles-main/main/include/squiggles.hpp"

My file structure looks like this

The error I got was this

Do I have to use CMake? Other libraries like OkapiLib just use #include "squiggles.hpp" to start using squiggles vs the relative file path I used.

You will have to make some changes to the makefile and probably switch to use C++17 (if the squiggles docs are correct). I’ll try and see if it will work with the VEX extension when I get time this week.

1 Like

I had a look at this, not easily possible, squiggles uses some C++ features not supported by the toolchain we include with the VSCode extension.

2 Likes

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.