Comments (6)
If you have a way to reproduce it in a clean, e.g., Ubuntu Docker container (which I could then fully reproduce), I can look into it---otherwise I agree, I'm not sure what's going on here and not sure it's reproducible. My last guess is just to nuke your build directory and try again (but maybe you already did that).
from mlpack.
@rcurtin Yes I tried deleting the build directory and retrying but didn't work. I think it's some issue in my system since on another system where I tried I couldn't reproduce the issue as well.
from mlpack.
Do you have the output from the make install
step? Maybe something went wrong there? I tried this on my local system and ensmallen was successfully installed:
$ ls -l ~/mlpack-install-test/include/
total 20
drwxr-xr-x 48 ryan ryan 4096 Jul 31 12:24 ensmallen_bits
-rw-r--r-- 1 ryan ryan 5084 Jan 28 2023 ensmallen.hpp
drwxr-xr-x 4 ryan ryan 4096 Jul 31 12:24 mlpack
-rw-r--r-- 1 ryan ryan 2970 Jun 14 09:13 mlpack.hpp
(in my case I already had all the other dependencies, so downloading Armadillo, cereal, and STB weren't needed.)
Any other output you can give, e.g., from the CMake configure step, could be helpful too. 👍
from mlpack.
@rcurtin Thanks for the response. It would be great if you can also try downloading dependencies using that flag.
Here are the logs and CMakeCache.txt:
build.log
cmake.log
CMakeCache.txt
from mlpack.
I spent a while trying to reproduce this in an Ubuntu 22.04 Docker container, using exactly the instructions you gave as well as a few variations, but I couldn't. Each time ensmallen's headers are installed correctly.
Can you paste what's in cmake_install.cmake
? It should have a stanza about installing ensmallen. Here is my example from the Docker container I was using:
if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT)
file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/include" TYPE DIRECTORY FILES "/root/mlpack-4.2.0/build/deps/armadillo-10.3.0/include/")
endif()
if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT)
file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/include" TYPE DIRECTORY FILES "/root/mlpack-4.2.0/build/deps/stb/include/")
endif()
if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT)
file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/include" TYPE DIRECTORY FILES "/root/mlpack-4.2.0/build/deps/ensmallen-2.19.1/include/")
endif()
if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT)
file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/include" TYPE DIRECTORY FILES "/root/mlpack-4.2.0/build/deps/cereal-1.3.0/include/")
endif()
from mlpack.
@rcurtin Unfortunately I cannot find the line for ensmallen in cmake_install.cmake.
cmake_install.cmake.txt
Not sure, why it doesn't work on my system. You may close this issue if it's not reproducible. Thanks for the support.
from mlpack.
Related Issues (20)
- NVP mentioned when loading models from Cereal XML file, but not mentioned when model is saved HOT 3
- BLAS, LAPACK dependencies not installed when using DOWNLOAD_DEPENDENCIES flag HOT 1
- Example of input data format for HMMs HOT 6
- Linker errors when building mlpack from source - Linux HOT 4
- Error bulding golang binding on MacOS M2 HOT 2
- Error while installing mlpack
- Circular includes lead to compilation errors HOT 5
- For ANN (c++) Remove Templates for OutputLayerType and InitializationRuleType HOT 7
- Can you include `mlpack.hpp` into the python wheel? HOT 6
- Security improvement: get_deps with https urls? HOT 10
- 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
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.