GithubHelp home page GithubHelp logo

Comments (4)

darksylinc avatar darksylinc commented on June 28, 2024

Hi!

Could you provide steps to reproduce and environment (distro, compiler version, etc)?

Additionally some background of why you needed to customize CMAKE_INSTALL_PREFIX would help.

Thanks.

from ogre-next-deps.

andre-caldas avatar andre-caldas commented on June 28, 2024

Could you provide steps to reproduce and environment (distro, compiler version, etc)?

I use Debian unstable, but it seems my compiler is from "experimental". Environment info (with some superfluous data removed):

$ g++ --version
g++ (Debian 14-20240429-1) 14.0.1 20240429 (experimental) [gcc-14 r14-10144-g41d7a8ceaaa]

$ cmake --version
cmake version 3.29.3

Additionally some background of why you needed to customize CMAKE_INSTALL_PREFIX would help.

I don't really need... I just wanted to. :-)
I wanted to have everything installed to my local /home/andre/.local/.

Everything worked fine and OGRE 4.0 is working, thanks to you guys. I also got OGRE installed to my .local directory.

Trying to learn Ogre, I have noticed those files I have mentioned, but I don't really know what they are and how they affect me. :-)

I guess that regardless of my needs, CMAKE_INSTALL_LIBDIR and the sort are supposed to be relative to prefix. If not, it shall be considered a bug, IMHO. I have submitted a PR that follows the cmake specs:

https://cmake.org/cmake/help/latest/module/GNUInstallDirs.html

from ogre-next-deps.

darksylinc avatar darksylinc commented on June 28, 2024

I assume you ran ?

cmake ..  -DCMAKE_INSTALL_PREFIX=/home/andre/.local/

I don't really need... I just wanted to. :-)

Gotcha. The thing is this repo is only meant to build dependencies for ogre-next to pick up. By default this repo doesn't even install in any system path: it installs into a local folder (inside the build you told CMake).

And the main issue is that we'd have to test all platforms we support to ensure nothing broke.

That is why I will have to reject your PR unless you have objections.

Cheers
Matias

from ogre-next-deps.

andre-caldas avatar andre-caldas commented on June 28, 2024

And the main issue is that we'd have to test all platforms we support to ensure nothing broke.
That is why I will have to reject your PR unless you have objections.

You do not need to officially support the thing. As per CMake documentation, the current version is wrong and the PR makes it right. This is regardless of anything.
https://cmake.org/cmake/help/latest/module/GNUInstallDirs.html

If you say you do not support PREFIX... by observing the submitted PR you will notice that the patch actually removes certain mentions to the variable CMAKE_INSTALL_PREFIX you claim not to support. If you do not support it, and the thing is actually wrong... nothing more correct than removing it. ;-)

But I do not have "objections". I am to new here to have "objections". But I do hope I have changed your mind. :-)

Just keep up the great work and I am happy! Please, feel very comfortable to make your decision. I shall not complain. :-D

from ogre-next-deps.

Related Issues (10)

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.