Hello colleagues, my name is Mauro and this is my first post.
these days I re-downloaded the freebasic, and it was more pleasant than the other time, my congratulations to all who participate in this project.
I'm wanting to compile the openal sample bas, and I can't find the correct version of the dlls because it always tells me that it can't find the file, and the 2 dlls are next to the source code.
Could anyone provide me with the correct files, or tell me where I can find them?
I already downloaded several and nothing, and I can't find the correct version of the alut.dll dll.
Thank you very much in advance who can help me,
greetings to all.
compiling the openal example from the latest version?
-
- Posts: 30
- Joined: Mar 21, 2021 18:22
Re: compiling the openal example from the latest version?
Hi Mauro, welcome to the forum!
You didn't get an answer for a week now. Perhaps you can be a bit more specific in your question, ie:
You didn't get an answer for a week now. Perhaps you can be a bit more specific in your question, ie:
- Send a link to the source code you want to test.
- Copy/paste the exact error message.
- Most important: which operating system are you using?
Re: compiling the openal example from the latest version?
make sure the .bi files use the correct dll
(if you did not know this already)
example:
(start of al.bi)
...
#pragma once
#ifdef __FB_WIN32__
#inclib "OpenAL32"
#else
#inclib "openal"
#endif
So depending on you using win 32 or win 64
the dll names are OpenAl32.dll or openal.dll
One of these dll files should be with your source code.
If not you can adjust the .bi files, or you can copy all your required .bi files into your source code folder and adjust the .bi files there, this saves altering distribution files.
(if you did not know this already)
example:
(start of al.bi)
...
#pragma once
#ifdef __FB_WIN32__
#inclib "OpenAL32"
#else
#inclib "openal"
#endif
So depending on you using win 32 or win 64
the dll names are OpenAl32.dll or openal.dll
One of these dll files should be with your source code.
If not you can adjust the .bi files, or you can copy all your required .bi files into your source code folder and adjust the .bi files there, this saves altering distribution files.
Re: compiling the openal example from the latest version?
I copied the required DLL's from msys2 and uploaded it here https://drive.google.com/file/d/1ZR420q ... sp=sharing
-
- Posts: 30
- Joined: Mar 21, 2021 18:22
Re: compiling the openal example from the latest version?
Hello,
Thank you very much mate, it was what I was looking for.
now it compiles correctly.
After searching a lot, it seems to me that the implementation of open al in freebasic, is the best I found.
that they go very well,
a greeting.
Thank you very much mate, it was what I was looking for.
now it compiles correctly.
After searching a lot, it seems to me that the implementation of open al in freebasic, is the best I found.
that they go very well,
a greeting.
srvaldez wrote:I copied the required DLL's from msys2 and uploaded it here https://drive.google.com/file/d/1ZR420q ... sp=sharing
Re: compiling the openal example from the latest version?
when compiling to 64-bit, the program may complain that alu.dll is missing, if that happens then simply copy libalut-0.dll to alut.dll keeping libalut-0.dll
I am not happy with this dll mess but have not found another solution
I am not happy with this dll mess but have not found another solution
-
- Posts: 30
- Joined: Mar 21, 2021 18:22
Re: compiling the openal example from the latest version?
I've used the 64-bit one, and luckily it didn't say anything. equally, I will take it into account. Thank you.
and please excuse my english, I am using the translator.
and please excuse my english, I am using the translator.
srvaldez wrote:when compiling to 64-bit, the program may complain that alu.dll is missing, if that happens then simply copy libalut-0.dll to alut.dll keeping libalut-0.dll
I am not happy with this dll mess but have not found another solution