flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
bitRAKE 01 Sep 2024, 15:56
You could verify the ode library was built correctly, including the missing function with:
Code: nm C:\Users\Roma\Downloads\ode-0.16.5\ode-0.16.5\lib\Release\libode.a | grep dRandReal Code: g++ demo_space.cpp -o "C:\Users\Roma\Downloads\ode-0.16.5\demo_space.o" -I "C:\Users\Roma\Downloads\ode-0.16.5\ode-0.16.5\include" -L "C:\Users\Roma\Downloads\ode-0.16.5\ode-0.16.5\lib\Release" -lode -std=c++11 Then use the -lode option to link the libode.a library. |
|||
![]() |
|
Roman 01 Sep 2024, 16:14
Nice i get couple errors. Only 5 errors !
Temp\ccIW9iAu.o:demo_space.cpp:(.text+0x623): undefined reference to `dsSetViewpoint' Temp\ccIW9iAu.o:demo_space.cpp:(.text+0x83a): undefined reference to `dsSetColor' Temp\ccIW9iAu.o:demo_space.cpp:(.text+0x852): undefined reference to `dsSetColor' Temp\ccIW9iAu.o:demo_space.cpp:(.text+0x86b): undefined reference to `dsDrawBox' Temp\ccIW9iAu.o:demo_space.cpp:(.text+0x97c): undefined reference to `dsSimulationLoop' |
|||
![]() |
|
bitRAKE 01 Sep 2024, 16:32
-ldrawstuff
|
|||
![]() |
|
Roman 01 Sep 2024, 16:49
C:/MinGW/bin/../lib/gcc/i686-w64-mingw32/14.1.0/../../../../i686-w64-mingw32/bin/ld.exe: cannot find -ldrawstuff: No such file or directory
|
|||
![]() |
|
bitRAKE 01 Sep 2024, 17:08
The manual says the DrawStuff library is just for the demos. Perhaps it has not been built or is located elsewhere.
|
|||
![]() |
|
Roman 01 Sep 2024, 19:16
I delete all drawStuff functions and compiled demo_plane2d.o
How compiled demo_plane2d.o to exe file ? |
|||
![]() |
|
bitRAKE 01 Sep 2024, 19:26
My guess would be to follow the manual install instructions.
I've never used to the library before. |
|||
![]() |
|
Roman 01 Sep 2024, 19:29
I get errors:
demo_plane2d0.o:crtexe.c ![]() ![]() ld.exe: demo_plane2d0.o:crtexe.c ![]() ![]() ld.exe: demo_plane2d0.o:crtexe.c ![]() ![]() ld.exe: demo_plane2d0.o:cygming-crtbeg:(.text+0x450): multiple definition of `__gcc_register_frame'; C:/MinGW/bin/../lib/gcc/i686-w64-mingw32/14.1.0/crtbegin.o:cygming-crtbeg:(.text+0x0): first defined here ld.exe: demo_plane2d0.o:cygming-crtbeg:(.text+0x4f0): multiple definition of `__gcc_deregister_frame'; C:/MinGW/bin/../lib/gcc/i686-w64-mingw32/14.1.0/crtbegin.o:cygming-crtbeg:(.text+0xa0): first defined here ld.exe: demo_plane2d0.o:crtexe.c ![]() ![]() ld.exe: demo_plane2d0.o:crtexe.c ![]() ld.exe: demo_plane2d0.o:crtexe.c ![]() ![]() ld.exe: demo_plane2d0.o:crtexe.c ![]() ![]() ld.exe: demo_plane2d0.o:crtexe.c ![]() ![]() ld.exe: demo_plane2d0.o:crtexe.c ![]() ![]() ld.exe: demo_plane2d0.o:crtexe.c ![]() ![]() |
|||
![]() |
|
Roman 02 Sep 2024, 02:55
Its my mistake.
I create file Demo.o, but must exe I changed o to Demo.exe Now run exe. |
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.