-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
It compiles somehow, but does not start #3
Comments
And I am using Ubuntu 17.10. It has libmysofa-dev 0.6 package and libeigen3-dev 3.3.4 too. Also it has juce-modules-source 4.3.0 package, but it was not adapted well and I've used juce modules (5.1.2) from official juce site. For editing Makefile I used juce-tools 4.3.0 from ubuntu repo. |
I finally got my hands on a functional Ubuntu install, will check that |
I've ran 'make all test' in libmysofa's build dir and got this: The following tests FAILED: Maybe that is why the issue occurs. (I don't know how it all works, really) |
What distro should I use? |
I've got how to use strace. EvertES tries to find files in root directory (/). But when I make links in /, the program shows many "Can not locate file" msgboxes anyway. But strace says nothing about it. I've made following symlinks: And I am attaching my last strace file. |
Had exactly the same issue in Ubuntu 17.10 with JUCE 5.2.0 (built from sources) and libmysofa-dev from repo (added -lmysofa in the Makefile). |
I could not compile GPL version of JUCE 5.2.0. |
Readme file in libmysofa says that they tests libmysofa compilation on Ubuntu 14.04. |
I edited Source/Utils.h and it runs on the linux without errors, as far as I can see. |
EvertSE.jucer.txt |
But seems it does not work. Just plays a sounds. And I don't know how to test it or tune. Blender shows nothing. There is no tracers or sound effects. What could be wrong? |
It works! And it's a wow program! Thank you very much for your huge work! dev packages that I can remember: Also I added symlinks to libevert.so into /usr/lib and /usr/local/lib. Because I compiled and installed it in my userspace. |
Fixes: fix-files.7z.zip |
Thanks @thima2017 for the tips. I was able to run the embedded Evertse in Blender, but when I try to start the Raytracing client it says: |
Anyway, EvertSE segfaults in libc-2.26.so when I try to size up the room in blender. (dmesg message, for example: [ 2002.388871] Juce ALSA[3760]: segfault at 7f68451ebdf0 ip 00007f6879263536 sp 00007f68477fd578 error 4 in libc-2.26.so[7f68791b1000+1d6000])
II) I compile evertims:
And after all of this I compile EvertSE. But I already could compile EvertSE after libevert's make && make install. |
Did it help you? |
Thanks for all the work @thima2017. Struggling to find time to integrate your suggestions in the trunk atm, will sure do at some point. |
I've told my mother your words and she said she is proud of me :D. Thank you. I hope someday someone will make a blender based 3d game for blinds to train echo-location ability for real life. It will be a real goodness. (There are many videos on youtube about that superpower ("blind echo"). For example http://www.youtube.com/watch?v=VMTLGvBudWI) |
Hi, I'm trying to install EverTIMS engine, and I followed you steps @thima2017 for the installation of EvertSE and it works. But now, I have problems with Blender. I integrate the EverSE ims and mat files, i start the templated scene, start EvertSE, i put some sound and I start the raytracing client and nothing happens. I just hear the sound that I started in EvertSE. Now, my question is have you installed successfully everything in Blender and does it work? |
Does dmesg show any errors? And have you linked libevert.so to /usr/lib and /usr/local/lib? And do you have too restrict firewall rules for loopback connections? And if you use Ubuntu version <17.10 there should be a few addition steps to make it work. |
Thank you for the quick response. Thank you for your help, it really means alot |
To make a symbolic link for any file I use "ln -s" command. So you need to go to the dir where your libevert.so file is and run "sudo ln -s ./libevert.so /usr/local/lib". I used this way for testing purposes, but it is not safe if someone is able to replace your libevert.so file and if the file has rw permissions for a non-root user. I heard the noise too from time to time, I guess it somehow related to libresample. As I can remember, you can use libresample.so file from Lubuntu repo by adding the link to this library in Projucer editor (another type of link than the one before(external library or something, (write "resample" there instead of "libresample"))), or you can install libresample-dev package and point in linuxExtraPkgConfig field of Projucer (I don't remember the name in the Projucer gui) libresample, or you can make libresample by your own and "ln -s" it to "usr/local/lib". The results of this tree ways differed on my previous system (with or without noise) as I can remember today. I am quite sure it should work on Lubuntu 18.04 in the same or even better way as on Lubuntu 17.10. So you don't need to downgrade. |
I tried it and it seems that I already have libvert.so in my /usr/local/lib, so it's not about that. In comment that you added on Dec 4 2017 you said that you installed the EvertSE and I followed that steps and installed it myself and nowhere do you mention Projucer, so I do not have Projucer installed. Is it necessary? And what role does it have in EverTIMS because I thought it is used only to install the EverSE and now that I have installed it without the Projucer, what is the purpose of having Projucer installed? |
I think Projucer is used to make a correct Makefiles only. I've compiled it on bionic by g++ 4.8 and gcc 4.8. To compile evertims with g++ 4.8 and gcc 4.8 the "#include <stdio.h>" in socket.h is still needed. I used galternatives to switch the compilers from default 7.3 on bionic. In the files I've attached you may find the EvertSE.jucer file I used, AudioIOComponent.h which adds mp3 support, socket.h file for compiling with g++ 4.8 and gcc 4.8 and two screenshots about galternatives. |
And yes, now you need to place the data dir in the dir where the EvertSE executable is, not in a upper one as previously. |
I just tested with Ubuntu 21.04 and, unfortunately, EvertSE segfaults here directly after starting "on the fly auralization" in Blender 2.79 (not in the repos, downloaded the binary from blender website). |
I'm getting the same problem. Running it through gdb gives this clue:
|
Here is my console log:
user@user:/tmp/tmp/auralization_engine_evertims-master/Builds/LinuxMakefile/build$ ./EvertSE
terminate called after throwing an instance of 'std::ios_base::failure[abi:cxx11]'
what(): Failed to open HRIR file: iostream error
Aborted
user@user:/tmp/tmp/auralization_engine_evertims-master/Builds/LinuxMakefile/build$
I've tried to put ClubFritz1_hrir.bin in the same dir with EvertSE file, but it did not help.
I've attached my last Makefile from JUCE:
Makefile.txt
The text was updated successfully, but these errors were encountered: