Comments (4)
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.
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.
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.
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)
- SDL2 missing HOT 1
- link error building Remotery for macOS with Xcode 14.3 beta HOT 3
- vs error at shaderc HOT 2
- FreeImage can't compile on Windows because std::binary_function was moved in MSVC 14
- Freeimage doesn't build with latest VS 2019 versions HOT 1
- Python 3.* required to build shaderc HOT 2
- Cannot compile under Android HOT 2
- Compiler errors building FreeImage under Linux HOT 3
- shaderc Link error when compiling INSTALL.sln HOT 5
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 ogre-next-deps.