Hi!
Hier ist der Code:
INLINE
#include
ENDINLINE
SHOWSCREEN
KEYWAITUnd das war die Antwort von GLBasic:
_______________________________________
*** Configuration: WIN32 ***
precompiling...
GPC - GLBasic Precompiler V.2006.137 - 3D, NET
compiling...
ode2.gbas (196 B )
Wordcount:2 commands
compiling:
C:\Programme\GLBasic\Compiler\platform\gpc_temp0.cpp:12:28: ode\collision.h: No such file or directory
linking:
gpc_temp0.o:gpc_temp0.cpp:(.text+0x1e): undefined reference to `__GLBASIC__::shots'
gpc_temp0.o:gpc_temp0.cpp:(.text+0x67): undefined reference to `__GLBASIC__::feind'
gpc_temp0.o:gpc_temp0.cpp:(.text+0xb6): undefined reference to `__GLBASIC__::shots'
gpc_temp0.o:gpc_temp0.cpp:(.text+0xdc): undefined reference to `__GLBASIC__::k'
gpc_temp0.o:gpc_temp0.cpp:(.text+0xf5): undefined reference to `__GLBASIC__::feind'
gpc_temp0.o:gpc_temp0.cpp:(.text+0x114): undefined reference to `__GLBASIC__::l'
gpc_temp0.o:gpc_temp0.cpp:(.text+0x132): undefined reference to `__GLBASIC__::shots'
gpc_temp0.o:gpc_temp0.cpp:(.text+0x16b): undefined reference to `__GLBASIC__::feind'
gpc_temp0.o:gpc_temp0.cpp:(.text+0x1b7): undefined reference to `__GLBASIC__::shots'
gpc_temp0.o:gpc_temp0.cpp:(.text+0x1f0): undefined reference to `__GLBASIC__::feind'
gpc_temp0.o:gpc_temp0.cpp:(.text+0x241): undefined reference to `__GLBASIC__::shots'
gpc_temp0.o:gpc_temp0.cpp:(.text+0x27d): undefined reference to `__GLBASIC__::feind'
gpc_temp0.o:gpc_temp0.cpp:(.text+0x2d0): undefined reference to `__GLBASIC__::feind'
gpc_temp0.o:gpc_temp0.cpp:(.text+0x310): undefined reference to `__GLBASIC__::feind'
gpc_temp0.o:gpc_temp0.cpp:(.text+0x366): undefined reference to `__GLBASIC__::feind'
gpc_temp0.o:gpc_temp0.cpp:(.text+0x38c): undefined reference to `__GLBASIC__::feind'
gpc_temp0.o:gpc_temp0.cpp:(.text+0x3b0): more undefined references to `__GLBASIC__::feind' follow
gpc_temp0.o:gpc_temp0.cpp:(.text+0x424): undefined reference to `__GLBASIC__::shots'
gpc_temp0.o:gpc_temp0.cpp:(.text+0x44a): undefined reference to `__GLBASIC__::shots'
gpc_temp0.o:gpc_temp0.cpp:(.text+0x46e): undefined reference to `__GLBASIC__::shots'
gpc_temp0.o:gpc_temp0.cpp:(.text+0x47b): undefined reference to `__GLBASIC__::shots'
gpc_temp0.o:gpc_temp0.cpp:(.text+0x488): undefined reference to `__GLBASIC__::shots'
gpc_temp0.o:gpc_temp0.cpp:(.text+0x495): more undefined references to `__GLBASIC__::shots' follow
gpc_temp0.o:gpc_temp0.cpp:(.text+0x862): undefined reference to `__GLBASIC__::feind'
gpc_temp0.o:gpc_temp0.cpp:(.text+0x86e): undefined reference to `__GLBASIC__::feind'
gpc_temp0.o:gpc_temp0.cpp:(.text+0x8a3): undefined reference to `__GLBASIC__::feind'
gpc_temp0.o:gpc_temp0.cpp:(.text+0x8d9): undefined reference to `__GLBASIC__::feind'
gpc_temp0.o:gpc_temp0.cpp:(.text+0x90b): undefined reference to `__GLBASIC__::l'
gpc_temp0.o:gpc_temp0.cpp:(.text+0x91a): undefined reference to `__GLBASIC__::feind'
gpc_temp0.o:gpc_temp0.cpp:(.text+0x92c): undefined reference to `__GLBASIC__::l'
gpc_temp0.o:gpc_temp0.cpp:(.text+0x96f): undefined reference to `__GLBASIC__::feind'
gpc_temp0.o:gpc_temp0.cpp:(.text+0x986): undefined reference to `__GLBASIC__::l'
gpc_temp0.o:gpc_temp0.cpp:(.text+0x9b0): undefined reference to `__GLBASIC__::feind'
gpc_temp0.o:gpc_temp0.cpp:(.text+0x9d7): undefined reference to `__GLBASIC__::l'
gpc_temp0.o:gpc_temp0.cpp:(.text+0x9f6): undefined reference to `__GLBASIC__::feind'
gpc_temp0.o:gpc_temp0.cpp:(.text+0xa1c): undefined reference to `__GLBASIC__::feind'
gpc_temp0.o:gpc_temp0.cpp:(.text+0xa47): undefined reference to `__GLBASIC__::feind'
gpc_temp0.o:gpc_temp0.cpp:(.text+0xa54): undefined reference to `__GLBASIC__::feind'
gpc_temp0.o:gpc_temp0.cpp:(.text+0xa61): undefined reference to `__GLBASIC__::feind'
gpc_temp0.o:gpc_temp0.cpp:(.text+0xa6e): more undefined references to `__GLBASIC__::feind' follow
gpc_temp0.o:gpc_temp0.cpp:(.text+0xa99): undefined reference to `__GLBASIC__::l'
gpc_temp0.o:gpc_temp0.cpp:(.text+0xaa9): undefined reference to `__GLBASIC__::l'
gpc_temp0.o:gpc_temp0.cpp:(.text+0xb04): undefined reference to `__GLBASIC__::feind'
gpc_temp0.o:gpc_temp0.cpp:(.text+0xb3d): undefined reference to `__GLBASIC__::feind'
gpc_temp0.o:gpc_temp0.cpp:(.text+0xb85): undefined reference to `__GLBASIC__::feind'
gpc_temp0.o:gpc_temp0.cpp:(.text+0xbcc): undefined reference to `__GLBASIC__::lv1_sk1'
gpc_temp0.o:gpc_temp0.cpp:(.text+0xbf7): undefined reference to `__GLBASIC__::lv1_sk2'
gpc_temp0.o:gpc_temp0.cpp:(.text+0xc12): undefined reference to `__GLBASIC__::s'
gpc_temp0.o:gpc_temp0.cpp:(.text+0xc26): undefined reference to `__GLBASIC__::s'
gpc_temp0.o:gpc_temp0.cpp:(.text+0xc37): undefined reference to `__GLBASIC__::feind'
gpc_temp0.o:gpc_temp0.cpp:(.text+0xc79): undefined reference to `__GLBASIC__::feind'
gpc_temp0.o:gpc_temp0.cpp:(.text+0xcb0): undefined reference to `__GLBASIC__::feind'
gpc_temp0.o:gpc_temp0.cpp:(.text+0xcef): undefined reference to `__GLBASIC__::feind'
gpc_temp0.o:gpc_temp0.cpp:(.text+0xd0c): undefined reference to `__GLBASIC__::s'
gpc_temp0.o:gpc_temp0.cpp:(.text+0xd1a): undefined reference to `__GLBASIC__::s'
gpc_temp0.o:gpc_temp0.cpp:(.text+0xd31): undefined reference to `__GLBASIC__::lv1_sk2'
gpc_temp0.o:gpc_temp0.cpp:(.text+0xd37): undefined reference to `__GLBASIC__::lv1_sk2'
gpc_temp0.o:gpc_temp0.cpp:(.text+0xd4c): undefined reference to `__GLBASIC__::l'
gpc_temp0.o:gpc_temp0.cpp:(.text+0xd52): undefined reference to `__GLBASIC__::l'
gpc_temp0.o:gpc_temp0.cpp:(.text+0xd63): undefined reference to `__GLBASIC__::feind'
gpc_temp0.o:gpc_temp0.cpp:(.text+0xd7e): undefined reference to `__GLBASIC__::l'
gpc_temp0.o:gpc_temp0.cpp:(.text+0xdbf): undefined reference to `__GLBASIC__::feind'
gpc_temp0.o:gpc_temp0.cpp:(.text+0xdd6): undefined reference to `__GLBASIC__::l'
gpc_temp0.o:gpc_temp0.cpp:(.text+0xe00): undefined reference to `__GLBASIC__::feind'
gpc_temp0.o:gpc_temp0.cpp:(.text+0xe27): undefined reference to `__GLBASIC__::l'
gpc_temp0.o:gpc_temp0.cpp:(.text+0xe46): undefined reference to `__GLBASIC__::feind'
gpc_temp0.o:gpc_temp0.cpp:(.text+0xe6c): undefined reference to `__GLBASIC__::feind'
gpc_temp0.o:gpc_temp0.cpp:(.text+0xe97): undefined reference to `__GLBASIC__::feind'
gpc_temp0.o:gpc_temp0.cpp:(.text+0xea4): undefined reference to `__GLBASIC__::feind'
gpc_temp0.o:gpc_temp0.cpp:(.text+0xeb1): undefined reference to `__GLBASIC__::feind'
gpc_temp0.o:gpc_temp0.cpp:(.text+0xebe): more undefined references to `__GLBASIC__::feind' follow
gpc_temp0.o:gpc_temp0.cpp:(.text+0xee9): undefined reference to `__GLBASIC__::l'
gpc_temp0.o:gpc_temp0.cpp:(.text+0xef5): undefined reference to `__GLBASIC__::l'
gpc_temp0.o:gpc_temp0.cpp:(.text+0xf16): undefined reference to `__GLBASIC__::lv1_sk3'
gpc_temp0.o:gpc_temp0.cpp:(.text+0xf73): undefined reference to `__GLBASIC__::feind'
gpc_temp0.o:gpc_temp0.cpp:(.text+0xfac): undefined reference to `__GLBASIC__::feind'
gpc_temp0.o:gpc_temp0.cpp:(.text+0xff4): undefined reference to `__GLBASIC__::feind'
gpc_temp0.o:gpc_temp0.cpp:(.text+0x102e): undefined reference to `__GLBASIC__::feind'
gpc_temp0.o:gpc_temp0.cpp:(.text+0x106d): undefined reference to `__GLBASIC__::feind'
gpc_temp0.o:gpc_temp0.cpp:(.text+0x10a4): more undefined references to `__GLBASIC__::feind' follow
gpc_temp0.o:gpc_temp0.cpp:(.text+0x11e4): undefined reference to `__GLBASIC__::lv1_sk3'
gpc_temp0.o:gpc_temp0.cpp:(.text+0x11ea): undefined reference to `__GLBASIC__::lv1_sk3'
gpc_temp0.o:gpc_temp0.cpp:(.text+0x1202): undefined reference to `__GLBASIC__::feind'
gpc_temp0.o:gpc_temp0.cpp:(.text+0x1241): undefined reference to `__GLBASIC__::feind'
gpc_temp0.o:gpc_temp0.cpp:(.text+0x1278): undefined reference to `__GLBASIC__::feind'
gpc_temp0.o:gpc_temp0.cpp:(.text+0x12bc): undefined reference to `__GLBASIC__::feind'
gpc_temp0.o:gpc_temp0.cpp:(.text+0x12dc): undefined reference to `__GLBASIC__::feind'
gpc_temp0.o:gpc_temp0.cpp:(.text+0x131b): more undefined references to `__GLBASIC__::feind' follow
gpc_temp0.o:gpc_temp0.cpp:(.text+0x1488): undefined reference to `__GLBASIC__::lv1_sk1'
gpc_temp0.o:gpc_temp0.cpp:(.text+0x148e): undefined reference to `__GLBASIC__::lv1_sk1'
gpc_temp0.o:gpc_temp0.cpp:(.text+0x14aa): undefined reference to `__GLBASIC__::GT'
gpc_temp0.o:gpc_temp0.cpp:(.text+0x14b0): undefined reference to `__GLBASIC__::lvl'
gpc_temp0.o:gpc_temp0.cpp:(.text+0x14c6): undefined reference to `__GLBASIC__::lvl'
gpc_temp0.o:gpc_temp0.cpp:(.text+0x14d1): undefined reference to `__GLBASIC__::lvl'
gpc_temp0.o:gpc_temp0.cpp:(.text+0x15c1): undefined reference to `__GLBASIC__::Hintergrund'
gpc_temp0.o:gpc_temp0.cpp:(.text+0x15ce): undefined reference to `__GLBASIC__::Hintergrund'
gpc_temp0.o:gpc_temp0.cpp:(.text+0x15e7): undefined reference to `__GLBASIC__::Hintergrund'
gpc_temp0.o:gpc_temp0.cpp:(.text+0x1600): undefined reference to `__GLBASIC__::Hintergrund'
gpc_temp0.o:gpc_temp0.cpp:(.text+0x1619): undefined reference to `__GLBASIC__::Hintergrund'
gpc_temp0.o:gpc_temp0.cpp:(.text+0x1791): undefined reference to `__GLBASIC__::posx'
gpc_temp0.o:gpc_temp0.cpp:(.text+0x179e): undefined reference to `__GLBASIC__::posx'
gpc_temp0.o:gpc_temp0.cpp:(.text+0x17a4): undefined reference to `__GLBASIC__::lvl'
gpc_temp0.o:gpc_temp0.cpp:(.text+0x17aa): undefined reference to `__GLBASIC__::GT'
gpc_temp0.o:gpc_temp0.cpp:(.text+0x17b0): undefined reference to `__GLBASIC__::y'
gpc_temp0.o:gpc_temp0.cpp:(.text+0x17ca): undefined reference to `__GLBASIC__::y'
gpc_temp0.o:gpc_temp0.cpp:(.text+0x17d7): undefined reference to `__GLBASIC__::y'
gpc_temp0.o:gpc_temp0.cpp:(.text+0x17dd): undefined reference to `__GLBASIC__::y'
gpc_temp0.o:gpc_temp0.cpp:(.text+0x17f1): undefined reference to `__GLBASIC__::b'
gpc_temp0.o:gpc_temp0.cpp:(.text+0x17f7): undefined reference to `__GLBASIC__::b'
gpc_temp0.o:gpc_temp0.cpp:(.text+0x1815): undefined reference to `__GLBASIC__::a'
gpc_temp0.o:gpc_temp0.cpp:(.text+0x1827): undefined reference to `__GLBASIC__::b'
gpc_temp0.o:gpc_temp0.cpp:(.text+0x1839): undefined reference to `__GLBASIC__::y'
gpc_temp0.o:gpc_temp0.cpp:(.text+0x184b): undefined reference to `__GLBASIC__::a'
gpc_temp0.o:gpc_temp0.cpp:(.text+0x185d): undefined reference to `__GLBASIC__::a'
gpc_temp0.o:gpc_temp0.cpp:(.text+0x1875): undefined reference to `__GLBASIC__::a'
gpc_temp0.o:gpc_temp0.cpp:(.text+0x187e): undefined reference to `__GLBASIC__::b'
gpc_temp0.o:gpc_temp0.cpp:(.text+0x1890): undefined reference to `__GLBASIC__::b'
gpc_temp0.o:gpc_temp0.cpp:(.text+0x189d): undefined reference to `__GLBASIC__::posx'
gpc_temp0.o:gpc_temp0.cpp:(.text+0x18d7): undefined reference to `__GLBASIC__::GT'
gpc_temp0.o:gpc_temp0.cpp:(.text+0x18dd): undefined reference to `__GLBASIC__::scht'
gpc_temp0.o:gpc_temp0.cpp:(.text+0x18ee): undefined reference to `__GLBASIC__::scht'
gpc_temp0.o:gpc_temp0.cpp:(.text+0x1906): undefined reference to `__GLBASIC__::scht'
gpc_temp0.o:gpc_temp0.cpp:(.text+0x1948): undefined reference to `__GLBASIC__::posx'
gpc_temp0.o:gpc_temp0.cpp:(.text+0x1954): undefined reference to `__GLBASIC__::posx'
gpc_temp0.o:gpc_temp0.cpp:(.text+0x1983): undefined reference to `__GLBASIC__::posx'
gpc_temp0.o:gpc_temp0.cpp:(.text+0x198f): undefined reference to `__GLBASIC__::posx'
gpc_temp0.o:gpc_temp0.cpp:(.text+0x1995): undefined reference to `__GLBASIC__::posx'
gpc_temp0.o:gpc_temp0.cpp:(.text+0x19aa): more undefined references to `__GLBASIC__::posx' follow
gpc_temp0.o:gpc_temp0.cpp:(.text+0x19f9): undefined reference to `__GLBASIC__::GT'
gpc_temp0.o:gpc_temp0.cpp:(.text+0x19ff): undefined reference to `__GLBASIC__::lvl'
gpc_temp0.o:gpc_temp0.cpp:(.text+0x1a08): undefined reference to `__GLBASIC__::lvl'
gpc_temp0.o:gpc_temp0.cpp:(.text+0x1a13): undefined reference to `__GLBASIC__::lvl'
gpc_temp0.o:gpc_temp0.cpp:(.text+0x1a69): undefined reference to `__GLBASIC__::shots'
gpc_temp0.o:gpc_temp0.cpp:(.text+0x1aa7): undefined reference to `__GLBASIC__::shots'
gpc_temp0.o:gpc_temp0.cpp:(.text+0x1b00): undefined reference to `__GLBASIC__::shots'
gpc_temp0.o:gpc_temp0.cpp:(.text+0x1b54): undefined reference to `__GLBASIC__::shots'
gpc_temp0.o:gpc_temp0.cpp:(.text+0x1b7e): undefined reference to `__GLBASIC__::shots'
gpc_temp0.o:gpc_temp0.cpp:(.text+0x1bad): more undefined references to `__GLBASIC__::shots' follow
gpc_temp0.o:gpc_temp0.cpp:(.text+0x1ef9): undefined reference to `__GLBASIC__::posx'
gpc_temp0.o:gpc_temp0.cpp:(.text+0x1f00): undefined reference to `__GLBASIC__::shots'
gpc_temp0.o:gpc_temp0.cpp:(.text+0x1f5b): undefined reference to `__GLBASIC__::shots'
gpc_temp0.o:gpc_temp0.cpp:(.text+0x1f95): undefined reference to `__GLBASIC__::shots'
gpc_temp0.o:gpc_temp0.cpp:(.text+0x1fdd): undefined reference to `__GLBASIC__::shots'
gpc_temp0.o:gpc_temp0.cpp:(.text+0x1ff5): undefined reference to `__GLBASIC__::scht'
gpc_temp0.o:gpc_temp0.cpp:(.text+0x1ffb): undefined reference to `__GLBASIC__::scht'
*** FATAL ERROR - Bitte die Compiler-Ausgabe ins Forum kopieren
_______________________________________
*** Fertig ***
Zeit: 1.5 sek
Erstellen: 0 erfolgreich, 1 fehlgeschlagenIch verstehe nicht ganz was das soll! Die ganzen Sachen stammen eigentlich von LOST REVENANT MINI aber das hatte ich weder geladen, noch sonst irgendwas gemacht. Was genau habe ich da falsch gemacht?
Anbei weiß ich nicht genau, wie ich ODE einbinden soll. Deshalb frage ich lieber, bevor ich den Rechner zum abschmieren bringe!!!
GLG
W.
Super. Er schafft es sogar die ode.h ohne Fehler zu laden.
Problem ist nur, dass Du jetzt auch noch die .c/.cpp Dateien reinbringen musst. Das ist warscheinlich zu viel Stress.
Ich würde es mit INLINE und DLLCALL machen. ODE ist aber nicht nur ein Gleichungslöser. Das ist ein Monsterpaket. Um das sinnvoll einzubinden (man muss ja auch an die Körper dann die 3D Objekte koppelt usw...) hat man einiges zu tun. Ich meine, dass eine Kugel-Kugel Engine für 99% aller Spiele ausreichen wird. ODE ist da wohl eher "overkill".
Wobei das mit Kugeln schon interessant wäre. Das ist ein überschaubarer Code und man kann damit z.B. Autorennen oder Weltruambillard machen...