Error: LNK1104: File "glu32.lib" cannot be opened
-
Hi and welcome to devnet,
What version of Qt did you install on which version of Windows ?
-
Which Qt package did you install ?
-
Which one did you download to install Qt 5 ?
-
I just ran into this same problem.
I used all the defaults for the install the first time.
When I got this, I thought I must have messed something up, so I uninstalled and reinstalled.
I used this version from the site:qt-opensource-windows-x86-1.6.0-4-online.exe
The second time, I chose to add in the OpenGL for Visual Studio 2013 64bit and 32bit.
My project still wont build.
I'm running Windows 8.1 Pro 64bit on my Surface Pro 3.
I have Visual Studio 2013 Pro installed, but didn't install the C++ Foundation stuff, unless that's the problem? -
Just an additional clarification. I installed QT on my MacBook Pro, the Mac version went in fine and I made a HelloWorld project and it built and ran fine.
I then went and ran Parallels to run my Windows 8.1 Pro VM. I went and downloaded the latest version from the QT site (same version in my previous post), and installed with all the default options, I didn't check anything. The following is the output from the installer telling me what I was installing:Selected Component(s) without Dependencies
qt
qt.tools
qt.readme
qt.tools.maintenance
Added as dependency for qt.53.
qt.53.doc
qt.53.examples
Component(s) that have resolved Dependencies
qt.53
Added as dependency for qt.tools.qtcreator.
qt.tools.vcredist
Added as dependency for qt.53.win32_msvc2012_opengl.
qt.tools.qtcreator
Component(s) that have resolved Dependencies
qt.53.win32_msvc2012_opengl
qt.53.win64_msvc2012_winphone_x86
Added as dependency for qt.53.win64_msvc2013_64.
qt.tools.vcredist_64
Component(s) that have resolved Dependencies
qt.53.win64_msvc2013_64
qt.53.win64_msvc2012_winphone_arm
qt.53.win64_msvc2013_winrt_x64
Added as dependency for qt.53.android_armv7.
qt.tools.win32_mingw482
Component(s) that have resolved Dependencies
qt.53.android_armv7After the installation, I created a new QT Widgets Application, went to immediately build and I got the link error. The only thing in common with my Surface Pro 3 and my Parallels VM is both have Visual Studio 2013 installed.
-
OK, After messing around with the various project settings when creating a new project, I think I figured out what's wrong... It seems that by default when making a new project during Kit Selection, the "Desktop Qt 5.3 MSVC2012 OpenGL 32bit" kit is selected. I don't have VS2012 installed on either of my WIndows setups.
I uncheck it and leave the "Desktop QT5.3 MVSVC2013 64bit" checked (both were checked by default).
Once the project is created, I build and it seems to work!
The next newbie question is how to remove a kit from my previous projects.
-
Hi and welcome to devnet,
Go in the Project panel and remove the kit from there