CauldronDevelopmentLLC / CAMotics

Open-Source Simulation & Computer Aided Machining - A 3-axis CNC GCode simulator
Other
602 stars 138 forks source link

Error when building: No such file or directory AsyncCopyStreamToLog.h #413

Closed bluesun212 closed 5 months ago

bluesun212 commented 5 months ago

When running scons to compile CAMotics, the following error was observed:

src/camotics/sim/ToolPathTask.cpp:48:10: fatal error: cbang/log/AsyncCopyStreamToLog.h: No such file or directory
   48 | #include <cbang/log/AsyncCopyStreamToLog.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
scons: *** [build/camotics/sim/ToolPathTask.o] Error 1
scons: building terminated because of errors.

This seems to have started after a recent commit in cbang where AsyncCopyStreamToLog.h was deleted. It doesn't appear that ToolPathTask needs to import this file; removing the include line in question allowed the build to succeed.

jcoffland commented 5 months ago

Thanks