Comments (3)
Hi,
Thank you for your comment. The errors are due to some MacOS related C++ specifications. I've updated the code and it should run on MacOS now. Let me know if you have other issues.
from fmo-cpp-demo.
Hi,
Thank you for your quick revert on this issue. While running 'make' on the updated code (on same MacOS), this error is coming.
[ 89%] Building CXX object desktop/CMakeFiles/fmo-desktop.dir/loop-visualizer.cpp.o
/Users/fmo_build/fmo-cpp-demo/desktop/loop-visualizer.cpp:8:10: fatal error: 'boost/range/adaptor/reversed.hpp' file not found
#include <boost/range/adaptor/reversed.hpp>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
make[2]: *** [desktop/CMakeFiles/fmo-desktop.dir/loop-visualizer.cpp.o] Error 1
make[1]: *** [desktop/CMakeFiles/fmo-desktop.dir/all] Error 2
make: *** [all] Error 2
Note: I have boost installed - the installed version is boost: stable 1.72.0. Is it an issue with this?
from fmo-cpp-demo.
Hi,
The above issue got resolved. I added the below changes to CMakeLists.txt and the error got removed. [The reference can be found at https://stackoverflow.com/questions/24173330/cmake-is-not-able-to-find-boost-libraries]
SET (BOOST_ROOT "/usr/local/Cellar/boost/1.72.0_2")
SET (BOOST_INCLUDEDIR "/usr/local/Cellar/boost/1.72.0_2/include")
SET (BOOST_LIBRARYDIR "/usr/local/Cellar/boost/1.72.0_2/lib")
SET (BOOST_MIN_VERSION "1.72.0")
set (Boost_NO_BOOST_CMAKE ON)
FIND_PACKAGE(Boost ${BOOST_MIN_VERSION} REQUIRED)
if (NOT Boost_FOUND)
message(FATAL_ERROR "Fatal error: Boost (version >= 1.72) required.")
else()
message(STATUS "Setting up BOOST")
message(STATUS " Includes - ${Boost_INCLUDE_DIRS}")
message(STATUS " Library - ${Boost_LIBRARY_DIRS}")
include_directories(${Boost_INCLUDE_DIRS})
link_directories(${Boost_LIBRARY_DIRS})
endif (NOT Boost_FOUND)
Thank you once again. Your work is fantastic !
from fmo-cpp-demo.
Related Issues (6)
- Error while loading shared libraries HOT 2
- Output not getting written HOT 2
- demo stuck HOT 12
- settings for small ball HOT 3
- python version HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fmo-cpp-demo.