Re: [LAU] teqqer, the console tracker, feedback requested

From: Florian Paul Schmidt <mista.tapas@email-addr-hidden>
Date: Thu Jan 23 2014 - 18:02:15 EET

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 23.01.2014 16:55, R. Mattes wrote:

>>> My C++-11 is rather weak though (I used this project to get
>>> into some of the new features), so it might be a bug in my
>>> code..
>>
>> I'm pretty sure now, that this error is due to your compiler
>> being too old :(
>
> That's a rather harsh way of formulating that. Iff your code is
> written in C++11 you might as well tell us. (It might even be a
> good idea to change your compiler flags from -std=c++0x to
> -std=c++11, but that would exclude g++-4.6 wich seems to have no
> problems with your code).

As far as I know the code is valid C++11 [modulo bugs ;D] Good point
about changing the compiler flag since I am hacking against C++-11
even if inadvertibly being compatible with C++0x.

>
> While the code compiles fine here, I can't start the program:
>
> ./teqqer example.teq Traceback (most recent call last): File
> "teqqer.py", line 5, in <module> import teq ImportError:
> /usr/local/src/teqqer/teq/build/teq.so: undefined symbol:
> _ZN5boost6python6detail11init_moduleER11PyModuleDefPFvvE
>
> Hmm, looking at the lib:
>
> ralf@email-addr-hidden:/usr/local/src/teqqer$ ldd
> /usr/local/src/teqqer/teq/build/teq.so linux-vdso.so.1
> (0x00007fff2dce6000) libjack.so.0 =>
> /usr/lib/x86_64-linux-gnu/libjack.so.0 (0x00007f7322853000) --->
> libteq.so => not found libpython3.3m.so.1.0 =>
> /usr/lib/x86_64-linux-gnu/libpython3.3m.so.1.0
> (0x00007f7322239000) libboost_python-py27.so.1.53.0 =>
> /usr/lib/libboost_python-py27.so.1.53.0 (0x00007f7321feb000)
> libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6
> (0x00007f7321ce8000) .....
>

That's due to the CMakeFile picking up the wrong versions of the
python C lib and possibly boost python picking up the wrong version.
You need python2 versions of these. I just updated the README.md this
afternoon to clarify this. I'm not really sure how to tell CMake to
only use the python 2 versions of these though. I only have python2
installed here [or at least the C lib and boost python for python2]. I
will install the python3 variants of those and try to figure out a way
to differentiate between the two. If that turns out to be a major
hassle I might consider switching the build tool.

Thanks for testing though,

Regards,
Flo

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.14 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJS4T0DAAoJEA5f4Coltk8ZW2IH/A78uIi+TUYnlhZU821kLHqQ
fBym8u0lOqIUhuCOXdAB52BYOuTvIrnqLOPJAXd/mVZOKFei/DPBhmPRJ8tiqMv/
unE7aIWmvIp1RmHaggyy50rOhvl8GKEhU/7p0cc2cBnRTBnELUUBcv/KRYDFb89S
cXihKpEf1/zDN1RoYQKOio10m1sTfTr/y9SSAAXRMV9LwXyByDmZK2TgCIs+tlme
0uyFuKm7DUXukqv0ZxUDzIG4aPGwN+Xr/MAMkgWCjdzCV3D/oaoM6HsIE6W+1H0p
2+TZq/NksuEjRALeXj5E9GifUU90TSlfx0Luh4y2AL6HJvPSIPXD9T/uS0ptvD4=
=grVS
-----END PGP SIGNATURE-----
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@email-addr-hidden
http://lists.linuxaudio.org/listinfo/linux-audio-user
Received on Thu Jan 23 20:15:03 2014

This archive was generated by hypermail 2.1.8 : Thu Jan 23 2014 - 20:15:04 EET