Giter Site home page Giter Site logo

Comments (12)

rmack avatar rmack commented on May 1, 2024

I am having the same issue.
Ubuntu 12.04.3 LTS 64bit.

Note: After apt-get libglew-dev

sudo apt-get install libglew-dev
Note, selecting 'libglew1.6-dev' instead of 'libglew-dev'
libglew1.6-dev is already the newest version.

Note: Cmake on Ubuntu is not the latest version

cmake version 2.8.7 - Ubuntu
cmake version 2.8.12 - Current version

Thank you very much...

from craft.

Lilykos avatar Lilykos commented on May 1, 2024

Same issue here, Kubuntu 12.04. Thanks!

from craft.

czardoz avatar czardoz commented on May 1, 2024

Installing the dependencies also broke my X server for some reason.
apt-get ended up removing xserver-xorg-lts-precise package (No idea if that was supposed to happen)

I fixed it by reinstalling it

sudo apt-get install xserver-xorg-lts-precise

from craft.

 avatar commented on May 1, 2024

I'm having issues with this on Linux Mint 16 (based on Ubuntu 13.10). I installed the dependencies and then tried sudo apt-get build-dep glfw but I get the following error:

Unable to find a source package for glfw

from craft.

masterzu avatar masterzu commented on May 1, 2024

see #22 : GLEW is include in cmake from the 2.8.10 version.

from craft.

rmack avatar rmack commented on May 1, 2024

@masterzu, Thank you... I guess this means we will need to install a newer version of cmake for the time being. I will try it out and report back.

from craft.

rmack avatar rmack commented on May 1, 2024

Update: I am now able to compile. Instructions below.
Note: I had to install doxygen as well: sudo apt-get install doxygen

  1. Go to this link http://www.cmake.org/cmake/resources/software.html
  2. Download the latest version of cmake: http://www.cmake.org/files/v2.8/cmake-2.8.12.1.tar.gz
  3. gzip -d ~/Download/cmake-2.8.12.1.tar.gz
  4. tar xvf ~/Download/cmake-2.8.12.1.tar
  5. cd ~/Download/cmake-2.8.12.1
  6. cmake .
  7. make
  8. sudo su
  9. make install
  10. which cmake
  11. cmake -version # should be greater then 2.8.7
  12. cd
  13. cmake .
  14. make
  15. chmod 755 craft
  16. ./craft

from craft.

josefnpat avatar josefnpat commented on May 1, 2024

If you don't want to overwrite your version of cmake, you can compile it just for Craft:

git clone https://github.com/fogleman/Craft.git && cd Craft
wget http://www.cmake.org/files/v2.8/cmake-2.8.12.1.tar.gz
tar xvf cmake-2.8.12.1.tar.gz
cd cmake-2.8.12.1
cmake . && make
cd ..
cmake-2.8.12.1/bin/cmake .
make
./craft

This works for Ubuntu 12.04 LTS 32 bit

from craft.

mwarning avatar mwarning commented on May 1, 2024

Debian 7.2 and cmake 2.8.9 - same issue. This fixed the problem for me:

wget http://raw.github.com/Kitware/CMake/master/Modules/FindGLEW.cmake
sudo cp FindGLEW.cmake /usr/share/cmake-2.8/Modules/

from craft.

masterzu avatar masterzu commented on May 1, 2024

@mwarning yes indeed.
But isn't it better to change the source then force ubuntu/debian users to change their system configuration ?

if yes, add FindGLEW.cmake in the source tree (I dont know how to do that, not a cmake wizard). if not, change CMakeLists.txt with cmake_minimum_required(VERSION 2.8.10)

from craft.

mwarning avatar mwarning commented on May 1, 2024

@masterzu true; this is just a convenient fix that I like to share

from craft.

supreethkrishnarao avatar supreethkrishnarao commented on May 1, 2024

@mwarning, the link you suggested ( http://raw.github.com/Kitware/CMake/master/Modules/FindGLEW.cmake) did not solve the issue for me.. I'm using Ubuntu 12.04 LTS.. That could be a reason..

Instead, the following link solved it-
http://jasonjuang.blogspot.com/2013/10/adding-findglewcmake-to-cmake-in-ubuntu.html

Alternatively, FindGLEW.cmake (exactly the same given in the above blog) can be found in the following link:
https://code.google.com/p/nvidia-texture-tools/source/browse/trunk/cmake/FindGLEW.cmake?r=96

Once you download the file, you just have to add it to your cmake as mwarning said-

  sudo cp FindGLEW.cmake /usr/share/cmake-2.8/Modules/

from craft.

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.