Open dreness opened 3 years ago
Hi,
I needed a little bit of your help, I am using Ubuntu and I used the install.sh
script to create executable files this is that same script the one in the AntSimulator
repository but it is giving an error while compiling
[ 50%] Building CXX object CMakeFiles/foucloids.dir/src/main.cpp.o /home/harshal/harshal/fun_github_repos/Foucloids/src/main.cpp:7:10: fatal error: dynamic_blur.hpp: No such file or directory 7 | #include <dynamic_blur.hpp> | ^~~~~~~~~~~~~~~~~~ compilation terminated. make[2]: *** [CMakeFiles/foucloids.dir/build.make:82: CMakeFiles/foucloids.dir/src/main.cpp.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:95: CMakeFiles/foucloids.dir/all] Error 2 make: *** [Makefile:103: all] Error 2
your help will be appreciated,
Thankx
Hi! Cool project :) I had to overcome a few problems to build this in macOS 11.3 20E232, but since I don't really know what I'm doing with C++, I'm not sure how incorrect my workarounds are. That said, I still want to share my notes for anyone else who may be interested:
Adding an int parameter to EventCallbackMap is something I've also had to do in various other projects from johnBuffer. I don't really know why it's needed, although the problem was loosely described as 'non-portable usage' by some SO post.
I also ended up grabbing
transition.hpp
from one johnBuffer's other projects (FastTyper) after noticing that it includes this file as well, and builds without error.... and corresponding changes to
main/src.cpp
:Finally, some coercion of CMake was needed. This is probably the most incorrect of these patches. I also set
SFML_DIR
in my shell environment prior to invoking cmake (in my case,export SFML_DIR=/opt/brew/Cellar/sfml/2.5.1
)To re-iterate, I don't think much of this (if any) should be taken as-is, but this "works for me" in macOS 11.3.