packtpublishing / hands-on-machine-learning-with-cpp Goto Github PK
View Code? Open in Web Editor NEWHands-On Machine Learning with C++, published by Packt
License: MIT License
Hands-On Machine Learning with C++, published by Packt
License: MIT License
Note that I've attempted this with both the system package installed Boost (version 1.74) as well as built Boost myself (version 1.80) with the same results.
clint@sweetz:~/code/git/Hands-On-Machine-Learning-with-CPP/Chapter03/sharkml/build$ cmake ..
-- The C compiler identification is GNU 11.2.0
-- The CXX compiler identification is GNU 11.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
SharkML path is /home/clint/code/git/Shark
plotcpp path is /home/clint/code/git/plotcpp
CMake Error at /usr/local/lib/cmake/Boost-1.80.0/BoostConfig.cmake:141 (find_package):
Found package configuration file:
/usr/local/lib/cmake/boost_serialization-1.80.0/boost_serialization-config.cmake
but it set boost_serialization_FOUND to FALSE so package
"boost_serialization" is considered to be NOT FOUND. Reason given by
package:
No suitable build variant has been found.
The following variants have been tried and rejected:
* libboost_serialization.so.1.80.0 (shared, Boost_USE_STATIC_LIBS=ON)
* libboost_serialization.a (shared runtime, Boost_USE_STATIC_RUNTIME=ON)
Call Stack (most recent call first):
/usr/local/lib/cmake/Boost-1.80.0/BoostConfig.cmake:262 (boost_find_component)
/usr/share/cmake-3.22/Modules/FindBoost.cmake:594 (find_package)
CMakeLists.txt:25 (find_package)
-- Configuring incomplete, errors occurred!
See also "/home/clint/code/git/Hands-On-Machine-Learning-with-CPP/Chapter03/sharkml/build/CMakeFiles/CMakeOutput.log".
For Boost::Serialization, in /usr/local/lib I have three serialization files:
libboost_serialization.a
libboost_serialization.so
libboost_serialization.so.1.80.0
If I disable either of the "Boost_USE_STATIC_LIBS " or "Boost_USE_STATIC_RUNTIME" (or both), the binaries compile and link but immediately segfault on run.
I'm not sure what to try next if anyone can help me with what to do. I'm happy to provide any other details required.
How to run code?
I have an experience with cpp but not cmake i have spend the last 2 days trying to configure the libraries to work in my system but i couldn't !
i really want help
what i do is the following:
To fix this issue you could add the following line:
git config --global url."https://github.com/".insteadOf git://github.com/
to /Hands-On-Machine-Learning-with-CPP/env_scripts/README.md
where you start the docker container for the first time.
I'm attempting to run the code examples in Visual Studio. What project type should I create? A cmake or console application?
These files don't contain vsproj files, so I can't directly open them as a solution. Please help.
Was there some history rewriting on armadillo repo? Seems that git checkout 442d52ba052115b32035a6e7dc6587bb6a462dec
gives following error:
fatal: reference is not a tree: 442d52ba052115b32035a6e7dc6587bb6a462dec
Can you check with git log
if there's a branch "close" to that commit (e.g. 8.600.x)?
Hello!
Where could I find data files of chapter 7?
Thanks,
mukoedo1993
I have been attemping to build the docker container inside an Arch virtual machine. I have hardware pass thru, 3 cpu cores dedicated to the VM, 8 GB of memory, and 32 GB dedicated storage.
After I run the docker file and run install_env.sh
inside the development directory it works fine until 78% of the way thru shogun build. At that point it just hangs. No errors, no updates. It doesn't appear to freeze. It just sits there. I have attempted the build multiple time. The shortest time that I've let it run was 10 hrs. Same result each time.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.