compiling the devel version on Linux
Posted: Tue Oct 13, 2009 10:28 am
Hello,
I'm trying to build the latest snapshot found in http://love2d.org/builds/ on my archlinux system.
The configure went fine, but when compiling it with make, I get:
But the inclusion is working if I use " instead of < :
I'm using gcc version 4.4.1
then, after correcting this, it stopped again at:
#include "audio/wrap_Audio.h"
it should be :
then in audio.h, there are new errors:
it should be
etc.
since it's automatically generated from the configure, why are there so many errors?
I'm trying to build the latest snapshot found in http://love2d.org/builds/ on my archlinux system.
The configure went fine, but when compiling it with make, I get:
It seems there is a pb with the inclusion. The files src/common/config.h does exist but the way it's declared is not correct. I don't have any problem compiling all sort of source on those computers (I've tried from several computers): Entering directory `/tmp/love-20091011-ae1750d78436/src'
/.../
love.cpp:22:27: error: common/config.h: No such file or directory
love.cpp:23:28: error: common/version.h: No such file or directory
love.cpp:24:28: error: common/runtime.h: No such file or directory
love.cpp:25:31: error: common/MemoryData.h: No such file or directory
love.cpp:73: error: expected constructor, destructor, or type conversion before 'int'
But the inclusion is working if I use " instead of < :
Code: Select all
#include "common/config.h"
#include "common/version.h"
#include "common/runtime.h"
#include "common/MemoryData.h"
then, after correcting this, it stopped again at:
#include "audio/wrap_Audio.h"
it should be :
Code: Select all
#include "modules/audio/wrap_Audio.h"
#include "modules/event/sdl/wrap_Event.h"
#include "modules/filesystem/physfs/wrap_Filesystem.h"
#include "modules/graphics/opengl/wrap_Graphics.h"
#include "modules/image/wrap_Image.h"
#include "modules/joystick/sdl/wrap_Joystick.h"
#include "modules/keyboard/sdl/wrap_Keyboard.h"
#include "modules/mouse/sdl/wrap_Mouse.h"
#include "modules/physics/box2d/wrap_Physics.h"
#include "modules/sound/wrap_Sound.h"
#include "modules/timer/sdl/wrap_Timer.h"
Code: Select all
#include <common/Module.h>
#include "Source.h"
#include "Sound.h"
#include "Music.h"
Code: Select all
#include "common/Module.h"
#include "Source.h"
#include "Sound.h"
#include "Music.h"
since it's automatically generated from the configure, why are there so many errors?