TWOEARS / binaural-simulator

Two!Ears Auditory Model - Binaural simulator module
http://docs.twoears.eu/en/latest/binsim/
GNU General Public License v2.0
27 stars 3 forks source link

PORT: Statically Linked *.mex files for Sound Scape Renderer #5

Open fietew opened 8 years ago

fietew commented 8 years ago

I have finally managed to create statically linked binaries for the Sound Scape Renderer, which should work out-of-the-box without any 3rd-party libraries. I kindly ask you to test them on your Windows 64bit machines. Please find attached a *.zip file, which contains the test_ssr.m which you should execute under MATLAB. It should create an audio file named output.wav containing castanets.

Please remove any paths related to prior installations of the wp1 code from your PATH environment variable beforehand. If you are not a Windows-User and/or not able to test the code with a Windows machine, please indicate this in a short response to this issue. static_ssr_test.zip

hagenw commented 8 years ago

There will be a new software release next week. Maybe this is a good way to test the new statically linked mex files. I would put them into the release candidate and then ask people for testing the release candidate.

@fietew can you please create a branch in TWOEARS/documentation where you change the installation instructions to the new mex files.

hagenw commented 8 years ago

Could you please force this topic, we had again complains and problems getting the binaural simulator up and running. maybe you should just include it into the master and people can then complain if it is not working.

ryanckim commented 8 years ago

Sorry about such a late reaction. This works fine for me, and copying this new mex file to the \GIT_repository\binaural-simulator\src\mex folder has just solved the same old problem of "invalid mex file". So maybe you should include this version in the master branch.

ryanckim commented 8 years ago

Hi guys, now I'm having the same problem again with another file: Invalid MEX-file 'D:\TUe-HTI\TWOEARS\GIT_repository\TwoEars\BinauralSimulator\src\mex\ssr_brs.mexw64': The specified module could not be found. This happens when I run localise.m in the examples folder (both the examples repo and the TwoEars repo). Do we have any solution for this case?

hagenw commented 8 years ago

Hi @ryanckim. I guess the problem is that @fietew provided the static mex file only for the binaural renderer in the above zip-file and not for the brs renderer (which is only used with precomputed BRS files, for example from experiments). I guess this can be solved, if @fietew can compile the remaining SSR renderer in the static version as well.

fietew commented 8 years ago

Unfortunately, I do not have my private windows pc here, from which I compiled the mex-binaries for windows.

fietew commented 8 years ago

Hi @ryanckim,

I added the static binaries to the master branch. Feel free to try it out.