[Qt-creator] Undefined reference to _imp___iob
Gib Bogle
g.bogle at auckland.ac.nz
Wed Mar 17 04:44:11 CET 2010
Something odd is happening in the Qt Creator build. When I look at the Compile
Output window, I see that library directories of the various other compilers
that I have installed have been located from my LIBRARY_PATH environment
variable and added in:
-L'd:/Qt/2010.02.1/qt/lib'
-L'c:/Program Files/Intel/Compiler/11.0/039/fortran/mkl/ia32/lib'
-L'c:/Program Files/Intel/MKL/10.0.5.025/ia32/lib'
-L'c:/Program Files/Microsoft Visual Studio/DF98/LIB'
-L'c:/Program Files/Microsoft Visual Studio/VC98/LIB'
-L'c:/Program Files/Intel/Compiler/C++/10.1.011//IA32/Lib'
-L'd:/Qt/2010.02.1/qt/lib'
Note also that .../qt/lib is referred to twice (although this is presumably
harmless). After exploring the Projects page I discovered that one can (in
theory) Unset environmental variables. Aha! I thought, I just need to Unset
LIBRARY_PATH and all will be well. But in fact I found that this made no
difference - all these extra library paths are still in the compile command.
I then noticed that I could click a box labeled "Clear system environment", and
apparently remove all env variables except for the Qt ones. Alas, this had no
effect either.
The next, rather drastic step is to use Control Panel to edit the environment
variables. This requires me to log off and log on as Administrator ... I'll
report back.
More information about the Qt-creator-old
mailing list