Zhu3D
Science
Score 83%
Description:

Zhu3D is an interactive OpenGL-based mathematical function viewer. You can visualize explicite functions, parametric systems and isosurfaces. The viewer supports zooming, scaling and rotating as well as filed lighting or surface properties. Special effects are animation, morphing, transparency, textures, fog and motion blur. Equation systems can be solved with a fast adaptive random search.

You have up to 8 lights, background settings, wire-modes or different illumination models. For picture rendering and textures all common pic-formats are recognized. You can define your own customized functions to any desired complexity level, nested or even recursive functions inclusively. For special purposes if-clauses and boolean operators are supported. Isosurfaces can use different volume-based algorithms.

Zhu3D is originally designed for *nix-systems, but runs as well under Mac OS X or Windows 2000-Vista in all 32/64 bit-flavours. It is fully localized for English, German, Spanish, French and Chinese and partially for Czech (Gui only). API's like KDE, Gnome, Motif, Mac OS or Windows XP/Vista are supported natively. All these settings as well as most others can be changed dynamically at runtime. The application comes with extended help files and a lot of examples. A precompiled and ready-to-go Windows version is available.

HARDWARE:

For basic tasks even a really slow and ancient PC without HW-OpenGL may be sufficient. However, neat things like motion blur, morphing or isosorfaces are a challenge for every GPU/CPU out there. Zhu3D automatically utilizes up to 16 highly optimized parallel threads therefore. When compiling by yourself, you easely can enable vectorizing with SSE3 as an additional boost-option.

COMPILING:

All unnecessary dependencies are strictly avoided. So compiling is a mere child's play at your fingertips. Everything you need is Qt >=4.3 and OpenGL >=1.4 whereas OpenGL may even be a pure software implementation like Mesa. The qmake easily can be taylored for special needs, what supports packagers.


Have fun, Heinz van Saanen
Last changelog:

11 years ago

What is new in 4.2.6

- Removed loading of real ancient Zhu3D-files
- Workaround for 'gluPerspective' error in Qt4 4.8.4
- Fixed compile error on older Suse/Mandriva i686. Special thanks to Pavel for reports
- Fixed tsc-compile error on older Mandriva i686. Special thanks to Pavel for reports
- Fixed tsc-compile error on newest ICC
- Improved Makefile for compilations for newer Intel ICC
- Improved Czech translation. Special thanks to Pavel
- Cosmetic improvements/updates or typo-fixes elsewhere

What was new in 4.2.4

- Fixed a very unlikely but possible memory-bug in the XML-file saving/loading-part
- Fixed a very unlikely but possible memory-leak in speedit.cpp
- Fixes for the timestamp-counter on newer platforms
- Slightly optimized some default window positions after the 1.st start ever
- Made settings-stuff more elegant throughout the code what shrinks the executable size too
- Enabled strip option -s as default compiler switch, what leads to slightly smaller executables
- Disabled senseless -ffast-math switch for GCC
- Switched icons to more modern KDE4-style where this seems optically feasible and consistent
- Cosmetic improvements/updates or typo-fixes elsewhere

C

heinzkde

10 years ago

Thank you for your nice comment. I will give back the roses immediately. I compiled your brandnew version and found the improvements very exciting!

Kind regards, Heinz

Report

ianmackenzie

10 years ago

Nice program! I just compiled Zhu3D on Gentoo from the Sunrise overlay on my amd64 computer and it worked fine - any chance you (or whoever the maintainer is) could add ~amd64 to the package keywords?

Report

C

heinzkde

10 years ago

A amd64-keyword has to be added by the Gentoo-packagers. I somehow wonder that this build is still running, because it is based on a "ancient" 2.3 version. If anything should be odd, compile it by yourself, where you can add the flags easily too. Regards, Heinz

Report

thidney

10 years ago

Hi,
first i want thank you for great program. I use a lot Grapher (http://en.wikipedia.org/wiki/Grapher) and IMHO zhu3d is only program for linux which can match this program.

I created packages for SuSE. Packages are available here:
http://repos.opensuse.org/science/
It is link to repository which can be added to yast.
Or you can click for a while to find rpm packages :)
You will need QT4 which can be found here:
http://repos.opensuse.org/KDE:/Qt/

Report

C

heinzkde

10 years ago

Thank you for the encouraging comment and for packaging of course.

Regards, Heinz van Saanen

Report

thidney

10 years ago

openSuSE packages updated to 2.7.4 They are for 10.0 10.1(SLE{S,D}) and 10.2

I have some ... enhancements.
Examples. Your program is quite capable, it will be worth to show this by examples. It could be bunch of zhu saved files. I can create some of them if you like. Examples will need some menu for easy access though (no file browsing for show them)

Keep great work

Report

trisz

11 years ago

I installed the qt 4.0.0 downloaded from trhe Trolltech's site on the folowing systems:
Suse (SLED 10)
Debian testing (2006. January)

Both of them give the following error message:

/usr/bin/uic-qt4 src/maincontrol.ui -o ui_maincontrol.h
/usr/bin/uic-qt4 src/light.ui -o ui_light.h
/usr/bin/uic-qt4 src/material.ui -o ui_material.h
/usr/bin/uic-qt4 src/entire.ui -o ui_entire.h
/usr/bin/uic-qt4 src/animat.ui -o ui_animat.h
g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_GUI_LIB -DQT_OPENGL_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtCore -I/usr/include/qt4 -I/usr/X11R6/include -I. -I. -o main.o src/main.cpp
./ui_animat.h: In member function 'void Ui_aniUI::setupUi(QWidget*)':
./ui_animat.h:85: error: 'class QProgressBar' has no member named 'setOrientation'
make: *** [main.o] Error 1

Then, I istalled the qt 4.1.4 version downloaded from trhe Trolltech's site.

Zhu3d can be compiled only with this version. If I were you, I reinstalled the qt 4.0.0 version, otherwise Zhu3d could be compiled only on unstable linux versions.

There is another problem present:
The characters in the menus are too small to read it (4-5 pixels), so I can navigate only seeing your screenshots.
Why does not Zhu3d use the system settings?
I use Nvidia's driver. I suppose you have another card. After installing the Nvidia's driver, the character sizes must be heavily enlarged for the system.

Report

C

heinzkde

11 years ago

Add Qt4.0) This was the initial release and is one year old. So an update will not harm:-) Quite sure it works from 4.01 or so.

Ad Fonts) I tried this out now. Indeed Qt is quite unimpressed, when changing font-sizes. I will consider this in a future release. For now, add this in main.cpp (after the initialisation!) and change the pixelsize to your needs:

// Set fontsize
QFont sysFont=QApplication::font();
sysFont.setPixelSize(14);
QApplication::setFont(sysFont);

Report

thomas12777

11 years ago

"Quite sure it works from 4.01 or so."

QGLPixelBuffer (i guess you're using this now for rendering) requires afaik Qt4.1, so compiling on Qt4.01 will probably fail

Report

C

heinzkde

11 years ago

No. For rendering I used a QPixmap, which should work fine in older verions too.

Report

thomas12777

11 years ago

errr.. is everyone here trying to compile from a static makefile?
stupid idea. the qt bins can be placed and named anyhow - depending on the distributors idea of how to organize the system.

the trick is to call the proper (i.e. Qt4) qmake in the top src dir (i.e. where the .pro file is) or pass the .pro file of interest

this should generate a makefile suitable for your system.
if not, your distribution is broken, you mashed up packages (like "hey, why not install a debian package on ubuntu") or lack some.

rather a problem:
at least here (qt-copy from kde svn, is like 4.1.4) qmake seems to misinterpret "QT +=" as "QT =" (i.e. += opengl results in = opengl, no core, no gui) - you could add core and gui to the list to make sure they're included

oh and please: use the "arrage items" button on ui creation (seems to be a windows disease, especially as there are no styles) thanks.

for the rest: cool app. my vote =)

Report

C

heinzkde

11 years ago

Ad qmake) Of course someone has to use the "right" qmake. I made some additional notes to this in the install.txt of the next release now. Who feels unsecure should check "his" version with qmake --version

Ad QT += opengl) If your observation is right and you can confirm this, make a bugreport to Trolltech. But anyhow I can't really believe this. This is a very central point and against all official docs. Using 4.0 to 4.1.4 and all in between I never faced this penomenon.

And of course: thank you for your friendly vote :-)

Report

trisz

11 years ago

The uic-qt4 is a binary file and is in the libqt4-dev Debian package (testing and unstable). It is in the

/usr/bin/ and linked to the qt4 /bin directory.

Trolltech does not deliver just a Debian-special version, but it is patched my the Debian community.

All of the qt4 packages are installed on my system, and I can successfully install another qt4 applications.

What about the symbol conflict?

Do you use qt4.0 or qt4.1, gcc3 or ggc4?

Can you include your Makefile generated by qmake in the source package? I could edit it manually for Debian systems.

Report

C

heinzkde

11 years ago

Last year I used Qt4.0, 4.0x and gcc3, later all 4.1.x, actually I use Qt 4.1.4 and gcc4, so virtually all combinations. Take a look in your mail. I sent you my Makefile. Maybe this will help you.

Report

trisz

11 years ago

I send you the output:

root@Knx4Sid:/media/hda3/debian/INSTALL/3d/zhu3d# qmake zhu3d.pro
QFile::open: No file name specified
QFile::open: No file name specified
qt_config.prf:8: Unknown test function: debug
WARNING: Found potential symbol conflict of error.cpp (src/error.cpp) in SOURCES
WARNING: Found potential symbol conflict of error.h (src/error.h) in HEADERS
root@Knx4Sid:/media/hda3/debian/INSTALL/3d/zhu3d#
root@Knx4Sid:/media/hda3/debian/INSTALL/3d/zhu3d# make
Makefile:393: warning: overriding commands for target `error.o'
Makefile:337: warning: ignoring old commands for target `error.o'
Makefile:481: warning: overriding commands for target `moc_error.o'
Makefile:463: warning: ignoring old commands for target `moc_error.o'
Makefile:520: warning: overriding commands for target `src/moc_error.cpp'
Makefile:502: warning: ignoring old commands for target `src/moc_error.cpp'
/uic-qt4 src/maincontrol.ui -o src/maincontrol.h
make: /uic-qt4: Command not found
make: *** [src/maincontrol.h] Error 127


I have not /uic-qt4, but I have uic-qt4.
I think, this error is not due to the symbol conflict.
So, I modified the Makefile:
/uic-qt4 -> uic-qt4

root@Knx4Sid:/media/hda3/debian/INSTALL/3d/zhu3d# make
Makefile:393: warning: overriding commands for target `error.o'
Makefile:337: warning: ignoring old commands for target `error.o'
Makefile:481: warning: overriding commands for target `moc_error.o'
Makefile:463: warning: ignoring old commands for target `moc_error.o'
Makefile:520: warning: overriding commands for target `src/moc_error.cpp'
Makefile:502: warning: ignoring old commands for target `src/moc_error.cpp'
uic-qt4 src/maincontrol.ui -o src/maincontrol.h
uic-qt4 src/light.ui -o src/light.h
uic-qt4 src/material.ui -o src/material.h
uic-qt4 src/entire.ui -o src/entire.h
uic-qt4 src/animat.ui -o src/animat.h
g++ -c -pipe -Wall -W -O2 -DQT_NO_DEBUG -I/usr/share/qt4/mkspecs/linux-g++ -I. -o main.o src/main.cpp
src/main.cpp:16:24: error: QApplication: No such file or directory
src/main.cpp:17:17: error: QIcon: No such file or directory
src/main.cpp:18:23: error: QMessageBox: No such file or directory
src/main.cpp:19:19: error: QObject: No such file or directory
In file included from src/main.cpp:21:
src/mainwindow.h:20:23: error: QMainWindow: No such file or directory
src/mainwindow.h:21:19: error: QWidget: No such file or directory
src/mainwindow.h:22:19: error: QString: No such file or directory
src/mainwindow.h:26:28: error: ui_maincontrol.h: No such file or directory
In file included from src/mainwindow.h:27,
from src/main.cpp:21:
src/glwidget.h:20:50: error: QGLWidget: No such file or directory
In file included from src/gldraw.h:21,
from src/glwidget.h:22,
from src/mainwindow.h:27,
from src/main.cpp:21:
src/property.h:24:22: error: QByteArray: No such file or directory
In file included from src/mainwindow.h:28,
from src/main.cpp:21:
src/ligedit.h:21:23: error: QCloseEvent: No such file or directory
src/ligedit.h:22:21: error: QSettings: No such file or directory
src/ligedit.h:24:22: error: ui_light.h: No such file or directory
In file included from src/mainwindow.h:29,
from src/main.cpp:21:
src/matedit.h:24:25: error: ui_material.h: No such file or directory
In file included from src/mainwindow.h:30,
from src/main.cpp:21:
src/entedit.h:24:23: error: ui_entire.h: No such file or directory
In file included from src/mainwindow.h:31,
from src/main.cpp:21:
src/aniedit.h:23:18: error: QTimer: No such file or directory
src/aniedit.h:25:23: error: ui_animat.h: No such file or directory
In file included from src/mainwindow.h:33,
from src/main.cpp:21:
src/sysinfo.h:21:43: error: QtOpenGL: No such file or directory
src/property.h:182: error: expected ',' or '...' before 'qstr'
src/property.h:182: error: ISO C++ forbids declaration of 'QString' with no type
src/glwidget.h:31: error: 'QString' does not name a type
src/glwidget.h:44: error: expected class-name before '{' token
src/glwidget.h:46: error: ISO C++ forbids declaration of 'Q_OBJECT' with no type
src/glwidget.h:48: error: expected ';' before 'public'
src/glwidget.h:56: error: expected `:' before 'slots'
src/glwidget.h:58: error: expected primary-expression before 'void'
src/glwidget.h:58: error: ISO C++ forbids declaration of 'slots' with no type
src/glwidget.h:58: error: expected ';' before 'void'
src/glwidget.h:261: error: expected primary-expression before 'void'
src/glwidget.h:261: error: ISO C++ forbids declaration of 'signals' with no type
src/glwidget.h:261: error: expected ';' before 'void'
src/glwidget.h:281: error: 'QMouseEvent' has not been declared
src/glwidget.h:282: error: 'QMouseEvent' has not been declared
src/glwidget.h:283: error: 'QMouseEvent' has not been declared
src/glwidget.h:284: error: 'QCloseEvent' has not been declared
src/glwidget.h:292: error: ISO C++ forbids declaration of 'QAction' with no type
src/glwidget.h:292: error: expected ';' before '*' token
src/glwidget.h:293: error: 'QPoint' does not name a type
src/glwidget.h: In member function 'void OGLWidget::zoomIn()':
src/glwidget.h:63: error: 'updateGL' was not declared in this scope
src/glwidget.h: In member function 'void OGLWidget::zoomOut()':
src/glwidget.h:64: error: 'updateGL' was not declared in this scope
src/glwidget.h: In member function 'void OGLWidget::transLeft()':
src/glwidget.h:67: error: 'updateGL' was not declared in this scope
src/glwidget.h: In member function 'void OGLWidget::transRight()':
src/glwidget.h:68: error: 'updateGL' was not declared in this scope
src/glwidget.h: In member function 'void OGLWidget::transUp()':
src/glwidget.h:69: error: 'updateGL' was not declared in this scope
src/glwidget.h: In member function 'void OGLWidget::transDown()':
src/glwidget.h:70: error: 'updateGL' was not declared in this scope
src/glwidget.h: In member function 'void OGLWidget::drawModeTriangle()':
src/glwidget.h:78: error: 'updateGL' was not declared in this scope
src/glwidget.h: In member function 'void OGLWidget::drawModeQuad()':
src/glwidget.h:79: error: 'updateGL' was not declared in this scope
src/glwidget.h: In member function 'void OGLWidget::drawModePoint()':
src/glwidget.h:80: error: 'updateGL' was not declared in this scope
src/glwidget.h: In member function 'void OGLWidget::drawModeParameter()':
src/glwidget.h:81: error: 'emit' was not declared in this scope
src/glwidget.h:81: error: expected `;' before 'updMaiWid'
src/glwidget.h: In member function 'void OGLWidget::toggleF0()':
src/glwidget.h:84: error: 'updateGL' was not declared in this scope
src/glwidget.h: In member function 'void OGLWidget::toggleF1()':
src/glwidget.h:85: error: 'updateGL' was not declared in this scope
src/glwidget.h: In member function 'void OGLWidget::toggleF2()':
src/glwidget.h:86: error: 'updateGL' was not declared in this scope
src/glwidget.h: In member function 'void OGLWidget::toggleF3()':
src/glwidget.h:87: error: 'updateGL' was not declared in this scope
src/glwidget.h: In member function 'void OGLWidget::toggleCross()':
src/glwidget.h:90: error: 'updateGL' was not declared in this scope
src/glwidget.h: In member function 'void OGLWidget::toggleAxes()':
src/glwidget.h:91: error: 'updateGL' was not declared in this scope
src/glwidget.h: In member function 'void OGLWidget::newFileOpened()':
src/glwidget.h:116: error: 'updateGL' was not declared in this scope
src/glwidget.h: In member function 'void OGLWidget::updateGLonly()':
src/glwidget.h:117: error: 'updateGL' was not declared in this scope
src/glwidget.h: In member function 'void OGLWidget::setLigAll(int)':
src/glwidget.h:131: error: 'updateGL' was not declared in this scope
src/glwidget.h: In member function 'void OGLWidget::ediLigAll(int)':
src/glwidget.h:142: error: 'emit' was not declared in this scope
src/glwidget.h:142: error: expected `;' before 'updLigWid'
src/glwidget.h: In member function 'void OGLWidget::setSpotA(int)':
src/glwidget.h:166: error: 'updateGL' was not declared in this scope
src/glwidget.h: In member function 'void OGLWidget::setSpotI(int)':
src/glwidget.h:167: error: 'updateGL' was not declared in this scope
src/glwidget.h: In member function 'void OGLWidget::setSpotX(int)':
src/glwidget.h:168: error: 'updateGL' was not declared in this scope
src/glwidget.h: In member function 'void OGLWidget::setSpotY(int)':
src/glwidget.h:169: error: 'updateGL' was not declared in this scope
src/glwidget.h: In member function 'void OGLWidget::setSpotZ(int)':
src/glwidget.h:170: error: 'updateGL' was not declared in this scope
src/glwidget.h: In member function 'void OGLWidget::togSpot(bool)':
src/glwidget.h:171: error: 'updateGL' was not declared in this scope
src/glwidget.h: In member function 'void OGLWidget::ediMatAll(int)':
src/glwidget.h:189: error: 'emit' was not declared in this scope
src/glwidget.h:189: error: expected `;' before 'updMatWid'
src/glwidget.h: In member function 'void OGLWidget::matexp(int)':
src/glwidget.h:220: error: 'updateGL' was not declared in this scope
src/glwidget.h: In member function 'void OGLWidget::modInf()':
src/glwidget.h:255: error: 'updateGL' was not declared in this scope
src/glwidget.h: In member function 'void OGLWidget::modLoc()':
src/glwidget.h:256: error: 'updateGL' was not declared in this scope
src/glwidget.h: In member function 'void OGLWidget::modOne()':
src/glwidget.h:257: error: 'emit' was not declared in this scope
src/glwidget.h:257: error: expected `;' before 'updMatWid'
src/glwidget.h:257: error: 'updateGL' was not declared in this scope
src/glwidget.h: In member function 'void OGLWidget::modTwo()':
src/glwidget.h:258: error: 'updateGL' was not declared in this scope
src/ligedit.h: At global scope:
src/ligedit.h:34: error: expected class-name before ',' token
src/ligedit.h:34: error: 'Ui' has not been declared
src/ligedit.h:34: error: expected class-name before '{' token
src/ligedit.h:36: error: ISO C++ forbids declaration of 'Q_OBJECT' with no type
src/ligedit.h:38: error: expected ';' before 'public'
src/ligedit.h:43: error: 'QCloseEvent' has not been declared
src/ligedit.h:45: error: expected `:' before 'slots'
src/ligedit.h:46: error: expected primary-expression before 'void'
src/ligedit.h:46: error: ISO C++ forbids declaration of 'slots' with no type
src/ligedit.h:46: error: expected ';' before 'void'
src/matedit.h:34: error: expected class-name before ',' token
src/matedit.h:34: error: 'Ui' has not been declared
src/matedit.h:34: error: expected class-name before '{' token
src/matedit.h:36: error: ISO C++ forbids declaration of 'Q_OBJECT' with no type
src/matedit.h:38: error: expected ';' before 'public'
src/matedit.h:43: error: 'QCloseEvent' has not been declared
src/matedit.h:45: error: expected `:' before 'slots'
src/matedit.h:46: error: expected primary-expression before 'void'
src/matedit.h:46: error: ISO C++ forbids declaration of 'slots' with no type
src/matedit.h:46: error: expected ';' before 'void'
src/entedit.h:34: error: expected class-name before ',' token
src/entedit.h:34: error: 'Ui' has not been declared
src/entedit.h:34: error: expected class-name before '{' token
src/entedit.h:36: error: ISO C++ forbids declaration of 'Q_OBJECT' with no type
src/entedit.h:38: error: expected ';' before 'public'
src/entedit.h:43: error: 'QCloseEvent' has not been declared
src/entedit.h:45: error: expected `:' before 'slots'
src/entedit.h:46: error: expected primary-expression before 'void'
src/entedit.h:46: error: ISO C++ forbids declaration of 'slots' with no type
src/entedit.h:46: error: expected ';' before 'void'
src/aniedit.h:43: error: expected class-name before ',' token
src/aniedit.h:43: error: 'Ui' has not been declared
src/aniedit.h:43: error: expected class-name before '{' token
src/aniedit.h:45: error: ISO C++ forbids declaration of 'Q_OBJECT' with no type
src/aniedit.h:47: error: expected ';' before 'public'
src/aniedit.h:52: error: 'QCloseEvent' has not been declared
src/aniedit.h:59: error: expected `:' before 'slots'
src/aniedit.h:60: error: expected primary-expression before 'void'
src/aniedit.h:60: error: ISO C++ forbids declaration of 'slots' with no type
src/aniedit.h:60: error: expected ';' before 'void'
src/aniedit.h:70: error: expected primary-expression before 'void'
src/aniedit.h:70: error: ISO C++ forbids declaration of 'signals' with no type
src/aniedit.h:70: error: expected ';' before 'void'
src/aniedit.h:78: error: ISO C++ forbids declaration of 'QTimer' with no type
src/aniedit.h:78: error: expected ';' before '*' token
src/sysinfo.h:28: error: 'QString' does not name a type
src/mainwindow.h:41: error: 'QString' does not name a type
src/mainwindow.h:42: error: 'QString' does not name a type
src/mainwindow.h:56: error: expected class-name before ',' token
src/mainwindow.h:56: error: 'Ui' has not been declared
src/mainwindow.h:56: error: expected class-name before '{' token
src/mainwindow.h:58: error: ISO C++ forbids declaration of 'Q_OBJECT' with no type
src/mainwindow.h:60: error: expected ';' before 'public'
src/mainwindow.h:64: error: 'QCloseEvent' has not been declared
src/mainwindow.h:66: error: expected `:' before 'slots'
src/mainwindow.h:67: error: expected primary-expression before 'void'
src/mainwindow.h:67: error: ISO C++ forbids declaration of 'slots' with no type
src/mainwindow.h:67: error: expected ';' before 'void'
src/mainwindow.h:71: error: expected `:' before 'slots'
src/mainwindow.h:72: error: expected primary-expression before 'void'
src/mainwindow.h:72: error: ISO C++ forbids declaration of 'slots' with no type
src/mainwindow.h:72: error: expected ';' before 'void'
src/mainwindow.h:103: error: expected primary-expression before 'void'
src/mainwindow.h:103: error: ISO C++ forbids declaration of 'signals' with no type
src/mainwindow.h:103: error: expected ';' before 'void'
src/mainwindow.h:117: error: expected ',' or '...' before '&' token
src/mainwindow.h:117: error: ISO C++ forbids declaration of 'QString' with no type
src/mainwindow.h:118: error: expected ',' or '...' before '&' token
src/mainwindow.h:118: error: ISO C++ forbids declaration of 'QString' with no type
src/mainwindow.h:119: error: expected ',' or '...' before '&' token
src/mainwindow.h:119: error: ISO C++ forbids declaration of 'QString' with no type
src/mainwindow.h:120: error: 'QString' does not name a type
src/mainwindow.h:121: error: 'QString' does not name a type
src/mainwindow.h:125: error: ISO C++ forbids declaration of 'QWidget' with no type
src/mainwindow.h:125: error: expected ';' before '*' token
src/mainwindow.h:126: error: ISO C++ forbids declaration of 'QTextEdit' with no type
src/mainwindow.h:126: error: expected ';' before '*' token
src/mainwindow.h:139: error: ISO C++ forbids declaration of 'QToolBar' with no type
src/mainwindow.h:139: error: expected ';' before '*' token
src/mainwindow.h:140: error: ISO C++ forbids declaration of 'QToolBar' with no type
src/mainwindow.h:140: error: expected ';' before '*' token
src/mainwindow.h:141: error: ISO C++ forbids declaration of 'QToolBar' with no type
src/mainwindow.h:141: error: expected ';' before '*' token
src/mainwindow.h:142: error: ISO C++ forbids declaration of 'QToolBar' with no type
src/mainwindow.h:142: error: expected ';' before '*' token
src/mainwindow.h: In member function 'void MainWindow::closeEvent(int*)':
src/mainwindow.h:64: error: request for member 'accept' in '* event', which is of non-class type 'int'
src/main.cpp: At global scope:
src/main.cpp:33: error: 'QString' does not name a type
src/main.cpp:34: error: 'QString' does not name a type
src/main.cpp: In function 'int main(int, char**)':
src/main.cpp:56: error: 'QApplication' was not declared in this scope
src/main.cpp:56: error: expected `;' before 'app'
src/main.cpp:59: error: 'QIcon' was not declared in this scope
src/main.cpp:59: error: expected `;' before 'appIcon'
src/main.cpp:60: error: 'app' was not declared in this scope
src/main.cpp:60: error: 'appIcon' was not declared in this scope
src/main.cpp:61: error: 'appPath' was not declared in this scope
src/main.cpp:61: error: 'QCoreApplication' has not been declared
src/main.cpp:61: error: 'applicationDirPath' was not declared in this scope
src/main.cpp:65: error: 'argStr' was not declared in this scope
src/main.cpp:81: error: 'QMessageBox' has not been declared
src/main.cpp:83: error: 'QObject' has not been declared
src/main.cpp:83: error: 'tr' was not declared in this scope
src/main.cpp:84: error: 'QObject' has not been declared
src/main.cpp:86: error: 'critical' was not declared in this scope
src/main.cpp:92: error: 'QMessageBox' has not been declared
src/main.cpp:94: error: 'QObject' has not been declared
src/main.cpp:94: error: 'tr' was not declared in this scope
src/main.cpp:95: error: 'QObject' has not been declared
src/main.cpp:98: error: 'information' was not declared in this scope
src/main.cpp:112: error: 'class MainWindow' has no member named 'show'
make: *** [main.o] Error 1

Report

C

heinzkde

11 years ago

I still think your Qt4-installation is somehow broken. E.g I checked my system for uic and found it just named 'uic' for both Qt3 and Qt4. Not 'uic-qt4' or something else mentioned above. I cannot imagine, that Trolltech delivers just a Debian-special version.

Report

dev-zero

11 years ago

I tried to make a package for Gentoo Linux and encountered several problems:
The first problem is that the archive has no version tag which makes it hard to auto-fetch and compile it. The only way for a packager would be to host a renamed package on a seperate mirror. So, if you could name the packages something like zhu3d-1.3.tar.gz, it would be very helpful.
The second problem are the paths: If you install a package, the binary usually goes to /usr/bin and the example/startup-scripts to /usr/share/zhu3d. You could use a macro instead of appPath to make this possible...

Report

C

heinzkde

11 years ago

Nice idea to make packages. Of course I will try to support this effort. As I am not a package-expert at all, I will mail you some questions. Maybe I find a solution, which is useful for RPM- or deb-packagers too with your help.

When it comes to version 1.4, I would ask you to check it out, before it goes online.

Report

trisz

11 years ago

Cannot be installed on Debian.
Tonns of errors in the makefile.
It cannot find the uic-qt4, but it is installed, it is in the path and the environmental variables have been set correctly. It cannot be edited manually, a total revision is need.

Report

C

heinzkde

11 years ago

There are no dependencies on different Linux-distributions, not even on different OS's. The only exception are some lines of assembler-code for Mac-OS X, but this has absolutely nothing to do with the Makefile.

The latter is not generated by Zhu3D, it is generated by Qt4.x. So I guess, you have some quirk with your Qt-installation.

Why you can't edit your Makefile? Apart from that this is not neccessary, I have no idea. Maybe check your system-permissions.

When you want me to help you, send me an e-mail. But revise your infos and be a little more specific.

Report

trisz

11 years ago

I tried to edit makefile, but every time new problems appeared. The first two were two strange paths for files...

I will give you all of them.

I can succesfully install other qt4 applications.

Report

C

heinzkde

11 years ago

You never should have to edit the Makefile by yourself. When Qt4 is installed properly, it should produce this automatically after the 'qmake'. I tested this on 4 different OS's and see no good reason why it should not work for Debian.

Report

IndigoJo

11 years ago

Due to upload limitations this package unfortunately is missing some heavyweight DLL's. If Qt4 is not installed on your system, check the readme in the Windows-folder. If somebody is interested in hosting the complete package (3,5 MB) including all DLL's, give me a short notice.

Why not set up a Sourceforge project for it, so you can release files of whatever size you like?

Report

C

heinzkde

11 years ago

I took a quick look on Sourceforge. To be honest, the procedure seemed quite complicated to me at a first glance. Maybe when there is more time I will check this out in future. But maybe it does no harm, when Windows-users are installing Qt4 for the first time :-)

Currently I prefer using my spare time for further improvements for the Linux-people. If you are interested, watch out for the new Zhu3D-version, which is coming soon and first time supports transparency.

Thanks for your suggestion, Heinz



Report

11 years ago

What is new in 4.2.6

- Removed loading of real ancient Zhu3D-files
- Workaround for 'gluPerspective' error in Qt4 4.8.4
- Fixed compile error on older Suse/Mandriva i686. Special thanks to Pavel for reports
- Fixed tsc-compile error on older Mandriva i686. Special thanks to Pavel for reports
- Fixed tsc-compile error on newest ICC
- Improved Makefile for compilations for newer Intel ICC
- Improved Czech translation. Special thanks to Pavel
- Cosmetic improvements/updates or typo-fixes elsewhere

What was new in 4.2.4

- Fixed a very unlikely but possible memory-bug in the XML-file saving/loading-part
- Fixed a very unlikely but possible memory-leak in speedit.cpp
- Fixes for the timestamp-counter on newer platforms
- Slightly optimized some default window positions after the 1.st start ever
- Made settings-stuff more elegant throughout the code what shrinks the executable size too
- Enabled strip option -s as default compiler switch, what leads to slightly smaller executables
- Disabled senseless -ffast-math switch for GCC
- Switched icons to more modern KDE4-style where this seems optically feasible and consistent
- Cosmetic improvements/updates or typo-fixes elsewhere

product-maker 45 251

File (click to download) Version Description Filetype Packagetype License Downloads Date Filesize OCS-Install DL
Details
version
4.2.4
updated Apr 18 2013
added Jul 23 2006
downloads today
0
page views today 0