Compilation fails under Fedora 15

Dr McKay
New member
 
Posts: 1
Joined: Tue May 31, 2011 16:27

Compilation fails under Fedora 15

by Dr McKay » Tue May 31, 2011 16:36

Hello!
I've been trying to compile Minetest under Fedora 15 (64 bit). CMake runs just fine:

Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/lib64/ccache/gcc
-- Check for working C compiler: /usr/lib64/ccache/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/lib64/ccache/c++
-- Check for working CXX compiler: /usr/lib64/ccache/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- IRRLICHT_SOURCE_DIR =
-- IRRLICHT_INCLUDE_DIR = /usr/include/irrlicht
-- IRRLICHT_LIBRARY = /usr/lib64/libIrrlicht.so
-- Found IRRLICHT: /usr/lib64/libIrrlicht.so
-- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so
-- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/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
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Found X11: /usr/lib64/libX11.so
-- Found OpenGL: /usr/lib64/libGL.so
-- Found JPEG: /usr/lib64/libjpeg.so
-- Found BZip2: /usr/lib64/libbz2.so
-- Looking for BZ2_bzCompressInit in /usr/lib64/libbz2.so
-- Looking for BZ2_bzCompressInit in /usr/lib64/libbz2.so - found
-- Found ZLIB: /usr/include (found version "1.2.5")
-- Found PNG: /usr/lib64/libpng.so
-- Configuring done
-- Generating done
-- Build files have been written to: /home/maciej/Programowanie/Sources/minetest


However, compilation fails. GCC seems to comply about u64 symbol. I've tried to replace u64 with irr::u64, but that produces even more errors. Here are the logs of make: https://gist.github.com/1000825 (it's too long and I don't want to flood the topic). "Błąd" means "Error".

This is a log of compilation of trunk (just cloned from bitbucket), but it also happens with each of versions from download page.
 

mstoykov
Member
 
Posts: 22
Joined: Mon Jun 13, 2011 20:11

by mstoykov » Mon Jun 13, 2011 20:12

in src/common_irrlicht.h
remove the last typedef (the one for u64)
 

mstoykov
Member
 
Posts: 22
Joined: Mon Jun 13, 2011 20:11

by mstoykov » Sun Jun 19, 2011 18:35

I'm interested if this is done cause Visual studio doesnt see it or ? cause you should not define a type twice after all it's defined in irrlicht already ? or am I wrong somewhere ?
 


Return to Minetest Problems

Who is online

Users browsing this forum: No registered users and 48 guests

cron