Avidemux Forum

Avidemux => Unix-Like (Linux/Bsd/...) => Topic started by: sl1pkn07 on October 18, 2021, 07:21:00 PM

Title: undefined reference to `factoryWindow::factoryWindow()'
Post by: sl1pkn07 on October 18, 2021, 07:21:00 PM
Hi

start failing build with

~~~
[ 80%] Linking CXX executable avidemux3_qt6
/usr/bin/ld: ADM_UIsQt4/src/libADM_UIQT66.so: undefined reference to
`factoryWindow::factoryWindow()'
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/avidemux3_qt6.dir/build.make:330:
avidemux3_qt6] Error 1
make[1]: *** [CMakeFiles/Makefile2:727:
CMakeFiles/avidemux3_qt6.dir/all] Error 2
make: *** [Makefile:136: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
~~~

greetings
Title: Re: undefined reference to `factoryWindow::factoryWindow()'
Post by: eumagga0x2a on October 18, 2021, 07:38:51 PM
Does it help if you just delete the class declaration? I mean the lines

class factoryWindow : public QDialog
{
Q_OBJECT

public:
factoryWindow();
};

from avidemux/qt4/ADM_UIs/src/T_dialogFactory.h. This class is unused, a leftover from old times.
Title: Re: undefined reference to `factoryWindow::factoryWindow()'
Post by: eumagga0x2a on October 19, 2021, 09:50:43 AM
Should be fixed now, thank you for your report. Qt upgrade to 6.2.0 was necessary to reproduce the problem.