Skip to content
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

Dynamic windows builds #5187

Open
wants to merge 13 commits into
base: master
Choose a base branch
from
Open

Dynamic windows builds #5187

wants to merge 13 commits into from

Conversation

m-kuhn
Copy link
Member

@m-kuhn m-kuhn commented Apr 15, 2024

References #4854

@qfield-fairy
Copy link
Collaborator

qfield-fairy commented Apr 15, 2024

@nirvn
Copy link
Member

nirvn commented Apr 16, 2024

Error:

(Link target) -> C:\builddir\vcpkg_installed\x64-windows\bin\libprotobuf-lite.dll : fatal error LNK1107: invalid or corrupt file: cannot read at 0x2F8 [C:\src\qgis\x64-windows-rel\src\core\qgis_core.vcxproj]

@m-kuhn
Copy link
Member Author

m-kuhn commented Apr 16, 2024

qgis/QGIS#56876

@nirvn
Copy link
Member

nirvn commented Apr 16, 2024

@m-kuhn , OK, let me create a patch for that

@nirvn
Copy link
Member

nirvn commented Apr 16, 2024

Second set of errors:

       "C:\src\qgis\x64-windows-rel\src\providers\mdal\provider_mdal.vcxproj" (default target) (21) ->
       (ClCompile target) -> 
         C:\src\qgis\src\nal-3_36_0-5a49fd0279.clean\external\mdal\mdal_utils.cpp(1121,11): error C2664: 'HANDLE FindFirstFileW(LPCWSTR,LPWIN32_FIND_DATAW)': cannot convert argument 1 from 'const _Elem *' to 'LPCWSTR' [C:\src\qgis\x64-windows-rel\src\providers\mdal\provider_mdal.vcxproj]
       C:\src\qgis\src\nal-3_36_0-5a49fd0279.clean\external\mdal\mdal_utils.cpp(1121,11): error C2664:         with [C:\src\qgis\x64-windows-rel\src\providers\mdal\provider_mdal.vcxproj]
       C:\src\qgis\src\nal-3_36_0-5a49fd0279.clean\external\mdal\mdal_utils.cpp(1121,11): error C2664:         [ [C:\src\qgis\x64-windows-rel\src\providers\mdal\provider_mdal.vcxproj]
       C:\src\qgis\src\nal-3_36_0-5a49fd0279.clean\external\mdal\mdal_utils.cpp(1121,11): error C2664:             _Elem=char [C:\src\qgis\x64-windows-rel\src\providers\mdal\provider_mdal.vcxproj]
       C:\src\qgis\src\nal-3_36_0-5a49fd0279.clean\external\mdal\mdal_utils.cpp(1121,11): error C2664:         ] [C:\src\qgis\x64-windows-rel\src\providers\mdal\provider_mdal.vcxproj]
         C:\src\qgis\src\nal-3_36_0-5a49fd0279.clean\external\mdal\mdal_utils.cpp(1128,25): error C2665: 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>::basic_string': no overloaded function could convert all the argument types [C:\src\qgis\x64-windows-rel\src\providers\mdal\provider_mdal.vcxproj]
         C:\src\qgis\src\nal-3_36_0-5a49fd0279.clean\external\mdal\mdal_utils.cpp(1163,17): error C2664: 'HMODULE LoadLibraryW(LPCWSTR)': cannot convert argument 1 from 'const _Elem *' to 'LPCWSTR' [C:\src\qgis\x64-windows-rel\src\providers\mdal\provider_mdal.vcxproj]
       C:\src\qgis\src\nal-3_36_0-5a49fd0279.clean\external\mdal\mdal_utils.cpp(1163,17): error C2664:         with [C:\src\qgis\x64-windows-rel\src\providers\mdal\provider_mdal.vcxproj]
       C:\src\qgis\src\nal-3_36_0-5a49fd0279.clean\external\mdal\mdal_utils.cpp(1163,17): error C2664:         [ [C:\src\qgis\x64-windows-rel\src\providers\mdal\provider_mdal.vcxproj]
       C:\src\qgis\src\nal-3_36_0-5a49fd0279.clean\external\mdal\mdal_utils.cpp(1163,17): error C2664:             _Elem=char [C:\src\qgis\x64-windows-rel\src\providers\mdal\provider_mdal.vcxproj]
       C:\src\qgis\src\nal-3_36_0-5a49fd0279.clean\external\mdal\mdal_utils.cpp(1163,17): error C2664:         ] [C:\src\qgis\x64-windows-rel\src\providers\mdal\provider_mdal.vcxproj]

@nirvn
Copy link
Member

nirvn commented Apr 20, 2024

@m-kuhn , windows built successfully; let's find a windows user out there :)

@nirvn nirvn force-pushed the windyn branch 2 times, most recently from 298205c to a5050d2 Compare April 23, 2024 09:59
@nirvn
Copy link
Member

nirvn commented Apr 26, 2024

@m-kuhn , sent a test build to the client.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants