Can't build demos and examples
-
wrote on 21 Mar 2012, 16:18 last edited by
Hello, I just installed Qt and wanted to try some examples. I couldn't build many of them. I use Windows 7 and I built for Desktop. I got these errors from Affine Transformations, Arthur Plugin:
@:-1: error: cannot find -ldemo_shared
:-1: error: collect2: ld returned 1 exit status
@Plug & Paint gave this:
@:-1: error: cannot find -lpnp_basictoolsd
:-1: error: collect2: ld returned 1 exit status@Boxes:
@C:\QtSDK\Demos\4.7\boxes-build-desktop-Qt_4_8_0_for_Desktop_-MinGW__Qt_SDK__Debug..\boxes\qtbox.cpp:-1: In member function 'virtual void QtBox::paint(QPainter*, const QStyleOptionGraphicsItem*, QWidget*)':
C:\QtSDK\Demos\4.7\boxes-build-desktop-Qt_4_8_0_for_Desktop-_MinGW__Qt_SDK__Debug..\boxes\qtbox.cpp:327: error: 'gluPerspective' was not declared in this scope@Cube OpenGL ES 2.0 Example:
@C:\QtSDK\Examples\4.7\opengl\cube-build-desktop-Qt_4_8_0_for_Desktop_-MinGW__Qt_SDK__Debug..\cube\mainwidget.cpp:-1: In member function 'void MainWidget::initTextures()':
C:\QtSDK\Examples\4.7\opengl\cube-build-desktop-Qt_4_8_0_for_Desktop-MinGW__Qt_SDK__Debug..\cube\mainwidget.cpp:135: error: 'GL_TEXTURE0' was not declared in this scope
C:\QtSDK\Examples\4.7\opengl\cube-build-desktop-Qt_4_8_0_for_Desktop-_MinGW__Qt_SDK__Debug..\cube\mainwidget.cpp:135: error: 'glActiveTexture' was not declared in this scope@ -
wrote on 21 Mar 2012, 21:19 last edited by
Please disable the "shadow build"
-
wrote on 21 Mar 2012, 23:57 last edited by
It didn't work. Still same errors.
-
wrote on 2 Apr 2012, 15:39 last edited by
Is there anything else I can try?
-
wrote on 2 Apr 2012, 15:41 last edited by
you are running in debug mode, try in release mode
-
wrote on 2 Apr 2012, 16:07 last edited by
Still no luck. :(
-
wrote on 7 Jun 2012, 14:01 last edited by
one more bump, really want it to work :-)
soo any clues why it misbehaves?