alexkay / spek

Acoustic spectrum analyser
http://spek.cc
GNU General Public License v3.0
2.6k stars 259 forks source link

Cannot compile on Manjaro #217

Closed TJFOE closed 2 years ago

TJFOE commented 2 years ago

First I had the problem, because of "configure". After changing "wx-config" to "wx-config-gtk3" it was working.

But I could not "make" with success. Please have a look in the attached file (make-output). There are 3 errors ("Fehler"="Error"):

Terminal.txt

TJFOE commented 2 years ago

I've now installed wxgtk2 and changed back in configure to "wx-config". But exactly the same errors. Her now line 187, 192, 231 ... Terminal_wxgtk2.txt

TJFOE commented 2 years ago

Now I could compile with success after changing:

old -> new avcodec_alloc_frame() -> av_frame_alloc() avcodec_get_frame_defaults() -> av_frame_unref() avcodec_free_frame() -> av_frame_free()

Attached the modified spec-audio.cc (rename it to src/spek-audio.cc)

spek-audio.cc.txt