Advertising (This ad goes away for registered users. You can Login or Register)

Lamecraft source compilation error! HELP

jingy2859
Posts: 71
Joined: Sat May 05, 2012 12:16 pm

Re: Lamecraft source compilation error! HELP

Post by jingy2859 » Sat Feb 16, 2013 2:42 pm

By saying old you mean which version?

EDIT: Compiling another version of Lamecraft gives same result.
Advertising
Last edited by jingy2859 on Sat Feb 16, 2013 2:43 pm, edited 1 time in total.

jingy2859
Posts: 71
Joined: Sat May 05, 2012 12:16 pm

Re: Lamecraft source compilation error! HELP

Post by jingy2859 » Sat Feb 16, 2013 2:42 pm

I know Lua very good.
Advertising

michal5575
Posts: 231
Joined: Thu Aug 02, 2012 1:53 pm
Contact:

Re: Lamecraft source compilation error! HELP

Post by michal5575 » Sat Feb 16, 2013 2:44 pm

jingy2859 wrote:By saying old you mean which version?
try 0.10.0

User avatar
Xian Nox
Retired Mod
Posts: 2749
Joined: Fri Nov 05, 2010 5:27 pm
Location: Over the hills and far away

Re: Lamecraft source compilation error! HELP

Post by Xian Nox » Sat Feb 16, 2013 2:44 pm

jingy2859 wrote:I know Lua very good.
Lua is irrelevant.

jingy2859
Posts: 71
Joined: Sat May 05, 2012 12:16 pm

Re: Lamecraft source compilation error! HELP

Post by jingy2859 » Sat Feb 16, 2013 2:54 pm

Error with older version of PSPSdk:

Code: Select all

C:\Users\PC\Desktop\Lamecraft r49 source - Copy>PATH=c:\pspsdk\bin;C:\Users\PC\D
esktop\Lamecraft r49 source - Copy;

C:\Users\PC\Desktop\Lamecraft r49 source - Copy>make clean
make -f MakefileGame clean
make[1]: Entering directory `C:/Users/PC/Desktop/Lamecraft r49 source - Copy'
c:/pspsdk/bin/rm -f Tutorial1.prx Tutorial1.elf source/Aurora/Math/MathLib.o sou
rce/Aurora/Math/Matrix3.o source/Aurora/Math/Matrix4.o source/Aurora/Math/Quater
nion.o source/Aurora/Math/BoundingBox.o source/Aurora/Math/BoundingSphere.o sour
ce/Aurora/Math/Plane.o source/Aurora/Math/Ray.o source/Aurora/Math/Frustum.o sou
rce/Aurora/Math/Polygon.o source/Aurora/Graphics/common.o source/Aurora/Graphics
/vfram.o source/Aurora/Graphics/vram.o source/Aurora/Graphics/RenderManager.o so
urce/Aurora/Graphics/TextureManager.o source/Aurora/Graphics/Camera.o source/Aur
ora/Graphics/Sprite.o source/Aurora/Graphics/Models/ObjModel.o source/Aurora/Gra
phics/Effects/SkyLight.o source/Aurora/Graphics/Effects/SkyDome.o source/Aurora/
Graphics/Models/ObjModel.o source/Aurora/Graphics/intraFont/libccc.o source/Auro
ra/Graphics/intraFont/intraFont.o source/Aurora/Utils/Logger.o source/Aurora/Uti
ls/Timer.o source/Aurora/Utils/StateManager.o source/Aurora/Utils/Types.o source
/Aurora/System/SystemManager.o source/Aurora/System/NetworkManager.o source/Auro
ra/System/Mutex.o source/Aurora/System/Thread.o LameCraft/BaseBlock.o LameCraft/
Blocks.o LameCraft/SimpleMeshChunk2.o LameCraft/CraftWorld2.o LameCraft/StateMen
u.o LameCraft/StateOptions.o LameCraft/StatePlay.o LameCraft/LoadingScreen.o Lam
eCraft/SplashScreen.o LameCraft/InputHelper.o LameCraft/TextureHelper.o LameCraf
t/SoundManager.o LameCraft/WorldGenerator.o LameCraft/sound_utils/vfsFile.o Lame
Craft/sound_utils/VirtualFile.o LameCraft/sound_utils/audio.o LameCraft/sound_ut
ils/bgm.o LameCraft/sound_utils/media.o LameCraft/sound_utils/mod.o Lamecraft.o
PARAM.SFO EBOOT.PBP EBOOT.PBP
make[1]: Leaving directory `C:/Users/PC/Desktop/Lamecraft r49 source - Copy'

C:\Users\PC\Desktop\Lamecraft r49 source - Copy>make
make -f MakefileGame all
make[1]: Entering directory `C:/Users/PC/Desktop/Lamecraft r49 source - Copy'
psp-g++ -I/include -I./include -I./source -I./3libs -I./3libs/pthreads-emb-1.0/p
latform/psp -I. -Ic:/pspsdk/psp/sdk/include -O3 -G0 -Wall -mpreferred-stack-boun
dary=4  -I/include -I./include -I./source -I./3libs -I./3libs/pthreads-emb-1.0/p
latform/psp -I. -Ic:/pspsdk/psp/sdk/include -O3 -G0 -Wall -mpreferred-stack-boun
dary=4  -fno-exceptions -fno-rtti -D_PSP_FW_VERSION=371   -c -o source/Aurora/Ma
th/MathLib.o source/Aurora/Math/MathLib.cpp
In file included from source/Aurora/Math/MathLib.cpp:1:
./include/Aurora/Math/MathLib.h:21: error: template with C linkage
./include/Aurora/Math/MathLib.h:70: error: template with C linkage
./include/Aurora/Math/MathLib.h:16: error: previous declaration of 'const float
Aurora::Math::Math::HALF_PI' with 'C++' linkage
source/Aurora/Math/MathLib.cpp:9: error: conflicts with new declaration with 'C'
 linkage
./include/Aurora/Math/MathLib.h:17: error: previous declaration of 'const float
Aurora::Math::Math::QUARTER_PI' with 'C++' linkage
source/Aurora/Math/MathLib.cpp:10: error: conflicts with new declaration with 'C
' linkage
./include/Aurora/Math/MathLib.h:18: error: previous declaration of 'const float
Aurora::Math::Math::TWO_PI' with 'C++' linkage
source/Aurora/Math/MathLib.cpp:11: error: conflicts with new declaration with 'C
' linkage
./include/Aurora/Math/MathLib.h:19: error: previous declaration of 'const float
Aurora::Math::Math::EPSILON' with 'C++' linkage
source/Aurora/Math/MathLib.cpp:12: error: conflicts with new declaration with 'C
' linkage
source/Aurora/Math/MathLib.cpp:24: error: expected `}' at end of input
make[1]: *** [source/Aurora/Math/MathLib.o] Error 1
make[1]: Leaving directory `C:/Users/PC/Desktop/Lamecraft r49 source - Copy'
make: *** [build_game] Error 2

C:\Users\PC\Desktop\Lamecraft r49 source - Copy>pause
Last edited by Xian Nox on Sun Feb 17, 2013 12:28 pm, edited 1 time in total.
Reason: Added code tags.

jingy2859
Posts: 71
Joined: Sat May 05, 2012 12:16 pm

Re: Lamecraft source compilation error! HELP

Post by jingy2859 » Sat Feb 16, 2013 3:03 pm

I really really reallllllyyy want to mod Lamecraft but I can't because of this error! I beg someone out there to help me please!!!

User avatar
diddover
Posts: 156
Joined: Fri Feb 24, 2012 8:40 pm

Re: Lamecraft source compilation error! HELP

Post by diddover » Sat Feb 16, 2013 3:48 pm

*sigh*

source/Aurora/Math/MathLib.cpp:24: error: expected `}' at end of input
make[1]: *** [source/Aurora/Math/MathLib.o] Error 1


Read it. Looks like there is a '}' missing in mathlib.cpp on line 24.
Camxpspx123 wrote:Delete System 32 :D
Lol you troll, btw jingo, don't do that, you'lle frick up your pc.

jingy2859
Posts: 71
Joined: Sat May 05, 2012 12:16 pm

Re: Lamecraft source compilation error! HELP

Post by jingy2859 » Sat Feb 16, 2013 4:40 pm

No it's not, I checked the file and the } isn't missing.

User avatar
Xian Nox
Retired Mod
Posts: 2749
Joined: Fri Nov 05, 2010 5:27 pm
Location: Over the hills and far away

Re: Lamecraft source compilation error! HELP

Post by Xian Nox » Sat Feb 16, 2013 4:49 pm

It's because of the errors before that.

michal5575
Posts: 231
Joined: Thu Aug 02, 2012 1:53 pm
Contact:

Re: Lamecraft source compilation error! HELP

Post by michal5575 » Sat Feb 16, 2013 5:20 pm

jingy2859 wrote:No it's not, I checked the file and the } isn't missing.
have you got unpacked archives in 3libs(folder of lamecraft source code).
Edit: have you tested it?

Post Reply

Return to “Lamecraft”