Code Monkey home page Code Monkey logo

Comments (7)

sfan5 avatar sfan5 commented on June 15, 2024

Works for me and the CI is green too, provide more details.

from irrlicht.

z0rti avatar z0rti commented on June 15, 2024
$ cmake .. -DBUILD_SHARED_LIBS=OFF -DCMAKE_INSTALL_PREFIX=/opt/minetest                                                   
-- The CXX compiler identification is GNU 6.3.0                                 
-- Check for working CXX compiler: /usr/bin/c++                                 
-- Check for working CXX compiler: /usr/bin/c++ -- works                        
-- Detecting CXX compiler ABI info      
-- Detecting CXX compiler ABI info - done                                       
-- Detecting CXX compile features       
-- Detecting CXX compile features - done                                        
-- *** Building IrrlichtMt 1.9.0 ***    
-- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version "1.2.8")        
-- Found JPEG: /usr/lib/x86_64-linux-gnu/libjpeg.so                             
-- Found PNG: /usr/lib/x86_64-linux-gnu/libpng.so (found version "1.6.28")      
-- Looking for _IRR_COMPILE_WITH_OGLES1_                                        
-- Looking for _IRR_COMPILE_WITH_OGLES1_ - not found                            
-- Looking for _IRR_COMPILE_WITH_OGLES2_                                        
-- Looking for _IRR_COMPILE_WITH_OGLES2_ - not found                            
-- Looking for _IRR_COMPILE_WITH_OPENGL_                                        
-- Looking for _IRR_COMPILE_WITH_OPENGL_ - found                                
-- Found OpenGL: /usr/lib/x86_64-linux-gnu/libGL.so                             
-- Looking for XOpenDisplay in /usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so                                                         
-- Looking for XOpenDisplay in /usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so - found                                                 
-- Looking for gethostbyname            
-- Looking for gethostbyname - found    
-- Looking for connect                  
-- Looking for connect - found          
-- Looking for remove                   
-- Looking for remove - found           
-- Looking for shmat                    
-- Looking for shmat - found            
-- Found X11: /usr/lib/x86_64-linux-gnu/libX11.so                               
CMake Error at CMakeLists.txt:32 (install):                                     
  install TARGETS given target "IrrlichtMt" which does not exist in this        
  directory.                            

$ cmake --version
cmake version 3.7.2

Trying to compile for old Debian Stretch

from irrlicht.

sfan5 avatar sfan5 commented on June 15, 2024

@JosiahWI any idea?

from irrlicht.

TSafa-23 avatar TSafa-23 commented on June 15, 2024

@sfan5 What are your cmake arguements? I run into the same problem, Linux Mint 19.3

from irrlicht.

sfan5 avatar sfan5 commented on June 15, 2024

I don't use anything special, the reason will rather be that I run CMake 3.20.0 which is very recent.

Edit: It turns out the feature this relies on is only present in CMake 3.13 or later: https://stackoverflow.com/questions/34443128/cmake-install-targets-in-subdirectories. This is a problem.

from irrlicht.

sfan5 avatar sfan5 commented on June 15, 2024

@JosiahWI So it looks like the export introduced by #22 does not work on older CMake versions that we need to support.
You can of course put it behind a version check but this would mean we have to support both the legacy and cmake config way inside the engine, extra code for no benefit.

For me this means the exports have to be reverted. If you have a better idea please name it.

from irrlicht.

JosiahWI avatar JosiahWI commented on June 15, 2024

The install should be moved to the subdirectory maybe? I need to verify that it actually works to do that.

from irrlicht.

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.