Menu

Linker error in Embarcadero RAD Studio re fbass

Help
2017-11-05
2017-11-06
  • David Zucker

    David Zucker - 2017-11-05

    I'm using Windows8, Embarcadero RAD Studio 10.2, compiling for win32, all new downloads and installs. When compiling FLScene_Sounds)RunTime.bpl, I get linker errors, "[ilink32 Error] Error: Unresolved external 'FSOUNDStopSound@4' referenced from C:\USERS\DAVID\ONEDRIVE\EMBARCADERO\STUDIO\IMPORTS\GLSCENE\LIB\WIN32\GLSMFMOD.OBJ" ... and a couple dozen of other functions

    Google searches say, make sure the compiler knows the directory to look in to find it, most common issue is that the compiler can't find the file. Not only have I added the path to the original file to the directory, I copied fbass.dll to glscene\source\, glscene\source\SoundVideoAPIs\ (and made sure those paths are in the project's search list), as well as a few other directories used by the package. Didn't help.

    Google Search also says, add the library to the project, so I've added fmod.dll to the project contains list. Didn't help. RAD Studio isn't letting me add the dll to the requires list.

    I'm not getting any error messages regarding bass.dll, not sure if the files referencing bass.pas are being linked yet or not.

     
  • Pavel Vassiliev

    Pavel Vassiliev - 2017-11-05

    Hi David,
    Place all 32bit DLLs from glscene/external to Windows/SysWow64 and also 64bit DLLs into Windows/System32, then rebuild all projs in GLScene_Win32.group project. And install designtime packages. That's all. You don't need to compile GLScene_win32_cpp.groupproj - it's included only for those who have only C++ builder personality.

     
  • David Zucker

    David Zucker - 2017-11-06

    I've got c++, but not Delphi personality.

    Never mind moving some here and some there, I put all DLLs glscene/external into both WywWOW64 and System32, to make sure I didn't accidentally miss one. Same linker error.

     
  • Pavel Vassiliev

    Pavel Vassiliev - 2017-11-06

    David,
    I've examined cpp projects for packages and yes, there are fatal errors duiring linking some obj files, so I not found any reasons of it. So all separated cpp projects for GLScene C++Builder personality have been removed by now from the svn repository and sorry if you need to write c++ applications with GLScene then use Rad Studio. I've just checked it and it seems all works well now including sounds and physics.

     
  • Jerome.D (BeanzMaster)

    Hi David on Windows 10 64bit it's not sufficient to copy on the Windows/SysWOW64
    1st download
    For BASS : latest version is available here : http://www.un4seen.com you have the 64bit dll in the zip
    For FMOD : https://www.fmod.com and choose SDK and run installer

    2nd solution Place the dll directly in your application folder

    Note under windows if you copy DLL in system32 and SysWOW64, sometime for using DLL you need to type the Regserv32 /i Librairy.DLL for installing and Regserv32 /u Librairy.DLL for uninstalling in command prompt (Open Start menu type "cmd" et CTRL+SHIFT+ENTER for running command prompt as administrator.
    Personnally i prefer FMOD and OpenAL

     

    Last edit: Jerome.D (BeanzMaster) 2017-11-09

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.