Skip to content
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

Error compiling 0.3.1 version #59

Open
lucamini opened this issue Feb 9, 2022 · 7 comments
Open

Error compiling 0.3.1 version #59

lucamini opened this issue Feb 9, 2022 · 7 comments

Comments

@lucamini
Copy link

lucamini commented Feb 9, 2022

I tested the latest stable and the repository version, but on Manjaro linux and Ubuntu 20.04. Dunring the make session i get:

spectrogram.c: In function ‘__spectrogram_ready’:
spectrogram.c:219:5: error: ‘TextureNode’ undeclared (first use in this function); did you mean ‘texture_node’?
219 | ((TextureNode*)((AGlActor*)area->scene)->children->data)->texture = self->priv->textures[0];
| ^~~~~~~~~~~
| texture_node
spectrogram.c:219:5: note: each undeclared identifier is reported only once for each function it appears in
spectrogram.c:219:17: error: expected expression before ‘)’ token
219 | ((TextureNode*)((AGlActor*)area->scene)->children->data)->texture = self->priv->textures[0];
| ^
make[3]: *** [Makefile:471: spectrogram.lo] Error 1
make[3]: Leaving directory '/home/kami/.local/share/Trash/files/samplecat-master/src/panels'
make[2]: *** [Makefile:734: all-recursive] Error 1
make[2]: Leaving directory '/home/kami/.local/share/Trash/files/samplecat-master/src'
make[1]: *** [Makefile:556: all-recursive] Error 1
make[1]: Leaving directory '/home/kami/.local/share/Trash/files/samplecat-master'
make: *** [Makefile:445: all] Error 2

@ayyi
Copy link
Owner

ayyi commented Feb 10, 2022

Hi

I haven't tried on Manjaro, but it normally compiles fine on Ubuntu 20.

I sounds like the submodules may be out of sync. I don't suppose doing
git submodule update --remote --merge --recursive
fixes the issue?

Alternatively you could try (not tested):

rm -rf lib/waveform
mkdir lib/waveform
./autogen.sh
./configure
make

That will cause the submodules to be re-fetched.

Please use the latest git version, as this is better tested.

Thanks

@ayyi
Copy link
Owner

ayyi commented Feb 10, 2022

Hi

I have created a new release. This tarball builds ok here on Ubuntu 20:
http://www.orford.org/assets/samplecat-0.3.2.tar.xz

Regards

@lucamini
Copy link
Author

Hi
for the submodules out of sync it was true, on Manjaro it solve the issue but not in Ubuntu.
In Ubuntu 20 I get some errors during ./autogen.sh about aGL....but then the make command produces the executable.

I tried the last 3.2 tar archive on Manjaro and it works!
I will try it on Ubuntu 20.

Thank you!!!

@lucamini
Copy link
Author

I tried it on Ubuntu 20, it works but there are some differences with respect to manjaro. On Manjaro every aspect works fine, but on my Ubuntu no.
The difference is that in Ubuntu I'm not able to see the waveform, in its place I see the "time" of the waveform is playing and the waveform area is a black area, and the spectrogram is not working, I see a black area as well.
Regards

@ayyi
Copy link
Owner

ayyi commented Mar 10, 2022

Thanks for the feedback.

Please can you tell me what graphics hardware are on these two systems. Are you using Mesa drivers, or something different?

Cheers

@lucamini
Copy link
Author

sorry, I change my OS, now i dont' use ubuntu but arch... please see isue #60 .
Anyway my HW is an NVidia Quadro T1000 8Gb ...and I have to use the proprietary NVIDIA drivers

@ayyi
Copy link
Owner

ayyi commented Mar 30, 2022

Unfortunately I don't have any NVIDIA hardware.

I have an OpenGL 4 version that is part of the ongoing port to Gtk-4, which could possibly help. It will be a few weeks before this is ready.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants