0
0

I used Pascal units from Windows version and when I try to build program I get following message:

[code:3e5zd5hn]/home/tot/p/fmod.pas(494,52) Hint: Parameter "libname" not used
unit1.pas(8,74) Hint: Unit "fmod" not used in Unit1
/home/tot/p/fmod.o: In function FMOD_UNLOAD':
/home/tot/p/fmod.pas:589: undefined reference to
FMOD_System_UpdateFinished’
/usr/local/lib/libfmodex.so: undefined reference to operator delete(void*)'
/usr/local/lib/libfmodex.so: undefined reference to
__cxa_pure_virtual’
/usr/local/lib/libfmodex.so: undefined reference to `operator new(unsigned int)’
project1.lpr(17,1) Error: Error while linking[/code:3e5zd5hn]

I, didn’t call any function in program. All I did is adding [b:3e5zd5hn]fmod[/b:3e5zd5hn] to [b:3e5zd5hn]uses[/b:3e5zd5hn] section.

  • You must to post comments
0
0

I just tried to load libfmodex.so and close it, but that doesn’t work either.
When I call
[code:1nl01twv]pLib := dlopen(’libfmodex.so’, RTLD_NOW);[/code:1nl01twv]
[b:1nl01twv]pLib[/b:1nl01twv] variable is [b:1nl01twv]nil[/b:1nl01twv]. I first tought that path to library is invalid so I copy libfmodex.so to programs directory but it didn’t help… is there any chanse to fix FMod Ex to work with FreePascal/Lazarus?

  • You must to post comments
0
0

Problem solved buy adding [b:3i1nygsx]-lstdc++[/b:3i1nygsx] to linker options.

  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.