Excuse me for the stupid question, but I'm new and not familiar with all the minutia of software development.
Lastly the compiler error. Actually, there have already been a couple that have been really minor things that I've been able to fix myself, but this is a linker error and I don't know much about those.
Arch Linux i686
GCC version 4.6.2
Glib version 2.15-3
- Code: Select all
gcc -m32 ../output//AboutDlg.o ../output//ActorProperty.o ../output//ActorText.o ../output//AddActionDialog.o ../output//AddActor.o ../output//AddPathDialog.o ../output//AddSequenceDialog.o ../output//BaseAction.o ../output//CDataFile.o ../output//ChangeAnimation.o ../output//ChangeAnimationDirection.o ../output//ChangeCursor.o ../output//ChangeParent.o ../output//ChangePath.o ../output//ColorPicker.o ../output//ConditionalAction.o ../output//Config.o ../output//CreateActor.o ../output//CreateTimer.o ../output//CreateVar.o ../output//DestroyActor.o ../output//DestroyTimer.o ../output//DlgActivationEvent.o ../output//DlgAnimationFinish.o ../output//DlgCollision.o ../output//DlgGeneralEvent.o ../output//DlgMouseButton.o ../output//DlgPocketPCKey.o ../output//DlgTimer.o ../output//EditSequenceDialog.o ../output//EnableDisable.o ../output//EventControl.o ../output//EventKeyDown.o ../output//ExportGame.o ../output//ExpressionEditor.o ../output//GameSettings.o ../output//GridSettings.o ../output//FunctionPanel.o ../output//jdiff.o ../output//LoadSave.o ../output//LoadSaveGame.o ../output//LoadSaveScript.o ../output//main.o ../output//MainPanel.o ../output//MoveTo.o ../output//NewTimer.o ../output//PathDialog.o ../output//PhysicalBounce.o ../output//PlaySong.o ../output//ScriptGlobals.o ../output//SDL_ttf.o ../output//SetTile.o ../output//SetTileSingle.o ../output//SetZDepth.o ../output//ToAnteriorPosition.o ../output//ToMousePosition.o ../output//Transparency.o ../output//Tutorial.o ../output//TutorialControlPanel.o ../output//TutorialPaint.o ../output//TutorialTextEditor.o ../output//TutorialTextPanel.o ../output//UndoControl.o ../output//VariableEditor.o ../output//WaitForFrame.o -o "../output/gameEditorLinux" ../output/gameEngine/gameEngine.a ../output/SDL_mixer.a ../output/eic/eiclib.a ../output/engine/engine.a ../output/mikmod.a ../output/native_midi.a ../output/SDL_image.a ../output/jpeg.a ../output/libpng.a ../output/zlib.a ../output/freetype.a ../output/sdl.a -lstdc++ -lpthread -lX11 -lXext -I"../SDL/SDL_ttf/VisualC/FreeType/include" -I"../SDL/SDL_mixer" -I"../SDL/SDL/include" -I"../SDL/SDL_image" -I"../gameEngine" -I"../kyra" -I"../gameEngine/EiC/src" -D__linux -Dlinux -D__linux__ -DLINUX_I386 -DNO_STDIO_REDIRECT -DNO_LONG_LONG -DNO_DIRENT -DNO_FCNTL -DNO_STAT -DNO_UNISTD -DNO_TERMIOS -DNO_PIPE -DNO_POSIX -DNO_LONGLONG -DNO_HISTORY -s -Os -DGAME_EDITOR_PROFESSIONAL
/usr/bin/ld: ../output/gameEngine/gameEngine.a(Action.o): undefined reference to symbol 'atan2@@GLIBC_2.0'
/usr/bin/ld: note: 'atan2@@GLIBC_2.0' is defined in DSO /lib/libm.so.6 so try adding it to the linker command line
/lib/libm.so.6: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make[1]: *** ["../output/gameEditorLinux"] Error 1
make[1]: Leaving directory `/home/aaron/Game Editor/gameEditor'
make: *** [all] Error 2
I don't know all the details about how names are mangled during compilation, but atan2() is a function in math.h. atan2() appears a lot throughout the source, but perhaps it has something to do with /gameEngine/EiC/include/math.h? I'm not sure why you'd need to package std libraries with GE. :/