Coder Social home page Coder Social logo

Comments (6)

rcurtin avatar rcurtin commented on June 15, 2024 1

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.

kiner-shah avatar kiner-shah commented on June 15, 2024 1

@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.

rcurtin avatar rcurtin commented on June 15, 2024

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.

kiner-shah avatar kiner-shah commented on June 15, 2024

@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.

rcurtin avatar rcurtin commented on June 15, 2024

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.

kiner-shah avatar kiner-shah commented on June 15, 2024

@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.