Building doxygen +wizard against qt3-mac or qt3
I attempted to build doxygen +wizard against the the qt3-mac & qt3 port, but got the errors below. Anyone know how to get around this problem? ------ with qt3-mac Error: Target com.apple.build returned: shell command "cd "/opt/local/ var/db/dports/build/ _opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dp orts_textproc_doxygen/work/doxygen-1.5.0" && QTDIR=/opt/local make all pdf" returned error 2 Command output: doxywizard.cpp:1390: error: expected `;' before 'fn' doxywizard.cpp:1391: error: 'fn' was not declared in this scope doxywizard.cpp:1393: error: 'QFile' was not declared in this scope doxywizard.cpp:1393: error: expected `;' before 'f' doxywizard.cpp:1394: error: 'f' was not declared in this scope doxywizard.cpp:1394: error: 'IO_WriteOnly' was not declared in this scope doxywizard.cpp:1396: error: 'QTextStream' was not declared in this scope doxywizard.cpp:1396: error: expected `;' before 't' doxywizard.cpp:1397: error: 't' was not declared in this scope doxywizard.cpp:1397: error: invalid use of undefined type 'struct QTextEdit' doxywizard.h:15: error: forward declaration of 'struct QTextEdit' doxywizard.cpp:1398: error: 'statusBar' was not declared in this scope doxywizard.cpp:1402: error: 'QMessageBox' has not been declared doxywizard.cpp:1403: error: 'warning' was not declared in this scope doxywizard.cpp: In function 'int main(int, char**)': doxywizard.cpp:1412: error: 'QApplication' was not declared in this scope doxywizard.cpp:1412: error: expected `;' before 'a' doxywizard.cpp:844: error: 'MainWidget::~MainWidget()' is private doxywizard.cpp:1413: error: within this context doxywizard.cpp:1109: error: 'void MainWidget::loadConfigFromFile (int)' is private doxywizard.cpp:1416: error: within this context doxywizard.cpp:1416: error: invalid conversion from 'char*' to 'int' doxywizard.cpp:1416: error: initializing argument 1 of 'void MainWidget::loadConfigFromFile(int)' doxywizard.cpp:1420: error: 'printf' was not declared in this scope doxywizard.cpp:1423: error: 'a' was not declared in this scope doxywizard.cpp:1424: error: 'class MainWidget' has no member named 'show' lipo: can't open input file: /var/tmp//ccvIXaU9.out (No such file or directory) make[2]: *** [obj/doxywizard.o] Error 1 make[1]: *** [all] Error 2 make: *** [all] Error 2 Error: Status 1 encountered during processing. ------ ------ with qt3 Error: Target com.apple.build returned: shell command "cd "/opt/local/ var/db/dports/build/ _opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dp orts_textproc_doxygen/work/doxygen-1.5.0" && QTDIR=/opt/local make all pdf" returned error 2 Command output: doxywizard.cpp:1390: error: 'QString' was not declared in this scope doxywizard.cpp:1390: error: expected `;' before 'fn' doxywizard.cpp:1391: error: 'fn' was not declared in this scope doxywizard.cpp:1393: error: 'QFile' was not declared in this scope doxywizard.cpp:1393: error: expected `;' before 'f' doxywizard.cpp:1394: error: 'f' was not declared in this scope doxywizard.cpp:1394: error: 'IO_WriteOnly' was not declared in this scope doxywizard.cpp:1396: error: 'QTextStream' was not declared in this scope doxywizard.cpp:1396: error: expected `;' before 't' doxywizard.cpp:1397: error: 't' was not declared in this scope doxywizard.cpp:1397: error: invalid use of undefined type 'struct QTextEdit' doxywizard.h:15: error: forward declaration of 'struct QTextEdit' doxywizard.cpp:1398: error: 'statusBar' was not declared in this scope doxywizard.cpp:1402: error: 'QMessageBox' has not been declared doxywizard.cpp:1403: error: 'warning' was not declared in this scope doxywizard.cpp: In function 'int main(int, char**)': doxywizard.cpp:1412: error: 'QApplication' was not declared in this scope doxywizard.cpp:1412: error: expected `;' before 'a' doxywizard.cpp:844: error: 'MainWidget::~MainWidget()' is private doxywizard.cpp:1413: error: within this context doxywizard.cpp:1109: error: 'void MainWidget::loadConfigFromFile (int)' is private doxywizard.cpp:1416: error: within this context doxywizard.cpp:1416: error: invalid conversion from 'char*' to 'int' doxywizard.cpp:1416: error: initializing argument 1 of 'void MainWidget::loadConfigFromFile(int)' doxywizard.cpp:1420: error: 'printf' was not declared in this scope doxywizard.cpp:1423: error: 'a' was not declared in this scope doxywizard.cpp:1424: error: 'class MainWidget' has no member named 'show' make[2]: *** [obj/doxywizard.o] Error 1 make[1]: *** [all] Error 2 make: *** [all] Error 2 Error: Status 1 encountered during processing. ------
On Nov 3, 2006, at 1:43 PM, Eric Gorr wrote:
I attempted to build doxygen +wizard against the the qt3-mac & qt3 port, but got the errors below. Anyone know how to get around this problem?
I can confirm that error. It looks like an upstream bug with the doxywizard source. Maybe it needs a newer version of Qt? I'll try the doxygen 1.5.1 source to see if that works. http://svn.macosforge.org/projects/macports/ticket/10985 I'll see if I can figure out how to fix the problem, but in the meantime you should be able to build and run the standard command- line version. Chris
On Nov 3, 2006, at 2:57 PM, cssdev@mac.com wrote:
On Nov 3, 2006, at 1:43 PM, Eric Gorr wrote:
I attempted to build doxygen +wizard against the the qt3-mac & qt3 port, but got the errors below. Anyone know how to get around this problem?
I can confirm that error. It looks like an upstream bug with the doxywizard source. Maybe it needs a newer version of Qt? I'll try the doxygen 1.5.1 source to see if that works.
http://svn.macosforge.org/projects/macports/ticket/10985
I'll see if I can figure out how to fix the problem, but in the meantime you should be able to build and run the standard command- line version.
I just committed a fix for this, but it involves NOT building a universal binary. This is a bit of stopgap solution, as it would be great to have a universal build. This fix lets the wizard build, an a universal build enhancement can be requested if desired. The whole dependency chain would need universal build support, and I don't think we're there yet. :) Chris
participants (2)
-
cssdev@mac.com
-
Eric Gorr