Stereo Tool https://forums.stereotool.com/ |
|
Stereo Tool 7.24 LINUX test https://forums.stereotool.com/viewtopic.php?t=4846 |
Page 1 of 19 |
Author: | hvz [ Tue Jun 04, 2013 5:34 pm ] |
Post subject: | Stereo Tool 7.24 LINUX test |
Note: THESE VERSIONS ARE FOR TESTING ONLY, AND DEFINITELY NOT SUITABLE FOR PRODUCTION USE. (Except maybe the command line version). As you may have noticed, there haven't been Linux versions since I released version 7.00. Also, the old Linux versions were somewhat problematic (on some systems people had to install over 60 MB of libraries to get the thing to work; multi-threading was not supported, the GUI looked ugly and some things in it didn't work etc.) There were about 250 places in the code where I was checking the OS, and almost all of them are now moved to a separate "OS" library or at least implemented for both Windows and Linux. That also means that things like multi-threading should work now. Sound card support still needs to be added! I've tried to make things work again, and here's a first version. There are still 2 versions: 1. Command line version. This version should be more or less ok (except that VERBOSE mode doesn't work). 2. GUI version. The GUI should load, but this version crashes when you resize the screen and mouse and keyboard events are not handled properly. Why am I posting these unfinished versions? Because I would like to know if the issues that existed with earlier versions (mainly the library problem) are solved now. I *hope* that these versions will run immediately without requiring any external product installs. Normal command line version: http://www.stereotool.com/download/ster ... ETA724-003 GUI version: http://www.stereotool.com/download/ster ... ETA724-003 HINT: Save them and then chmod to 755 or something similar! So my question is: Do these versions at least start up without issues? |
Author: | AlexL [ Tue Jun 04, 2013 5:45 pm ] |
Post subject: | Re: Stereo Tool 7.24 LINUX test |
Quote:
So my question is: Do these versions at least start up without issues?
I had to install these libraries:Code: # apt-get install libgtk2.0-0:i386 libcurl3-gnutls:i386But then I can start the GUI version with 2 filenames as arguments. It will crash when I move the mouse pointer into its window. Will you add Pulseaudio support next? That would be kinda cool and should not be very hard at all ![]() |
Author: | hvz [ Tue Jun 04, 2013 7:11 pm ] |
Post subject: | Re: Stereo Tool 7.24 LINUX test |
I see that I can link libcurl statically, so that should be easy to fix. Libgtk is more problematic, I have tried to build wxwidgets (which I use for the gui) for X11 instead of GTK+ but for some reason it didn't work (it builds fine but i don't get a gui) - I guess I should look into that again. |
Author: | AlexL [ Tue Jun 04, 2013 7:47 pm ] |
Post subject: | Re: Stereo Tool 7.24 LINUX test |
Quote: I see that I can link libcurl statically, so that should be easy to fix.
You can use ldd to see which libraries were linked dynamically into the binary, those are a lot currently. But having dynamic requirements is fine, as long as the ABI is stable or at least upwards compatible. Then you can ship the same binary for multiple systems. You would need a rather old build environment to benefit from this approach. If you want to target multiple systems with different incompatible ABIs, you can use different chroot environments to build the code. Those can be generated quite easily for Debian/Ubuntu based systems using debootstrap.
Libgtk is more problematic, I have tried to build wxwidgets (which I use for the gui) for X11 instead of GTK+ but for some reason it didn't work (it builds fine but i don't get a gui) - I guess I should look into that again. |
Author: | hvz [ Tue Jun 04, 2013 9:02 pm ] |
Post subject: | Re: Stereo Tool 7.24 LINUX test |
I see that libcurl is causing a whole bunch of dependencies, I'm now trying to reduce those by doing a custom Curl build with --disable-almost-everything. For wxWidgets, I'll have to figure out how to get the thing to work with --with-x11 instead of --with-gtk. I need almost nothing (creating of a few windows, displaying images in them and getting mouse and keyboard input) so I had expected it to work immediately - it's probably a good idea to fix the crashes first, since they might also have something to do with it. |
Author: | hvz [ Tue Jun 04, 2013 9:31 pm ] |
Post subject: | Re: Stereo Tool 7.24 LINUX test |
Finally got the debugger working properly (if you do a debug build and then run 'strip' on the file afterwards you don't see much lol). Cause of crashes is known now, hope that I'll be able to fix them soon. |
Author: | hvz [ Tue Jun 04, 2013 10:05 pm ] |
Post subject: | Re: Stereo Tool 7.24 LINUX test |
Note: THESE VERSIONS ARE FOR TESTING ONLY, AND DEFINITELY NOT SUITABLE FOR PRODUCTION USE. (Except maybe the command line version). SEE FIRST POST. - libcurl dependency is gone - GUI should no longer crash (there was an alignment issue, if the window width was not a multiple of 4 some SSE2 code crashed). Normal command line version: http://www.stereotool.com/download/ster ... ETA724-004 GUI version: http://www.stereotool.com/download/ster ... ETA724-004 HINT: Save them and then chmod to 755 or something similar! I'll try to get rid of the gtk stuff as well, then I'll start fixing the GUI behavior (mouse/keyboard mainly). |
Author: | AlexL [ Tue Jun 04, 2013 10:16 pm ] |
Post subject: | Re: Stereo Tool 7.24 LINUX test |
Quote:
I'll try to get rid of the gtk stuff as well, then I'll start fixing the GUI behavior (mouse/keyboard mainly).
Hehe, first got a segfault because I downloaded the file before your upload was finished.It runs here and needs only 53 dynamic libs ![]() Some sliders behave weirdly when I hover the mouse through the window: they seem to change their value even though I did not click them. |
Author: | hvz [ Tue Jun 04, 2013 11:45 pm ] |
Post subject: | Re: Stereo Tool 7.24 LINUX test |
Yes the files are pretty big ![]() I just discovered that after running a ./configure for WxWidgets I apparently need to do a make clean or make all, not just make. That might explain the issues I was having. Working on it... Edit: About sliders and mouse: I know, that's exactly the thing that I still have to implement ![]() |
Author: | hvz [ Thu Jun 06, 2013 2:05 am ] |
Post subject: | Re: Stereo Tool 7.24 LINUX test |
Note: THESE VERSIONS ARE FOR TESTING ONLY, AND DEFINITELY NOT SUITABLE FOR PRODUCTION USE. (Except maybe the command line version). SEE FIRST POST. - Slider and mouse are better (not completely ok but usable) - Keyboard works as well - Some more code cleanups Normal command line version: http://www.stereotool.com/download/ster ... ETA724-005 GUI version: http://www.stereotool.com/download/ster ... ETA724-005 HINT: Save them and then chmod to 755 or something similar! The GTK stuff is difficult to get rid of (it seems that there's a bug in wxWidgets when using X11, the site warns about bugs in it and I think that must be the reason why it doesn't work. |
Page 1 of 19 | All times are UTC+02:00 |
Powered by phpBB® Forum Software © phpBB Limited https://www.phpbb.com/ |