CrossTheRoadElec / Phoenix-Releases

Release repository for Phoenix-Framework and Phoenix-Tuner
79 stars 6 forks source link

Build Failing Due to Reference to a Nonexistent File #37

Closed ankithm28 closed 1 year ago

ankithm28 commented 1 year ago

We're referencing the Talon FX motor controller. This raises an error on compilation that there is a reference to Platform.hpp.

#include "ctre/phoenix/platform/Platform.hpp"

Screen Shot 2023-01-14 at 5 39 35 PM Screen Shot 2023-01-14 at 5 39 54 PM

The documentation at https://api.ctr-electronics.com/phoenix/release/cpp/_platform___c_c_i_8h_source.html also references this file but doesn't exist.

Thanks for the help!

ozrien commented 1 year ago

Header file appears to be there on my side. I pulled Motion Magic Example to quick test and it builds (sim and rio).

My guess is the Phoenix.json is wrong in your project.

ozrien commented 1 year ago

If its easy you can send us your project and we can take a quick look.