Comments (4)
Just as an aside, life gets a little easier for linking if you move to mlpack 4.x, since mlpack is header-only and no longer has a boost dependency (so you could remove the -lboost_serialization -lmlpack
).
The Armadillo configuration output looks correct, so I am wondering how you installed Armadillo. Did the Armadillo headers get installed into /usr/local/include/
, and the Armadillo libraries get installed into /usr/local/lib/
? As a guess, I wonder if adding -I/usr/local/include/
to the compilation command will help. Make sure there's only one version of Armadillo present on the system, and that the version being used by the compiler when including and when linking are the same.
from mlpack.
Thanks for your advice. I chose the old version because I want to use mlpack in a platform based on C++11.
I checked armardillo's location and found that it was installed in usr/ not in usr/local/, so I uninstall the whole cygwin environment and reinstall mlpack and its related dependencies in usr/local/, however, same issue occurred. Also, -I/usr/local/include/ doesn't work.
from mlpack.
And attached images are installed files in usr/local/include/ usr/local/lib/ and usr/local/bin/
from mlpack.
Old releases like mlpack 3.4.2 are no longer supported. We don't really have the bandwidth for that. If you wish to continue using mlpack 3.4.2, you're on your own.
Furthermore, this issue does not appear directly tied to mlpack. The core problem seems to be an installation problem you have with Armadillo on Cygwin, a Linux-like emulation layer on Windows. Cygwin has always been problematic, as at best it's a rough approximation of a proper Linux environment.
Suggest the following:
- manually remove all currently installed versions of Armadillo; this includes the runtime library and the header files; look in places like /usr/lib, /usr/lib64, /usr/local/lib, /usr/local/lib64, /usr/include, /usr/local/include, ...
- download the latest version of Armadillo, and reinstall it
- make sure the armadillo example program runs on your setup
- upgrade your compiler to allow use of C++14, preferably GCC 11 or 12; the C++14 standard is supported by GCC since GCC 5.x (released in 2015, about 8 years ago)
- move to mlpack 4.1
If you can't get things working on Cygwin, either use WSL, or a proper Linux installation like Ubuntu, Fedora, AlmaLinux, RockyLinux, Debian, etc.
from mlpack.
Related Issues (20)
- MLPACK_STRING_VIEW error HOT 13
- Inconsistent use of the "input" parameter to the Backward method in ANNs HOT 11
- Add accuracy measure for mlpack_logistic_regression ? HOT 7
- Error in use of preprocess_split() in LinearRegression. HOT 2
- Proposal for New Supervised Learning Data Simulation Classes in C++ for MLPACK Library HOT 9
- Build fail for project using MLPack, M_SQRT2 undeclared identifier HOT 4
- MPLACK failed build in x86 mode HOT 1
- msvc round in core/math/round.hpp HOT 2
- Multihead attention layer HOT 1
- Multi-head output network HOT 1
- How to configure mlpack_test?
- How to configure mlpack test case HOT 1
- RADICAL number of components HOT 2
- Documentation should make types clearer when using non-default `MatType`s
- in ver 4.3.0 I can`t import linear_svm HOT 5
- Is it possible to get the distance calculations as one of the return types in Kmeans clustering HOT 4
- mlpack / opencv namespace ambiguity? HOT 3
- benchmark results HOT 1
- make install taking a lot of time in arm low end processor (1.5 GHz clock cycle) HOT 2
- Problem in reading csv data (inconsistent dimensions) HOT 4
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 mlpack.