G
Googly
Guest
Hello, I have been watching from the shadows for years, you might not know me but I know you!
Sorry if this is the wrong place to ask this, I read all the important read this first messages, and sourceforge's bug submitting feature scared me off.
Sorry if I ask any totally noobish type stuff about compiling, I have a hard time getting my own code to compile :roll:
I downloaded the source code and tried to compile it, but to no avail!
I understand that the sourcecode is quite hectic and dynamic right now so a failed compile was understandable
I managed to bypass some errors by haxoring makefiles and stuff like so:
Code: [Select]
But after all that I get an endless stream of undefined references (my worst nightmare) like so (excerpt): :-o
Code: [Select]
My automake and autoconf are of the required versions!
thanks for reading!
Sorry if this is the wrong place to ask this, I read all the important read this first messages, and sourceforge's bug submitting feature scared me off.
Sorry if I ask any totally noobish type stuff about compiling, I have a hard time getting my own code to compile :roll:
I downloaded the source code and tried to compile it, but to no avail!
I understand that the sourcecode is quite hectic and dynamic right now so a failed compile was understandable
I managed to bypass some errors by haxoring makefiles and stuff like so:
Code: [Select]
Code:
./bootstrapconfigure.ac:30: error: AC_PROG_CC cannot be called after AM_PROG_CC_C_Osuccess after commenting out "AM_PROG_CC_C_O"./configureconfigure: error: ODE is requiredsuccess after commenting out "QGEARS_CHECK_ODE([], [AC_MSG_ERROR([ODE is required])])"from configure.acmakedisplay/../TypeDefine.h:29: error: conflicting declaration 'typedef long unsigned int uint32_t'/usr/include/stdint.h:52: error: 'uint32_t' has a previous declaration as 'typedef unsigned int uint32_t'display/../TypeDefine.h:33: error: conflicting declaration 'typedef long int int32_t'/usr/include/sys/types.h:197: error: 'int32_t' has a previous declaration as 'typedef int int32_t'success after changing TypeDefine.h:16 from #ifndef HAVE_INTTYPES_H to #ifdef HAVE_INTTYPES_Hmake[3]: *** No rule to make target `module/Module.cpp', needed by `module/libcommon_la-Module.lo'. Stop.make[3]: *** No rule to make target `field/UnitManager.cpp', needed by `field/q_gears_ffvii-UnitManager.o'. Stop.make[3]: *** No rule to make target `field/script/Entity.cpp', needed by `field/script/q_gears_ffvii-Entity.o'. Stop.make[3]: *** No rule to make target `field/script/Script.cpp', needed by `field/script/q_gears_ffvii-Script.o'. Stop.make[3]: *** No rule to make target `field/script/ScriptManager.cpp', needed by `field/script/q_gears_ffvii-ScriptManager.o'. Stop.create empty dummy files -> successg++ -DHAVE_CONFIG_H -I. -I../.. -I ../../src -I ../../src -I/usr/include/libxml2 @ODE_CFLAGS@ -g -O2 -Wall -W -fpermissive -pipe -MT field/q_gears_ffvii-Math.o -MD -MP -MF field/.deps/q_gears_ffvii-Math.Tpo -c -o field/q_gears_ffvii-Math.o `test -f 'field/Math.cpp' || echo './'`field/Math.cppg++: @ODE_CFLAGS@: No such file or directorysuccess after removing @ODE_CFLAGS@ and @ODE_LIBS@ from src/ffvii/Makefile.am
Code: [Select]
Code:
...[screentest/GuiTest.cpp:272: undefined reference to `DataBase::GetSizeOfArmorDescriptions() const'screentest/GuiTest.cpp:355: undefined reference to `DATABASE'screentest/GuiTest.cpp:355: undefined reference to `DataBase::GetSizeOfItemNames() const'screentest/GuiTest.cpp:361: undefined reference to `DATABASE'screentest/GuiTest.cpp:361: undefined reference to `DataBase::GetItemName(int) const'screentest/GuiTest.cpp:356: undefined reference to `DATABASE'screentest/GuiTest.cpp:356: undefined reference to `DataBase::GetSizeOfItemNames() const'screentest/GuiTest.cpp:327: undefined reference to `DATABASE'screentest/GuiTest.cpp:327: undefined reference to `DataBase::GetSizeOfCommandNames() const'screentest/GuiTest.cpp:333: undefined reference to `DATABASE'screentest/GuiTest.cpp:333: undefined reference to `DataBase::GetCommandName(int) const'screentest/GuiTest.cpp:328: undefined reference to `DATABASE'screentest/GuiTest.cpp:328: undefined reference to `DataBase::GetSizeOfCommandNames() const'screentest/GuiTest.cpp:411: undefined reference to `DATABASE'screentest/GuiTest.cpp:411: undefined reference to `DataBase::GetSizeOfMateriaNames() const'screentest/GuiTest.cpp:417: undefined reference to `DATABASE'screentest/GuiTest.cpp:417: undefined reference to `DataBase::GetMateriaName(int) const'screentest/GuiTest.cpp:412: undefined reference to `DATABASE'screentest/GuiTest.cpp:412: undefined reference to `DataBase::GetSizeOfMateriaNames() const'screentest/GuiTest.cpp:383: undefined reference to `DATABASE'screentest/GuiTest.cpp:383: undefined reference to `DataBase::GetSizeOfArmorNames() const'screentest/GuiTest.cpp:389: undefined reference to `DATABASE'screentest/GuiTest.cpp:389: undefined reference to `DataBase::GetArmorName(int) const'screentest/GuiTest.cpp:384: undefined reference to `DATABASE'screentest/GuiTest.cpp:384: undefined reference to `DataBase::GetSizeOfArmorNames() const'screentest/GuiTest.cpp:439: undefined reference to `DATABASE'screentest/GuiTest.cpp:439: undefined reference to `DataBase::GetSizeOfBattleTexts() const'screentest/GuiTest.cpp:445: undefined reference to `DATABASE'screentest/GuiTest.cpp:445: undefined reference to `DataBase::GetBattleText(int) const'screentest/GuiTest.cpp:440: undefined reference to `DATABASE'screentest/GuiTest.cpp:440: undefined reference to `DataBase::GetSizeOfBattleTexts() const'screentest/q_gears_ffvii-GuiTest.o: In function `~GuiTest':screentest/GuiTest.cpp:22: undefined reference to `Actor::~Actor()'screentest/GuiTest.cpp:22: undefined reference to `Actor::~Actor()'screentest/q_gears_ffvii-GuiTest.o:(.rodata._ZTI7GuiTest[typeinfo for GuiTest]+0x8): undefined reference to `typeinfo for Actor'worldmap/q_gears_ffvii-WorldMapModule.o: In function `~WorldMapModule':worldmap/WorldMapModule.cpp:27: undefined reference to `Actor::~Actor()'worldmap/WorldMapModule.cpp:27: undefined reference to `Actor::~Actor()'worldmap/WorldMapModule.cpp:27: undefined reference to `Actor::~Actor()'worldmap/WorldMapModule.cpp:27: undefined reference to `Actor::~Actor()'worldmap/q_gears_ffvii-WorldMapModule.o: In function `WorldMapModule':worldmap/WorldMapModule.cpp:18: undefined reference to `Actor::Actor()'worldmap/WorldMapModule.cpp:21: undefined reference to `Actor::~Actor()'worldmap/WorldMapModule.cpp:18: undefined reference to `Actor::Actor()'worldmap/WorldMapModule.cpp:21: undefined reference to `Actor::~Actor()'worldmap/q_gears_ffvii-WorldMapModule.o: In function `~WorldMapModule':worldmap/WorldMapModule.cpp:27: undefined reference to `Actor::~Actor()'worldmap/WorldMapModule.cpp:27: undefined reference to `Actor::~Actor()'worldmap/q_gears_ffvii-WorldMapModule.o:(.rodata._ZTI14WorldMapModule[typeinfo for WorldMapModule]+0x8): undefined reference to `typeinfo for Actor'battle/q_gears_ffvii-BattleModule.o: In function `~BattleModule':battle/BattleModule.cpp:24: undefined reference to `Actor::~Actor()'battle/q_gears_ffvii-BattleModule.o: In function `BattleModule':battle/BattleModule.cpp:15: undefined reference to `Actor::Actor()'battle/BattleModule.cpp:15: undefined reference to `Actor::Actor()'battle/q_gears_ffvii-BattleModule.o: In function `~BattleModule':battle/BattleModule.cpp:24: undefined reference to `Actor::~Actor()'battle/BattleModule.cpp:24: undefined reference to `Actor::~Actor()'...
thanks for reading!