I've used the answer here with success on previous installations but hitting a roadblock this time: How to install SIP & PyQT on windows 7
I get an error on the nmake step (see below):
C:\source>cd sip-4.19.9
C:\source\sip-4.19.9>python configure.py
This is SIP 4.19.9.dev1804161501 for Python 2.7.14 on win32.
The SIP code generator will be installed in c:\python27.
The sip module will be installed in c:\python27\Lib\site-packages.
The sip.pyi stub file will be installed in c:\python27\Lib\site-packages.
The sip.h header file will be installed in c:\python27\include.
The default directory to install .sip files in is c:\python27\sip.
Creating siplib\sip.h...
Creating siplib\siplib.c...
Creating siplib\siplib.sbf...
Creating sipconfig.py...
Creating top level Makefile...
Creating sip code generator Makefile...
Creating sip module Makefile...
C:\source\sip-4.19.9>"C:\Qt\5.10.0\msvc2015\bin\qtenv2.bat"
Setting up environment for Qt usage...
Remember to call vcvarsall.bat to complete environment setup!
C:\Qt\5.10.0\msvc2015>"C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat"
C:\Qt\5.10.0\msvc2015>cd \source\sip-4.19.9
C:\source\sip-4.19.9>nmake
Microsoft (R) Program Maintenance Utility Version 14.00.24234.1
Copyright (C) Microsoft Corporation. All rights reserved.
cd sipgen
"C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\nmake.exe"
Microsoft (R) Program Maintenance Utility Version 14.00.24234.1
Copyright (C) Microsoft Corporation. All rights reserved.
cd siplib
"C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\nmake.exe"
Microsoft (R) Program Maintenance Utility Version 14.00.24234.1
Copyright (C) Microsoft Corporation. All rights reserved.
cl -c -nologo -Zm200 -Zc:wchar_t- -O2 -MD -W3 -DNDEBUG -DUNICODE -DWIN32 -DQT_LARGEFILE_SUPPORT -I. -Ic:\python27\include -Fo #C:\Users\suzanne\AppData\Local\Temp\nmB36B.tmp
siplib.c
apiversions.c
descriptors.c
qtlib.c
threads.c
objmap.c
voidptr.c
array.c
int_convertors.c
Generating Code...
cl -c -nologo -Zm200 -Zc:wchar_t- -O2 -MD -W3 -w34100 -w34189 -DNDEBUG -DUNICODE -DWIN32 -DQT_LARGEFILE_SUPPORT -I. -Ic:\python27\include -Fo #C:\Users\suzanne\AppData\Local\Temp\nmB8AB.tmp
bool.cpp
link /NOLOGO /DYNAMICBASE /NXCOMPAT /DLL /MANIFEST /MANIFESTFILE:sip.pyd.manifest /SUBSYSTEM:CONSOLE /INCREMENTAL:NO /OUT:sip.pyd #C:\Users\suzanne\AppData\Local\Temp\nmB939.tmp
Creating library sip.lib and object sip.exp
mt -nologo -manifest sip.pyd.manifest -outputresource:sip.pyd;2
'mt' is not recognized as an internal or external command,
operable program or batch file.
NMAKE : fatal error U1077: 'mt' : return code '0x1'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\nmake.exe"' : return code '0x2'
Stop.
Figured it out...
mt.exe part of Visual Studio's Windows SDK, which wasn't installed. Went back and installed it through Get Tools and Features.
Then found \x86\mt.exe and added it to path.
Related
This is the console output for command catkin_make
I am currently trying to setup a virtual environment for the turtlebot3 based on the windows variation: https://emanual.robotis.com/docs/en/platform/turtlebot3/pc_setup/
Setting up Ros1 under windows worked without problems, but the command
catkin_make
on the turtlebot site gave me an error.
CMakeError:
Determining if the include file pthread.h exists failed with the
following output: Change Dir:
C:/ws/turtlebot3/build/CMakeFiles/CMakeTmp
Run Build Command(s):nmake /nologo cmTC_af455\fast && "C:\Program
Files (x86)\Microsoft Visual
Studio\2019\Community\VC\Tools\MSVC\14.26.28801\bin\HostX64\x64\nmake.exe"
-f CMakeFiles\cmTC_af455.dir\build.make /nologo -L CMakeFiles\cmTC_af455.dir\build
Building C object CMakeFiles/cmTC_af455.dir/CheckIncludeFile.c.obj
C:\PROGRA~2\MICROS~1\2019\COMMUN~1\VC\Tools\MSVC\1426~1.288\bin\Hostx64\x64\cl.exe
#C:\Users\Braun\AppData\Local\Temp\nm756D.tmp
CheckIncludeFile.c
C:\ws\turtlebot3\build\CMakeFiles\CMakeTmp\CheckIncludeFile.c(1):
fatal error C1083: Cannot open include file: 'pthread.h': No such file
or directory
NMAKE : fatal error U1077:
'C:\PROGRA~2\MICROS~1\2019\COMMUN~1\VC\Tools\MSVC\1426~1.288\bin\Hostx64\x64\cl.exe'
: return code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual
Studio\2019\Community\VC\Tools\MSVC\14.26.28801\bin\HostX64\x64\nmake.exe"'
: return code '0x2'
Stop.
CMakeOutput:
The system is: Windows - 10.0.18363 - AMD64 Compiling the C compiler
identification source file "CMakeCCompilerId.c" succeeded. Compiler:
C:/Program Files (x86)/Microsoft Visual
Studio/2019/Community/VC/Tools/MSVC/14.26.28801/bin/Hostx64/x64/cl.exe
Build flags: Id flags:
The output was: 0 Microsoft (R) C/C++ Optimizing Compiler Version
19.26.28806 for x64 Copyright (C) Microsoft Corporation. All rights reserved.
CMakeCCompilerId.c Microsoft (R) Incremental Linker Version
14.26.28806.0 Copyright (C) Microsoft Corporation. All rights reserved.
/out:CMakeCCompilerId.exe CMakeCCompilerId.obj
Compilation of the C compiler identification source
"CMakeCCompilerId.c" produced "CMakeCCompilerId.exe"
Compilation of the C compiler identification source
"CMakeCCompilerId.c" produced "CMakeCCompilerId.obj"
The C compiler identification is MSVC, found in
"C:/ws/turtlebot3/build/CMakeFiles/3.17.3/CompilerIdC/CMakeCCompilerId.exe"
Compiling the CXX compiler identification source file
"CMakeCXXCompilerId.cpp" succeeded. Compiler: C:/Program Files
(x86)/Microsoft Visual
Studio/2019/Community/VC/Tools/MSVC/14.26.28801/bin/Hostx64/x64/cl.exe
Build flags: Id flags:
The output was: 0 Microsoft (R) C/C++ Optimizing Compiler Version
19.26.28806 for x64 Copyright (C) Microsoft Corporation. All rights reserved.
CMakeCXXCompilerId.cpp Microsoft (R) Incremental Linker Version
14.26.28806.0 Copyright (C) Microsoft Corporation. All rights reserved.
/out:CMakeCXXCompilerId.exe CMakeCXXCompilerId.obj
Compilation of the CXX compiler identification source
"CMakeCXXCompilerId.cpp" produced "CMakeCXXCompilerId.exe"
Compilation of the CXX compiler identification source
"CMakeCXXCompilerId.cpp" produced "CMakeCXXCompilerId.obj"
The CXX compiler identification is MSVC, found in
"C:/ws/turtlebot3/build/CMakeFiles/3.17.3/CompilerIdCXX/CMakeCXXCompilerId.exe"
Determining if the C compiler works passed with the following output:
Change Dir: C:/ws/turtlebot3/build/CMakeFiles/CMakeTmp
Run Build Command(s):nmake /nologo cmTC_6bdf7\fast && "C:\Program
Files (x86)\Microsoft Visual
Studio\2019\Community\VC\Tools\MSVC\14.26.28801\bin\HostX64\x64\nmake.exe"
-f CMakeFiles\cmTC_6bdf7.dir\build.make /nologo -L CMakeFiles\cmTC_6bdf7.dir\build
Building C object CMakeFiles/cmTC_6bdf7.dir/testCCompiler.c.obj
C:\PROGRA~2\MICROS~1\2019\COMMUN~1\VC\Tools\MSVC\1426~1.288\bin\Hostx64\x64\cl.exe
#C:\Users\Braun\AppData\Local\Temp\nm6A32.tmp
testCCompiler.c
Linking C executable cmTC_6bdf7.exe
C:\opt\python27amd64\Lib\site-packages\cmake\data\bin\cmake.exe -E
vs_link_exe --intdir=CMakeFiles\cmTC_6bdf7.dir
--rc=C:\PROGRA~2\WI3CF2~1\10\bin\100183~1.0\x64\rc.exe --mt=C:\PROGRA~2\WI3CF2~1\10\bin\100183~1.0\x64\mt.exe --manifests -- C:\PROGRA~2\MICROS~1\2019\COMMUN~1\VC\Tools\MSVC\1426~1.288\bin\Hostx64\x64\link.exe
/nologo #CMakeFiles\cmTC_6bdf7.dir\objects1.rsp
#C:\Users\Braun\AppData\Local\Temp\nm6B6C.tmp
Detecting C compiler ABI info compiled with the following output:
Change Dir: C:/ws/turtlebot3/build/CMakeFiles/CMakeTmp
Run Build Command(s):nmake /nologo cmTC_5fcdd\fast && "C:\Program
Files (x86)\Microsoft Visual
Studio\2019\Community\VC\Tools\MSVC\14.26.28801\bin\HostX64\x64\nmake.exe"
-f CMakeFiles\cmTC_5fcdd.dir\build.make /nologo -L CMakeFiles\cmTC_5fcdd.dir\build
Building C object CMakeFiles/cmTC_5fcdd.dir/CMakeCCompilerABI.c.obj
C:\PROGRA~2\MICROS~1\2019\COMMUN~1\VC\Tools\MSVC\1426~1.288\bin\Hostx64\x64\cl.exe
#C:\Users\Braun\AppData\Local\Temp\nm6C84.tmp
CMakeCCompilerABI.c
Linking C executable cmTC_5fcdd.exe
C:\opt\python27amd64\Lib\site-packages\cmake\data\bin\cmake.exe -E
vs_link_exe --intdir=CMakeFiles\cmTC_5fcdd.dir
--rc=C:\PROGRA~2\WI3CF2~1\10\bin\100183~1.0\x64\rc.exe --mt=C:\PROGRA~2\WI3CF2~1\10\bin\100183~1.0\x64\mt.exe --manifests -- C:\PROGRA~2\MICROS~1\2019\COMMUN~1\VC\Tools\MSVC\1426~1.288\bin\Hostx64\x64\link.exe
/nologo #CMakeFiles\cmTC_5fcdd.dir\objects1.rsp
#C:\Users\Braun\AppData\Local\Temp\nm6CC4.tmp
Determining if the CXX compiler works passed with the following
output: Change Dir: C:/ws/turtlebot3/build/CMakeFiles/CMakeTmp
Run Build Command(s):nmake /nologo cmTC_f8e3d\fast && "C:\Program
Files (x86)\Microsoft Visual
Studio\2019\Community\VC\Tools\MSVC\14.26.28801\bin\HostX64\x64\nmake.exe"
-f CMakeFiles\cmTC_f8e3d.dir\build.make /nologo -L CMakeFiles\cmTC_f8e3d.dir\build
Building CXX object CMakeFiles/cmTC_f8e3d.dir/testCXXCompiler.cxx.obj
C:\PROGRA~2\MICROS~1\2019\COMMUN~1\VC\Tools\MSVC\1426~1.288\bin\Hostx64\x64\cl.exe
#C:\Users\Braun\AppData\Local\Temp\nm6DEC.tmp
testCXXCompiler.cxx
Linking CXX executable cmTC_f8e3d.exe
C:\opt\python27amd64\Lib\site-packages\cmake\data\bin\cmake.exe -E
vs_link_exe --intdir=CMakeFiles\cmTC_f8e3d.dir
--rc=C:\PROGRA~2\WI3CF2~1\10\bin\100183~1.0\x64\rc.exe --mt=C:\PROGRA~2\WI3CF2~1\10\bin\100183~1.0\x64\mt.exe --manifests -- C:\PROGRA~2\MICROS~1\2019\COMMUN~1\VC\Tools\MSVC\1426~1.288\bin\Hostx64\x64\link.exe
/nologo #CMakeFiles\cmTC_f8e3d.dir\objects1.rsp
#C:\Users\Braun\AppData\Local\Temp\nm6E2B.tmp
Detecting CXX compiler ABI info compiled with the following output:
Change Dir: C:/ws/turtlebot3/build/CMakeFiles/CMakeTmp
Run Build Command(s):nmake /nologo cmTC_39a62\fast && "C:\Program
Files (x86)\Microsoft Visual
Studio\2019\Community\VC\Tools\MSVC\14.26.28801\bin\HostX64\x64\nmake.exe"
-f CMakeFiles\cmTC_39a62.dir\build.make /nologo -L CMakeFiles\cmTC_39a62.dir\build
Building CXX object
CMakeFiles/cmTC_39a62.dir/CMakeCXXCompilerABI.cpp.obj
C:\PROGRA~2\MICROS~1\2019\COMMUN~1\VC\Tools\MSVC\1426~1.288\bin\Hostx64\x64\cl.exe
#C:\Users\Braun\AppData\Local\Temp\nm6F24.tmp
CMakeCXXCompilerABI.cpp
Linking CXX executable cmTC_39a62.exe
C:\opt\python27amd64\Lib\site-packages\cmake\data\bin\cmake.exe -E
vs_link_exe --intdir=CMakeFiles\cmTC_39a62.dir
--rc=C:\PROGRA~2\WI3CF2~1\10\bin\100183~1.0\x64\rc.exe --mt=C:\PROGRA~2\WI3CF2~1\10\bin\100183~1.0\x64\mt.exe --manifests -- C:\PROGRA~2\MICROS~1\2019\COMMUN~1\VC\Tools\MSVC\1426~1.288\bin\Hostx64\x64\link.exe
/nologo #CMakeFiles\cmTC_39a62.dir\objects1.rsp
#C:\Users\Braun\AppData\Local\Temp\nm6F64.tmp
There is also error text in the console during the command:
CMake Error at
opt/rosdeps/x64/share/protobuf/protobuf-targets.cmake:37 (message):
Some (but not all) targets in this export set were already defined.
targets defined: protobuf::libprotobuf;protobuf::libprotoc
targets not yet defined: protobuf::protoc
When compiling using nmake, I am receiving errors.
At first, I have first tried using msys according to Vern's excellent tutorial: https://stackoverflow.com/a/22649559/5092846
I then tried using msys2 to perform the same steps with the same results
These are my configuration parameters(zlib,pcre,openssl, and nginx-rtmp-module are present in the correct directories):
auto/configure \
--with-cc=cl \
--with-debug \
--prefix= \
--conf-path=conf/nginx.conf \
--pid-path=logs/nginx.pid \
--http-log-path=logs/access.log \
--error-log-path=logs/error.log \
--sbin-path=nginx.exe \
--http-client-body-temp-path=temp/client_body_temp \
--http-proxy-temp-path=temp/proxy_temp \
--http-fastcgi-temp-path=temp/fastcgi_temp \
--http-scgi-temp-path=temp/scgi_temp \
--http-uwsgi-temp-path=temp/uwsgi_temp \
--with-cc-opt=-DFD_SETSIZE=1024 \
--with-pcre=objs/lib/pcre-8.43 \
--with-zlib=objs/lib/zlib-1.2.11 \
--with-openssl=objs/lib/openssl-1.1.1c \
--with-openssl-opt=no-asm \
--with-http_ssl_module \
--add-module=nginx-rtmp-module
The result of running nmake -f Makefile is:
$ nmake -f Makefile
Microsoft (R) Program Maintenance Utility Version 14.23.28105.4
Copyright (C) Microsoft Corporation. All rights reserved.
"C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.23.28105\bin\Hostx86\x86\nmake.exe" -f objs/Makefile
Microsoft (R) Program Maintenance Utility Version 14.23.28105.4
Copyright (C) Microsoft Corporation. All rights reserved.
"C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.23.28105\bin\Hostx86\x86\nmake.exe" -f auto/lib/openssl/makefile.msvc OPENSSL="objs/lib/openssl-1.1.1c" OPENSSL_OPT="no-asm"
Microsoft (R) Program Maintenance Utility Version 14.23.28105.4
Copyright (C) Microsoft Corporation. All rights reserved.
cd objs/lib/openssl-1.1.1c
perl Configure VC-WIN32 no-shared --prefix="%cd%/openssl" --openssldir="%cd%/openssl/ssl" no-asm
Configuring OpenSSL version 1.1.1c (0x1010103fL) for VC-WIN32
Using os-specific seed configuration
Creating configdata.pm
Creating makefile
**********************************************************************
*** ***
*** OpenSSL has been successfully configured ***
*** ***
*** If you encounter a problem while building, please open an ***
*** issue on GitHub <https://github.com/openssl/openssl/issues> ***
*** and include the output from the following command: ***
*** ***
*** perl configdata.pm --dump ***
*** ***
*** (If you are new to OpenSSL, you might want to consult the ***
*** 'Troubleshooting' section in the INSTALL file first) ***
*** ***
**********************************************************************
if exist ms\do_ms.bat ( ms\do_ms && "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.23.28105\bin\Hostx86\x86\nmake.exe" -f ms\nt.mak && "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.23.28105\bin\Hostx86\x86\nmake.exe" -f ms\nt.mak install ) else ( "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.23.28105\bin\Hostx86\x86\nmake.exe" && "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.23.28105\bin\Hostx86\x86\nmake.exe" install_sw )
Microsoft (R) Program Maintenance Utility Version 14.23.28105.4
Copyright (C) Microsoft Corporation. All rights reserved.
"C:\perl32\Strawberry\perl\bin\perl.exe" "-I." -Mconfigdata "util\dofile.pl" "-omakefile" "crypto\include\internal\bn_conf.h.in" > crypto\include\internal\bn_conf.h
"C:\perl32\Strawberry\perl\bin\perl.exe" "-I." -Mconfigdata "util\dofile.pl" "-omakefile" "crypto\include\internal\dso_conf.h.in" > crypto\include\internal\dso_conf.h
"C:\perl32\Strawberry\perl\bin\perl.exe" "-I." -Mconfigdata "util\dofile.pl" "-omakefile" "include\openssl\opensslconf.h.in" > include\openssl\opensslconf.h
"C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.23.28105\bin\Hostx86\x86\nmake.exe" / depend && "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.23.28105\bin\Hostx86\x86\nmake.exe" / _all
Microsoft (R) Program Maintenance Utility Version 14.23.28105.4
Copyright (C) Microsoft Corporation. All rights reserved.
Microsoft (R) Program Maintenance Utility Version 14.23.28105.4
Copyright (C) Microsoft Corporation. All rights reserved.
"C:\perl32\Strawberry\perl\bin\perl.exe" "util\mkbuildinf.pl" "cl /Zi /Fdossl_static.pdb /MT /Zl /Gs0 /GF /Gy /W3 /wd4090 /nologo /O2 /WX -D"L_ENDIAN" -D"OPENSSL_PIC"" "VC-WIN32" > crypto\buildinf.h
cl /Zi /Fdossl_static.pdb /MT /Zl /Gs0 /GF /Gy /W3 /wd4090 /nologo /O2 /WX /I "." /I "crypto\include" /I "include" /I "crypto" -D"L_ENDIAN" -D"OPENSSL_PIC" -D"OPENSSLDIR=\"C:\\MinGW\\msys2\\nginx\\objs\\lib\\openssl-1.1.1c\\openssl\\ssl\"" -D"ENGINESDIR=\"C:\\MinGW\\msys2\\nginx\\objs\\lib\\openssl-1.1.1c\\openssl\\lib\\engines-1_1\"" -D"OPENSSL_SYS_WIN32" -D"WIN32_LEAN_AND_MEAN" -D"UNICODE" -D"_UNICODE" -D"_CRT_SECURE_NO_DEPRECATE" -D"_WINSOCK_DEPRECATED_NO_WARNINGS" -D"NDEBUG" -c /Focrypto\cversion.obj "crypto\cversion.c"
cversion.c
C:\MinGW\msys2\nginx\objs\lib\openssl-1.1.1c\include\internal/cryptlib.h(13): fatal error C1083: Cannot open include file: 'stdlib.h': No such file or directory
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.23.28105\bin\Hostx86\x86\cl.EXE"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.23.28105\bin\Hostx86\x86\nmake.exe"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'if' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.23.28105\bin\Hostx86\x86\nmake.exe"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.23.28105\bin\Hostx86\x86\nmake.exe"' : return code '0x2'
Stop.
If I understand this correctly, the failure is during the compilation of openssl - in the stdlib.h file(or lack thereof).
The issue was resolved by first launching the "Developer Command Prompt for VS 2019" prompt and then running msys from inside of it.
I've trying to compile libSVM on W10 with Visual Studio 2015 Enterprise compiler and I get this error.
I type nmake -f makefile.win
Microsoft (R) Program Maintenance Utility Version 14.00.24210.0
Copyright (C) Microsoft Corporation. All rights reserved.
cl.exe -nologo -O2 -EHsc -I. -D __WIN32__ -D _CRT_SECURE_NO_DEPRECATE -c timer.cpp
timer.cpp
timer.cpp(26): fatal error C1083: Cannot open include file: 'limits': No such file or directory
NMAKE : fatal error U1077: '"c:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\cl.exe"' : return code '0x2'
Stop.
It seems some problem with visual studio installation?
I've think that was something related to the C++ Compiler.
I've been trying to get qxt working in Windows with MSVC 2010.
I have installed Qt 4.8.4 into "D:\Qt\4.8.4", and installed qxt into "D:\libqxt". I configured qxt as follows:
D:\libqxt>configure -prefix D:\libqxt -debug_and_release
And then compiled from the Qt command line:
D:\libqxt>nmake
No errors show up on configuration or compilation, but when I try to compile the examples, I get the following:
D:\libqxt\examples>qmake examples.pro
D:\libqxt\examples>nmake
Microsoft (R) Program Maintenance Utility Version 10.00.30319.01
Copyright (C) Microsoft Corporation. All rights reserved.
cd displaysettings\ && "C:\Program Files (x86)\Microsoft Visual Studio 1
0.0\VC\BIN\nmake.exe" -f Makefile
Microsoft (R) Program Maintenance Utility Version 10.00.30319.01
Copyright (C) Microsoft Corporation. All rights reserved.
d:\Qt\4.8.4\bin\qmake.exe -o Makefile displaysettings.pro
"C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\BIN\nmake.exe" -
f Makefile.Debug all
Microsoft (R) Program Maintenance Utility Version 10.00.30319.01
Copyright (C) Microsoft Corporation. All rights reserved.
compiling .\displaysettingsdialog.cpp .\main.cpp
displaysettingsdialog.cpp
D:\libqxt\include\QxtGui\QxtScreen(1) : fatal error C1083: Cannot open include f
ile: 'qxtscreen.h': No such file or directory
main.cpp
D:\libqxt\include\QxtGui\QxtScreen(1) : fatal error C1083: Cannot open include f
ile: 'qxtscreen.h': No such file or directory
Generating Code...
NMAKE : fatal error U1077: 'echo' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 10.0
\VC\BIN\nmake.exe"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'cd' : return code '0x2'
Stop.
Examining the makefiles, I see that "D:\libqxt\include" is in the include path, but that isn't where "qxtscreen.h" is located--it's in the "D:\libqxt\src" tree. I could, of course, manually edit the makefiles to add this, but I feel like that shouldn't be required, and perhaps this indicates that I've missed a step. What have I done wrong?
Thanks for your help!
I have successfully configured OpenSSL for building, but when I run nmake I get this:
c:\Development\Qt\5\OpenSSL>nmake -f ms\ntdll.mak test
Microsoft (R) Program Maintenance Utility Version 10.00.30319.01
Copyright (C) Microsoft Corporation. All rights reserved.
cl /Fotmp32dll\md4test.obj -Iinc32 -Itmp32dll /MD /Ox /O2 /Ob2 -DOPENSSL_THREADS -DDSO_WIN32
-W3 -Gs0 -GF -Gy -nologo -DOPENSSL_SYSNAME_WIN32 -DWIN32_LEAN_AND_MEAN -DL_ENDIAN -D_CRT_SECURE_NO_DEPRECATE
-DOPENSSL_USE_APPLINK -I. -DOPENSSL_NO_RC5 -DOPENSSL_NO_MD2 -DOPENSSL_NO_KRB5 -DOPENSSL_NO_JPAKE
-DOPENSSL_NO_STATIC_ENGINE /Zi /Fdtmp32dll/app -c .\crypto\md4\md4test.c
.\crypto\md4\md4test.c : fatal error C1033: cannot open program database 'c:\development\qt\5\openssl\tmp32dll\app.pdb'
NMAKE : fatal error U1077: '"c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\BIN\cl.EXE"' : return code '0x2'
Stop.
Advices appreciated.
This usually happens when some other application is trying access the file at the same time. For me, it was Dropbox. So, I had to disable the sync.
Another program which accesses the PDB files during compilation is mspdbsrv.exe. This program is started automatically by the build process. Kill it, and remove all the files in tmp32dll folder. It may have been left over from the previous build attempts.
Hope that helps!
I've had this error when I accidentally built with "ms\nt.mak", but then tried to test with "ms\ntdll.mak". Make sure you build and test with the same make file.