-
-
Notifications
You must be signed in to change notification settings - Fork 224
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Qfield Build #4347
Comments
Supported steps to compile for windows are here. Did you follow these? https://github.com/opengisch/QField/blob/master/doc/dev.md#windows |
Thank you for the reply. Yes I followed the listed steps for windows |
The abovementioned output in observed behavior are warnings. Do you have an error message? |
Actually it looks like you are building for x64-windows whereas the docs mention x64-windows-static, or am I missing something here? |
Below are the 5 errors D:\Build\Qfield8_deps\vcpkg-src\buildtrees\qgis\src\fce5ac5a83-3289c70339.clean\src\core\qgstessellator.cpp(25,10): fatal error C1083: Cannot open include file: 'poly2tri.h': No such file or directory [D:\Build\Qfield8_deps\vcpkg-src\buildtrees\qgis\x64-windows-rel\src\core\qgis_core.vcxproj]
Time Elapsed 00:44:36.50 |
It seems you are building for |
Oooh Kindly, where do I change from x64-windows to x64-windows-static? Thank you. |
If you follow the steps in the windows section on https://github.com/opengisch/QField/blob/master/doc/dev.md it should be static |
Even after declaring VCPKG_TARGET_TRIPLET=x64-windows-static on windows environment, I still get the same error. |
The best information you will get is probably in the log file that is mentioned in your screenshot #4347 (comment) |
Happy to inform you that I managed to compile and have qfield.sln file. Now while building on VS 2019, I got these repeated error LNK2038. Kindly help. |
I never work with VS and just build on the console. It's almost certainly related to the following line from the dev doc
Do you have any suggestions to improve the windows build doc? |
Please let me kindly re-raise this question. This is a community where everyone helps each other and your feedback is valuable! |
I followed microsoft/vcpkg#30327 It worked. |
Good! |
The QField project highly values your report and would love to see it addressed. However, this issue has been left in feedback mode for the last 14 days and is being automatically marked as "stale". If you would like to continue with this issue, please provide any missing information or answer any open questions. If you could resolve the issue yourself meanwhile, please leave a note for future readers with the same problem and close the issue. |
Closing this now. @SI-Lab , if what made it work for you is relevant to others, please consider adding details in the windows build instruction documentation (https://github.com/opengisch/QField/blob/master/doc/dev.md). |
Describe the issue
Hello Team,
I am compiling Qfield 2.7.6 using Cmake. On reaching qgis:x64-windows dependency file, I got these errors
CMake Warning at scripts/cmake/vcpkg_configure_cmake.cmake:380 (message):
The following variables are not used in CMakeLists.txt:
PYRCC_PROGRAM
PYTHON_LIBRARY
PYUIC_PROGRAM
QSCINTILLA_LIBRARY
How do I solve this error? Thank you..]
Reproduction steps
Steps to reproduce the behavior:
Expected behavior
[A clear and concise description of what you expected to happen.]
Observed behavior
The following variables are not used in CMakeLists.txt:
PYRCC_PROGRAM
PYTHON_LIBRARY
PYUIC_PROGRAM
QSCINTILLA_LIBRARY
Screenshots and GIFs
[If applicable, add screenshots and GIFs to help explain your problem.]
[Please also attach additional files if a specific project/dataset is useful to investigate the problem.]
Desktop (please complete the following information)
Mobile (please complete the following information)
Additional information
[If the problem happened with QFieldCloud, please add your username and project name.]
The text was updated successfully, but these errors were encountered: