Zyn 2.5.0 on ubuntu 14.04

Official support for: zynaddsubfx.sourceforge.net
Post Reply New Topic
RELATED
PRODUCTS

Post

Hi,
Trying to build/install Zyn 2.5.0 on ubuntu 14.04.

Is NTK still needed for the new GUI?

Chris

Post

No success yet.

Getting error during make:

Code: Select all

[ 90%] Built target AllocatorTest
[ 90%] Generating ControllerTest.cpp
Scanning dependencies of target ControllerTest
[ 91%] Building CXX object src/Tests/CMakeFiles/ControllerTest.dir/ControllerTest.cpp.o
Linking CXX executable ControllerTest
/usr/local/lib/libmxml.so: Nicht definierter Verweis auf `pthread_key_create'
/usr/local/lib/libmxml.so: Nicht definierter Verweis auf `pthread_once'
/usr/local/lib/libmxml.so: Nicht definierter Verweis auf `pthread_getspecific'
/usr/local/lib/libmxml.so: Nicht definierter Verweis auf `pthread_key_delete'
/usr/local/lib/libmxml.so: Nicht definierter Verweis auf `pthread_setspecific'
collect2: error: ld returned 1 exit status
make[2]: *** [src/Tests/ControllerTest] Fehler 1
make[1]: *** [src/Tests/CMakeFiles/ControllerTest.dir/all] Fehler 2
make: *** [all] Fehler 2

Post

ntk is a possible UI, fltk still works, and the whole system can be compiled with no UI as well.
If you're at the stage where it's building tests, then I think it has compiled the main binary, though I may be wrong.

It's odd that it's failing with undefined references to pthread in the test lib though as that library is explicitly on the list of libraries to be linked to.
Can you paste the "Linking tests with:" line?
One of the developers on the ZynAddSubFX open source synth
The author of the Zyn-Fusion UI for ZynAddSubFX

Post

I now realised that mxml is in the ubuntu repo, so I installed libmxml1 and libmxml-dev from the repo.

Now, the make runs throught to 100%, but I see errors in the CMakeError.log:

Code: Select all

/usr/bin/cmake -E cmake_progress_report /home/chris/Downloads/zyn/zynaddsubfx/bu
ild/CMakeFiles/CMakeTmp/CMakeFiles 1
Building C object CMakeFiles/cmTryCompileExec2921567002.dir/CheckFunctionExists.
c.o
/usr/bin/cc   -DCHECK_FUNCTION_EXISTS=pthread_create   -o CMakeFiles/cmTryCompil
eExec2921567002.dir/CheckFunctionExists.c.o   -c /usr/share/cmake-2.8/Modules/Ch
eckFunctionExists.c
Linking C executable cmTryCompileExec2921567002
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec2921567002.dir/li
nk.txt --verbose=1
/usr/bin/cc   -DCHECK_FUNCTION_EXISTS=pthread_create    CMakeFiles/cmTryCompileE
xec2921567002.dir/CheckFunctionExists.c.o  -o cmTryCompileExec2921567002 -rdynam
ic -lpthreads 
/usr/bin/ld: cannot find -lpthreads
collect2: error: ld returned 1 exit status
make[1]: *** [cmTryCompileExec2921567002] Fehler 1
make[1]: Verzeichnis »/home/chris/Downloads/zyn/zynaddsubfx/build/CMakeFiles/CMa
keTmp« wird verlassen
make: *** [cmTryCompileExec2921567002/fast] Fehler 2


Post

Maybe I should try an older version.

Which was the first version with the actual black GUI?

Post

Can you just paste the full compilation and configuration log from your terminal? (with make VERBOSE=1)
And Cmake version?
One of the developers on the ZynAddSubFX open source synth
The author of the Zyn-Fusion UI for ZynAddSubFX

Post

Hi,
the logfiles:
http://chris-s.bplaced.net/div/zynlogfiles.zip

cmake version 2.8.12.2
GNU Make 3.81

I'm setting the option "Build for AMD-x64" in cmake config.

Post

The only error I see here is a linker order bug which was fixed relatively quickly after the release.
just run:

git clone git://git.code.sf.net/p/zynaddsubfx/code zynaddsubfx

to get the git version and proceed as normally.
One of the developers on the ZynAddSubFX open source synth
The author of the Zyn-Fusion UI for ZynAddSubFX

Post

Ok, this looks better now. :)

Image

Some remarks/questions:

Do I have to "sudo make install" to install it finally into the system?

The writing of the many dots to the terminal, is this intended?

The starter-icon looks strange.

How can I connect my hardware midi-keyboard to zyn? I'm using Alsa.

Chris

Post

> Do I have to "sudo make install" to install it finally into the system?

You can do that to install it (by default into /usr/local), otherwise it does run in place (though it might overlook the included instrument banks when run in place).

>The writing of the many dots to the terminal, is this intended?

Think of those as the heartbeat of the new design.
They're there in case anyone finds a bug where the user interface experiences some type of lockup.
One such bug has been found so far by leaving them enabled, though they'll be disabled by the 2.5.1 release.

> The starter-icon looks strange.

Yeah, I think I messed up the icon setting code.
It should be a pretty minor change to get it back to the color icon.

> How can I connect my hardware midi-keyboard to zyn?

By default the compile time system will attempt to default to ALSA MIDI input and JACK audio output.
If you have ALSA input, then you should be able to connect any hardware midi device using a graphical connection tool like qjackctl (MIDI tab) or a command line tool such as aconnect.
One of the developers on the ZynAddSubFX open source synth
The author of the Zyn-Fusion UI for ZynAddSubFX

Post

After sudo make install the starter-icon was okay.

Midi keyboard works with aconnect 20:0 128:0.

Chris

Post

Hi,
some bugs:

* Some graphical misalignements in the simple (non-advanced) GUI mode

* Crash when using the C and P (copy/paste) buttons.

zynaddsubfx/src/Misc/MiddleWare.cpp:849: void MiddleWareImpl::doReadOnlyOp(std::function<void()>): Assertion `tries < 10000' failed.
Abgebrochen (Speicherabzug geschrieben)

Post

Ok, the first bug is now added to the sourceforge issue tracker.
The second one was just fixed.
There may be some other weirdness with the C/P buttons at the moment as the copy/paste system is getting an overhaul and is in the process of being rebuilt.
One of the developers on the ZynAddSubFX open source synth
The author of the Zyn-Fusion UI for ZynAddSubFX

Post Reply

Return to “ZynAddSubFX”