QCAD Compilation from source fatal error U1077

Discussion forum for C++ and script developers who are using the QCAD development platform or who are looking to contribute to QCAD (translations, documentation, etc).

Moderator: andrew

Forum rules

Always indicate your operating system and QCAD version.

Attach drawing files, scripts and screenshots.

Post one question per topic.

Post Reply
jays
Registered Member
Posts: 1
Joined: Fri May 23, 2014 1:45 pm

QCAD Compilation from source fatal error U1077

Post by jays » Fri May 23, 2014 2:15 pm

Hi there,
I'm trying to compile QCAD from the source so I can build it for msvs2008. I've been following the instructions given here: http://www.qcad.org/en/component/conten ... om-sources.
I've managed to successfully configure and compile Qt 4.8.5 and I set my environment variable PATH to the bin correctly. I created a new environment variable QMAKESPEC and set the value to win-32-msvc2008. I completed the configuration of QCAD without any problems. However, about 30 min into the compilation I've run into the following error: NMAKE : fatal error U1077: 'cd' :return code '0x2'. I've seen similar errors reported for the compilation of Qt, however, I had no problem there. Is there anyone who has any idea what may be wrong? Thanks in advance.

Code: Select all

Generating Code...
c:\qcad\src\3rdparty\qt-labs-qtscriptgenerator-4.8.5\generated_cpp\com_trolltech_qt_webkit\qtscriptshell_qwebpluginfactory.cpp(58) 
: warning C4715: 'QtScriptShell_QWebPluginFactory::create' : not all control paths return a value
c:\qcad\src\3rdparty\qt-labs-qtscriptgenerator-4.8.5\generated_cpp\com_trolltech_qt_webkit\qtscriptshell_qwebpluginfactory.cpp(128)
: warning C4715: 'QtScriptShell_QWebPluginFactory::plugins' : not all control paths return a value
c:\qcad\src\3rdparty\qt-labs-qtscriptgenerator-4.8.5\generated_cpp\com_trolltech
_qt_webkit\qtscriptshell_qwebhistoryinterface.cpp(105) 
: warning C4715: 'QtScriptShell_QWebHistoryInterface::historyContains' : not all control paths return a value
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\BIN\cl.EXE"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\BIN\nmake.exe"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'cd' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'cd' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'cd' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'cd' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'cd' : return code '0x2'
Stop.

C:\qcad>

Post Reply

Return to “QCAD Programming, Script Programming and Contributing”