Giter Site home page Giter Site logo

Comments (4)

giorgiomarcias avatar giorgiomarcias commented on May 24, 2024

Hi,
I can't reproduce any problem on Mac OS X. Could you give me more information, please?
What OS, compiler and cmake version?

Anyway, there shouldn't be name paths conflicting (glfwm/ and glfwm/include/GLFWM/ are different paths).
Have you installed it on your system?

from glfwm.

csukuangfj avatar csukuangfj commented on May 24, 2024

@giorgiomarcias

I have cloned the repository to the directory /tmp/kuangfn.

Here are some logs:

/tmp/kuangfn/glfwm$ mkdir build
/tmp/kuangfn/glfwm$ cd build/
/tmp/kuangfn/glfwm/build$ cmake ..
-- The CXX compiler identification is GNU 4.9.2
-- 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
-- Configuring done
CMake Error at CMakeLists.txt:88 (add_library):
  Cannot find source file:

    /tmp/kuangfn/glfwm/include/GLFWM/common.hpp

  Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp
  .hxx .in .txx


-- Build files have been written to: /tmp/kuangfn/glfwm/build

The error occurs because of this line
https://github.com/giorgiomarcias/glfwm/blob/master/CMakeLists.txt#L62
which set the folder name to GLFWM, but the actual directory name is glfwm.

/tmp/kuangfn/glfwm/build$ cd ../include/
/tmp/kuangfn/glfwm/include$ ln -s glfwm/ GLFWM
/tmp/kuangfn/glfwm/include$ cd -
/tmp/kuangfn/glfwm/build
/tmp/kuangfn/glfwm/build$ cmake ..
-- Configuring done
-- Generating done
-- Build files have been written to: /tmp/kuangfn/glfwm/build

solves this problem.

As far as I know, both Mac OS and Linux are case sensitive while handling path names.
I am wondering why it has no problems on your Mac.

from glfwm.

csukuangfj avatar csukuangfj commented on May 24, 2024

Then refer to #6

from glfwm.

giorgiomarcias avatar giorgiomarcias commented on May 24, 2024

Ok, the problem was due to git that was case insensitive.
Commit 298a7a2 solves

from glfwm.

Related Issues (4)

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.