dchapyshev / aspia

Remote desktop and file transfer tool.
https://aspia.org
GNU General Public License v3.0
1.59k stars 339 forks source link

sir we want to contribute code ,but there is something wrong with your description about build #127

Closed introspection3 closed 2 years ago

introspection3 commented 2 years ago

Describe the bug there is something wrong with your description about build To Reproduce 1.we spent all day to install all vcpkg's package 2.but we can't generate the sln file with your descripton image Expected behavior A clear description about cmake https://user-images.githubusercontent.com/12368358/147921410-1765856c-8551-45a0-94a4-bd8eab071be7.png Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

Additional context Add any other context about the problem here.

introspection3 commented 2 years ago

visual studio can build c++ on linux,so you can support sln directly,and user can link the lib self

dchapyshev commented 2 years ago

1) You have not installed the Qt packages in vcpkg or installed them with the wrong triplet. 2) Building in VS 2022 is also not officially supported. It is not guaranteed to build. Read the instructions carefully.

introspection3 commented 2 years ago

@dchapyshev sir, it came across error when use c:/src/vcpkg.exe intall qt5-winextras:x86-windows-static and install qt5-translations:x86-windows-static other people got the same problem , we have followed your instructions carefully https://www.mail-archive.com/development@qt-project.org/msg38192.html

jom 1.1.3 - empower your cores

WARNING: Failure to find: qt5qml_metatypes.json WARNING: Failure to find: C:/src/vcpkg/buildtrees/qt5-declarative/src/5.15.2-30e50540ea.clean/src/3rdparty/masm/assembler/.h WARNING: Failure to find: C:/src/vcpkg/buildtrees/qt5-declarative/src/5.15.2-30e50540ea.clean/src/3rdparty/masm/wtf/.h WARNING: Failure to find: C:/src/vcpkg/buildtrees/qt5-declarative/x86-windows-static-rel/src/qml/qt5qml_metatypes.json WARNING: Failure to find: qt5qmld_metatypes.json WARNING: Failure to find: C:/src/vcpkg/buildtrees/qt5-declarative/src/5.15.2-30e50540ea.clean/src/3rdparty/masm/assembler/.h WARNING: Failure to find: C:/src/vcpkg/buildtrees/qt5-declarative/src/5.15.2-30e50540ea.clean/src/3rdparty/masm/wtf/.h WARNING: Failure to find: C:/src/vcpkg/buildtrees/qt5-declarative/x86-windows-static-rel/src/qml/qt5qmld_metatypes.json Cannot open foreign types file C:/src/vcpkg/installed/x86-windows-static/lib/metatypes/qt5network_metatypes.json WARNING: Failure to find: qt5qmlmodels_metatypes.json WARNING: Failure to find: C:/src/vcpkg/buildtrees/qt5-declarative/x86-windows-static-rel/src/qmlmodels/qt5qmlmodels_metatypes.json WARNING: Failure to find: qt5qmlmodelsd_metatypes.json WARNING: Failure to find: C:/src/vcpkg/buildtrees/qt5-declarative/x86-windows-static-rel/src/qmlmodels/qt5qmlmodelsd_metatypes.json Cannot open foreign types file C:/src/vcpkg/installed/x86-windows-static/lib/metatypes/qt5network_metatypes.json WARNING: Failure to find: qt5qmlworkerscript_metatypes.json WARNING: Failure to find: C:/src/vcpkg/buildtrees/qt5-declarative/x86-windows-static-rel/src/qmlworkerscript/qt5qmlworkerscript_metatypes.json WARNING: Failure to find: qt5qmlworkerscriptd_metatypes.json WARNING: Failure to find: C:/src/vcpkg/buildtrees/qt5-declarative/x86-windows-static-rel/src/qmlworkerscript/qt5qmlworkerscriptd_metatypes.json Cannot open foreign types file C:/src/vcpkg/installed/x86-windows-static/lib/metatypes/qt5network_metatypes.json WARNING: Failure to find: qt5quick_metatypes.json WARNING: Failure to find: C:/src/vcpkg/buildtrees/qt5-declarative/x86-windows-static-rel/src/quick/qt5quick_metatypes.json WARNING: Failure to find: qt5quickd_metatypes.json WARNING: Failure to find: C:/src/vcpkg/buildtrees/qt5-declarative/x86-windows-static-rel/src/quick/qt5quickd_metatypes.json C:\src\vcpkg\buildtrees\qt5-declarative\src\5.15.2-30e50540ea.clean\src\quick\scenegraph\qsgrenderloop.cpp(0): Note: No relevant classes found. No output generated. Cannot open foreign types file C:/src/vcpkg/installed/x86-windows-static/lib/metatypes/qt5network_metatypes.json WARNING: Failure to find: qt5quickshapes_metatypes.json WARNING: Failure to find: C:/src/vcpkg/buildtrees/qt5-declarative/x86-windows-static-rel/src/quickshapes/qt5quickshapes_metatypes.json WARNING: Failure to find: qt5quickshapesd_metatypes.json WARNING: Failure to find: C:/src/vcpkg/buildtrees/qt5-declarative/x86-windows-static-rel/src/quickshapes/qt5quickshapesd_metatypes.json Cannot open foreign types file C:/src/vcpkg/installed/x86-windows-static/lib/metatypes/qt5network_metatypes.json WARNING: Failure to find: qt5quicktest_metatypes.json WARNING: Failure to find: C:/src/vcpkg/buildtrees/qt5-declarative/x86-windows-static-rel/src/qmltest/qt5quicktest_metatypes.json WARNING: Failure to find: qt5quicktestd_metatypes.json WARNING: Failure to find: C:/src/vcpkg/buildtrees/qt5-declarative/x86-windows-static-rel/src/qmltest/qt5quicktestd_metatypes.json Cannot open foreign types file C:/src/vcpkg/installed/x86-windows-static/lib/metatypes/qt5test_metatypes.json Cannot open foreign types file C:/src/vcpkg/installed/x86-windows-static/lib/metatypes/qt5network_metatypes.json WARNING: Failure to find: labsmodelsplugin_metatypes.json WARNING: Failure to find: qmlfolderlistmodelplugin_metatypes.json WARNING: Failure to find: qmllocalstorageplugin_metatypes.json WARNING: Failure to find: qmlsettingsplugin_metatypes.json WARNING: Failure to find: qtqmlstatemachine_metatypes.json WARNING: Failure to find: qmlsettingsplugind_metatypes.json WARNING: Failure to find: qmlfolderlistmodelplugind_metatypes.json WARNING: Failure to find: qmllocalstorageplugind_metatypes.json WARNING: Failure to find: labsmodelsplugind_metatypes.json WARNING: Failure to find: qtqmlstatemachined_metatypes.json Cannot open foreign types file C:/src/vcpkg/installed/x86-windows-static/lib/metatypes/qt5network_metatypes.json WARNING: Failure to find: labsanimationplugin_metatypes.json WARNING: Failure to find: labsanimationplugind_metatypes.json WARNING: Failure to find: qquicklayoutsplugin_metatypes.json WARNING: Failure to find: qquicklayoutsplugind_metatypes.json Cannot open foreign types file C:/src/vcpkg/installed/x86-windows-static/lib/metatypes/qt5network_metatypes.json Cannot open foreign types file C:/src/vcpkg/installed/x86-windows-static/lib/metatypes/qt5sql_metatypes.json Cannot open foreign types file C:/src/vcpkg/installed/x86-windows-static/lib/metatypes/qt5network_metatypes.json WARNING: Failure to find: qmlwavefrontmeshplugin_metatypes.json WARNING: Failure to find: qmlwavefrontmeshplugind_metatypes.json WARNING: Failure to find: windowplugin_metatypes.json WARNING: Failure to find: windowplugind_metatypes.json Cannot open foreign types file C:/src/vcpkg/installed/x86-windows-static/lib/metatypes/qt5network_metatypes.json WARNING: Failure to find: qmltestplugin_metatypes.json WARNING: Failure to find: qmltestplugind_metatypes.json Cannot open foreign types file C:/src/vcpkg/installed/x86-windows-static/lib/metatypes/qt5network_metatypes.json WARNING: Failure to find: sharedimageplugin_metatypes.json WARNING: Failure to find: sharedimageplugind_metatypes.json Cannot open foreign types file C:/src/vcpkg/installed/x86-windows-static/lib/metatypes/qt5network_metatypes.json Cannot open foreign types file C:/src/vcpkg/installed/x86-windows-static/lib/metatypes/qt5network_metatypes.json Cannot open foreign types file C:/src/vcpkg/installed/x86-windows-static/lib/metatypes/qt5network_metatypes.json Cannot open foreign types file C:/src/vcpkg/installed/x86-windows-static/lib/metatypes/qt5network_metatypes.json Cannot open foreign types file C:/src/vcpkg/installed/x86-windows-static/lib/metatypes/qt5network_metatypes.json Cannot open foreign types file C:/src/vcpkg/installed/x86-windows-static/lib/metatypes/qt5network_metatypes.json Cannot open foreign types file C:/src/vcpkg/installed/x86-windows-static/lib/metatypes/qt5test_metatypes.json WARNING: Failure to find: qml_metatypes.json WARNING: Failure to find: qml_metatypes.json Cannot open foreign types file C:/src/vcpkg/installed/x86-windows-static/lib/metatypes/qt5network_metatypes.json jom: C:\src\vcpkg\buildtrees\qt5-declarative\x86-windows-static-rel\tools\qmlprofiler\Makefile.Release [....\bin\qmlprofiler.exe] Error 1257 jom: C:\src\vcpkg\buildtrees\qt5-declarative\x86-windows-static-rel\tools\qmltestrunner\Makefile.Release [....\bin\qmltestrunner.exe] Error 1257 jom: C:\src\vcpkg\buildtrees\qt5-declarative\x86-windows-static-rel\tools\qmltestrunner\Makefile [release] Error 2 jom: C:\src\vcpkg\buildtrees\qt5-declarative\x86-windows-static-rel\tools\qmlprofiler\Makefile [release] Error 2 jom: C:\src\vcpkg\buildtrees\qt5-declarative\x86-windows-static-rel\tools\Makefile [sub-qmltestrunner-make_first] Error 2 jom: C:\src\vcpkg\buildtrees\qt5-declarative\x86-windows-static-rel\tools\qml\Makefile.Release [....\bin\qml.exe] Error 1257 jom: C:\src\vcpkg\buildtrees\qt5-declarative\x86-windows-static-rel\tools\Makefile [sub-qmlprofiler-make_first] Error 2 jom: C:\src\vcpkg\buildtrees\qt5-declarative\x86-windows-static-rel\tools\qml\Makefile [release] Error 2 jom: C:\src\vcpkg\buildtrees\qt5-declarative\x86-windows-static-rel\tools\Makefile [sub-qml-make_first] Error 2 jom: C:\src\vcpkg\buildtrees\qt5-declarative\x86-windows-static-rel\Makefile [sub-tools-make_first] Error 2

dchapyshev commented 2 years ago

I don't know why you get this error. You need to look at the logs and figure out why this is happening. The information you provided is insufficient.

introspection3 commented 2 years ago

I doubt that Qt5 windows bug @dchapyshev WARNING: Failure to find: C:/src/vcpkg/buildtrees/qt5-declarative/src/5.15.2-30e50540ea.clean/src/3rdparty/masm/assembler/.h the file is exist,but the split char '/' is not windows's.....

dchapyshev commented 2 years ago

Windows work fine with '/' delimiters. This is not the cause of the problem.

introspection3 commented 2 years ago

@dchapyshev qt is too heavy,and it has a bad license,you can choose https://sciter.com

introspection3 commented 2 years ago

@dchapyshev we know the reason: you should use Conan other than vcpkg

dchapyshev commented 2 years ago

1) I don't plan to change Qt to anything else. And there are many reasons for this:

Issue closed.

introspection3 commented 2 years ago

@dchapyshev just as we know ,microsoft create so many rubish(include vcpkg),if you use conan,you will find it too fast...