Comments (12)
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.
Same issue here, Kubuntu 12.04. Thanks!
from craft.
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.
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.
see #22 : GLEW is include in cmake from the 2.8.10 version.
from craft.
@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.
Update: I am now able to compile. Instructions below.
Note: I had to install doxygen as well: sudo apt-get install doxygen
- Go to this link http://www.cmake.org/cmake/resources/software.html
- Download the latest version of cmake: http://www.cmake.org/files/v2.8/cmake-2.8.12.1.tar.gz
- gzip -d ~/Download/cmake-2.8.12.1.tar.gz
- tar xvf ~/Download/cmake-2.8.12.1.tar
- cd ~/Download/cmake-2.8.12.1
- cmake .
- make
- sudo su
- make install
- which cmake
- cmake -version # should be greater then 2.8.7
- cd
- cmake .
- make
- chmod 755 craft
- ./craft
from craft.
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.
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.
@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.
@masterzu true; this is just a convenient fix that I like to share
from craft.
@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)
- Port to browser using Webassembly HOT 4
- well it seems there is a ad ware trojan in the files HOT 6
- new structure added without announcement?! HOT 1
- Crash report cant fix HOT 1
- Seeding the world from sqlite HOT 1
- Fix Minecraft GLFW Error 65542 WGL The driver does not appear to support opengl HOT 2
- the builder.py and the server.py and the world.py giving error HOT 1
- How to add new blocks ? HOT 3
- client.c: use static for "char buffer[1024];" HOT 1
- How to run on retroarch xbox?
- Build error win10 HOT 1
- Found a possible security concern
- when i play on my server in chat say smth HOT 2
- Build and install for Ubuntu HOT 1
- "cmake ." results in "fatal error LNK1104: can't open file 'kernel32.lib'" HOT 1
- Potential memory leak. HOT 3
- Server
- thank you for releasing the code
- Can't build HOT 1
- An app on the play store seems to be using this for their Minecraft clone.
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 craft.