• Welcome to forex.pm forex forum binary options trade. Please login or sign up.
 

Error in configuring Qt with Bitcoin Core on Windows

Started by Bitcoin, Feb 28, 2022, 05:15 pm

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Bitcoin

Error in configuring Qt with Bitcoin Core on Windows

I was following this (https://github.com/bitcoin/bitcoin/blob/master/build_msvc/README.md) documentation to install Bitcoin core on Windows 10.
I have successfully configured Bitcoin core with Microsoft Visual Studio 2019 without the involvement of Qt.
Now, I want to configure Bitcoin core with Qt for the graphical interface. I followed these steps to install Qt as given in the documentation.


cd C:\dev\qt-source

mkdir build

cd build

..\configure -release -silent -opensource -confirm-license -opengl desktop -static -static-runtime -mp -qt-zlib -qt-pcre -qt-libpng -nomake examples -nomake tests -nomake tools -no-angle -no-dbus -no-gif -no-gtk -no-ico -no-icu -no-libjpeg -no-libudev -no-sql-sqlite -no-sql-odbc -no-sqlite -no-vulkan -skip qt3d -skip qtactiveqt -skip qtandroidextras -skip qtcharts -skip qtconnectivity -skip qtdatavis3d -skip qtdeclarative -skip doc -skip qtdoc -skip qtgamepad -skip qtgraphicaleffects -skip qtimageformats -skip qtlocation -skip qtlottie -skip qtmacextras -skip qtmultimedia -skip qtnetworkauth -skip qtpurchasing -skip qtquick3d -skip qtquickcontrols -skip qtquickcontrols2 -skip qtquicktimeline -skip qtremoteobjects -skip qtscript -skip qtscxml -skip qtsensors -skip qtserialbus -skip qtserialport -skip qtspeech -skip qtsvg -skip qtvirtualkeyboard -skip qtwayland -skip qtwebchannel -skip qtwebengine -skip qtwebglplugin -skip qtwebsockets -skip qtwebview -skip qtx11extras -skip qtxmlpatterns -no-openssl -no-feature-bearermanagement -no-feature-printdialog -no-feature-printer -no-feature-printpreviewdialog -no-feature-printpreviewwidget -no-feature-sql -no-feature-sqlmodel -no-feature-textbrowser -no-feature-textmarkdownwriter -no-feature-textodfwriter -no-feature-xml -prefix C:\Qt_static

After this step, it gave the following message :


Qt is now configured for building. Just run 'nmake'.
Once everything is built, you must run 'nmake install'.
Qt will be installed into 'C:\Qt_static'.

After that, when I run nmake, I get this error :


NMAKE : fatal error U1095: expanded command line 'echo moc C:\qt-everywhere-src-5.15.2\qt-everywhere-src-5.15.2\qtbase\src\opengl\gl2paintengineex\qglengineshadermanager_p.h && C:\qt-everywhere-src-5.15.2\qt-everywhere-src-5.15.2\build\qtbase\bin\moc.exe -DUNICODE -D_UNICODE -DWIN32 -D_ENABLE_EXTENDED_ALIGNED_STORAGE -DWIN64 -DQT_NO_LINKED_LIST -DQT_NO_JAVA_STYLE_ITERATORS -DQT_NO_USING_NAMESPACE -DQT_NO_FOREACH -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_BUILD_OPENGL_LIB -DQT_BUILDING_QT -D_CRT_SECURE_NO_WARNINGS -D_USE_MATH_DEFINES -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x040800 -DQT_DEPRECATED_WARNINGS_SINCE=0x060000 -DNDEBUG -DQT_NO_EXCEPTIONS -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB --compiler-flavor=msvc --include C:/qt-everywhere-src-5.15.2/qt-everywhere-src-5.15.2/build/qtbase/src/opengl/.moc/release/moc_predefs.h -IC:/qt-everywhere-src-5.15.2/qt-everywhere-src-5.15.2/qtbase/mkspecs/win32-msvc -IC:/qt-everywhere-src-5.15.2/qt-everywhere-src-5.15.2/qtbase/src/opengl -IC:/qt-everywhere-src-5.15.2/qt-everywhere-src-5.15.2/qtbase/include -IC:/qt-everywhere-src-5.15.2/qt-everywhere-src-5.15.2/qtbase/include/QtOpenGL -IC:/qt-everywhere-src-5.15.2/qt-everywhere-src-5.15.2/build/qtbase/include -IC:/qt-everywhere-src-5.15.2/qt-everywhere-src-5.15.2/build/qtbase/include/QtOpenGL -IC:/qt-everywhere-src-5.15.2/qt-everywhere-src-5.15.2/qtbase/include/QtOpenGL/5.15.2 -IC:/qt-everywhere-src-5.15.2/qt-everywhere-src-5.15.2/qtbase/include/QtOpenGL/5.15.2/QtOpenGL -IC:/qt-everywhere-src-5.15.2/qt-everywhere-src-5.15.2/qtbase/src/opengl/tmp -IC:/qt-everywhere-src-5.15.2/qt-everywhere-src-5.15.2/build/qtbase/src/opengl/.tracegen/release -IC:/qt-everywhere-src-5.15.2/qt-everywhere-src-5.15.2/qtbase/include/QtWidgets/5.15.2 -IC:/qt-everywhere-src-5.15.2/qt-everywhere-src-5.15.2/qtbase/include/QtWidgets/5.15.2/QtWidgets -IC:/qt-everywhere-src-5.15.2/qt-everywhere-src-5.15.2/build/qtbase/include/QtWidgets/5.15.2 -IC:/qt-everywhere-src-5.15.2/qt-everywhere-src-5.15.2/build/qtbase/include/QtWidgets/5.15.2/QtWidgets -IC:/qt-everywhere-src-5.15.2/qt-everywhere-src-5.15.2/qtbase/include/QtGui/5.15.2 -IC:/qt-everywhere-src-5.15.2/qt-everywhere-src-5.15.2/qtbase/include/QtGui/5.15.2/QtGui -IC:/qt-everywhere-src-5.15.2/qt-everywhere-src-5.15.2/build/qtbase/include/QtGui/5.15.2 -IC:/qt-everywhere-src-5.15.2/qt-everywhere-src-5.15.2/build/qtbase/include/QtGui/5.15.2/QtGui -IC:/qt-everywhere-src-5.15.2/qt-everywhere-src-5.15.2/qtbase/include/QtCore/5.15.2 -IC:/qt-everywhere-src-5.15.2/qt-everywhere-src-5.15.2/qtbase/include/QtCore/5.15.2/QtCore -IC:/qt-everywhere-src-5.15.2/qt-everywhere-src-5.15.2/build/qtbase/include/QtCore/5.15.2 -IC:/qt-everywhere-src-5.15.2/qt-everywhere-src-5.15.2/build/qtbase/include/QtCore/5.15.2/QtCore -IC:/qt-everywhere-src-5.15.2/qt-everywhere-src-5.15.2/qtbase/include/QtWidgets -IC:/qt-everywhere-src-5.15.2/qt-everywhere-src-5.15.2/build/qtbase/include/QtWidgets -IC:/qt-everywhere-src-5.15.2/qt-everywhere-src-5.15.2/qtbase/include/QtGui -IC:/qt-everywhere-src-5.15.2/qt-everywhere-src-5.15.2/build/qtbase/include/QtGui -IC:/qt-everywhere-src-5.15.2/qt-everywhere-src-5.15.2/qtbase/include/QtCore -IC:/qt-everywhere-src-5.15.2/qt-everywhere-src-5.15.2/build/qtbase/include/QtCore -I. -I"C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30037\ATLMFC\include" -I"C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30037\include" -I"C:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" -I"C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt" -I"C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\shared" -I"C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\um" -I"C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\winrt" -I"C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\cppwinrt" C:\qt-everywhere-src-5.15.2\qt-everywhere-src-5.15.2\qtbase\src\opengl\gl2paintengineex\qglengineshadermanager_p.h -o .moc\release\moc_qglengineshadermanager_p.cpp' too long
Stop.

NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30037\bin\HostX64\x64\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.

Can someone please help me with this?


Thanks in advance


Source: Error in configuring Qt with Bitcoin Core on Windows