-
Notifications
You must be signed in to change notification settings - Fork 201
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
The cmake Sodium lib crash build #232
Comments
Link Warning Placed a copy of the README in cmake folder |
…#232 modified: cmake/readme.txt
…#232 modified: cmake/readme.txt
@RudiDeVos May be I have the problem "You are mixing Runtime library (option /MT(d)) with /MD all libs and exe need to be the same (MT)" |
* Hotfix failed of cmake command for "Windows with cmake, using ninja build system, and address santitizer enabled" erase lines with files code file deleted Remove line 42 of winvnc/CMakeLists.txt read_write_ini.cpp Remove lines 83 and 84 of winvnc/CMakeLists.txt vncproperties.cpp vncpropertiesPoll.cpp modified: cmake/winvnc/CMakeLists.txt * Reapply changes of UltraVNC-QtCommunityTests.pro and Update for a better version of gitignore modified: .gitignore modified: UltraVNC-QtCommunityTests.pro * Clean up UltraVNC-QtCommunityTests.files from deleted files #225 vncproperties.cpp, vncproperties.h, vncpropertiesPoll.cpp and vncpropertiesPoll.h UltraVNC-QtCommunityTests.pro and cmake/winvnc/CMakeLists.txt are clean too. modified: UltraVNC-QtCommunityTests.files * Fix of cmake/readme.txt for The cmake Sodium lib crash build #232 modified: cmake/readme.txt * Fix of cmake/readme.txt for The cmake Sodium lib crash build #232 modified: cmake/readme.txt * Qt Creator Upgrade one pro files of to 13 pro files following the structure of Visual Studio project files + Minors updates for try to fix the QMainWindow error. new file: UdtCloudlib/UdtCloudlib.pro modified: UltraVNC-QtCommunityTests.pro new file: addon/addons.pro new file: addon/ms-logon/authadm/authadmin.qrc new file: addon/ms-logon/authadm/authadmin.qrc.txt new file: avilog/avilog.pro new file: omnithread/omnithread.pro new file: rdr/rdr.pro new file: repeater/repeater.pro new file: setcad/setcad.pro new file: setpasswd/setpasswd.pro new file: udt4/win/udt.pro new file: uvnc_settings/uvnc_settings.pro new file: uvnckeyboardhelper/uvnckeyboardhelper.pro new file: vncviewer/main.cpp new file: vncviewer/vncviewer.pro new file: vncviewer/vncviewerQt_fr_FR.ts renamed: vncviewer/vncviewerQt.cpp -> vncviewer/vncviewerqt.cpp renamed: vncviewer/vncviewerQt.h -> vncviewer/vncviewerqt.h renamed: vncviewer/vncviewerQt.ui -> vncviewer/vncviewerqt.ui new file: winvnc/winvnc.pro new file: zipunzip_src/unzip/windll/vc6/unzip32.pro --------- Co-authored-by: jose94752 <jose.pluquet.pro@gmail.com>
@jose94752: You have solved the problem? |
@Neustradamus Windows with cmake, generate Visual Studio project filesthe obj folder.
Windows with cmake, using ninja build system, and address santitizer enabledfailed on
Windows with cmake, using LLVM compilerWork but a have these errors during it compile :
Windows with regular Visual Studio project filesWorks
|
Another try have failed excluded build directories from the antivirus scan I've tried many times and the last time with X64 Terminal and my antivirus disable same error LNK1104: Unable to open 'libsodium.lib' file [C:\source\obj\winvnc\winvnc.vcxproj]. |
1) gitignore personnal adding folders zlib/ zstd/ for try to bypass relatives errors on my computer 2) cmake/readme.txt Developer Command Prompt for VS <-Line 172- No longer use for vcpkg to make it x64 explanation v c:\source\vcpkg>vcpkg install zlib Computing installation plan... warning: vcpkg appears to be in a Visual Studio prompt targeting x86 but installing for x64-windows-static. Consider using --triplet x86-windows or --triplet x86-uwp. x64 Native Tools Command Prompt for VS 2022 <- Use these one modified: .gitignore modified: cmake/readme.txt
1) gitignore personnal adding folders zlib/ zstd/ for try to bypass relatives errors on my computer 2) cmake/readme.txt Developer Command Prompt for VS <-Line 172- No longer use for vcpkg to make it x64 explanation v c:\source\vcpkg>vcpkg install zlib Computing installation plan... warning: vcpkg appears to be in a Visual Studio prompt targeting x86 but installing for x64-windows-static. Consider using --triplet x86-windows or --triplet x86-uwp. x64 Native Tools Command Prompt for VS 2022 <- Use these one modified: .gitignore modified: cmake/readme.txt
I've will be correcting the cmake/readmefile.txt at line 72 because of the message of the compiler mentioning in the pushed files. |
…make/winvnc/CMakeLists.txt file ultravnc#232 find_package(unofficial-sodium CONFIG REQUIRED) target_link_libraries(main PRIVATE unofficial-sodium::sodium) Note they explained: this is heuristically generated, and may not be correct I have a new compile error C:\source\obj\winvnc\RelWithDebInfo\winvnc.exe : fatal error LNK1120: 7 external unresolved [C:\source\obj\winvnc\winvnc.vcxproj] modified: cmake/winvnc/CMakeLists.txt
Error after Adding find_package and target_link_libraries for sodium lib bdbd7fa
Search answer In Progress : |
I'm trying to compile it myself with cmake ui without luck. He just stop on files not found.. Looking at the cmake i see that you only add On windows this wasn't working without the install of lib:x64-windows, zstd:x64-windows , liblzma:x64-windows, libsodium:x64-windows, libjpeg-turbo:x64-windows. And i remember also getting a file not found |
vncmenu.obj : error LNK2019: unresolved external symbol "public: __cdecl PropertiesDialog... |
…x of cmake Sodium lib crash build ultravnc#232 modified: cmake/winvnc/CMakeLists.txt
* Hotfix failed of cmake command for "Windows with cmake, using ninja build system, and address santitizer enabled" erase lines with files code file deleted Remove line 42 of winvnc/CMakeLists.txt read_write_ini.cpp Remove lines 83 and 84 of winvnc/CMakeLists.txt vncproperties.cpp vncpropertiesPoll.cpp modified: cmake/winvnc/CMakeLists.txt * Reapply changes of UltraVNC-QtCommunityTests.pro and Update for a better version of gitignore modified: .gitignore modified: UltraVNC-QtCommunityTests.pro * Clean up UltraVNC-QtCommunityTests.files from deleted files #225 vncproperties.cpp, vncproperties.h, vncpropertiesPoll.cpp and vncpropertiesPoll.h UltraVNC-QtCommunityTests.pro and cmake/winvnc/CMakeLists.txt are clean too. modified: UltraVNC-QtCommunityTests.files * Fix of cmake/readme.txt for The cmake Sodium lib crash build #232 modified: cmake/readme.txt * Fix of cmake/readme.txt for The cmake Sodium lib crash build #232 modified: cmake/readme.txt * Qt Creator Upgrade one pro files of to 13 pro files following the structure of Visual Studio project files + Minors updates for try to fix the QMainWindow error. new file: UdtCloudlib/UdtCloudlib.pro modified: UltraVNC-QtCommunityTests.pro new file: addon/addons.pro new file: addon/ms-logon/authadm/authadmin.qrc new file: addon/ms-logon/authadm/authadmin.qrc.txt new file: avilog/avilog.pro new file: omnithread/omnithread.pro new file: rdr/rdr.pro new file: repeater/repeater.pro new file: setcad/setcad.pro new file: setpasswd/setpasswd.pro new file: udt4/win/udt.pro new file: uvnc_settings/uvnc_settings.pro new file: uvnckeyboardhelper/uvnckeyboardhelper.pro new file: vncviewer/main.cpp new file: vncviewer/vncviewer.pro new file: vncviewer/vncviewerQt_fr_FR.ts renamed: vncviewer/vncviewerQt.cpp -> vncviewer/vncviewerqt.cpp renamed: vncviewer/vncviewerQt.h -> vncviewer/vncviewerqt.h renamed: vncviewer/vncviewerQt.ui -> vncviewer/vncviewerqt.ui new file: winvnc/winvnc.pro new file: zipunzip_src/unzip/windll/vc6/unzip32.pro * Search for debug CMake Sodium lib crash build #232 1) gitignore personnal adding folders zlib/ zstd/ for try to bypass relatives errors on my computer 2) cmake/readme.txt Developer Command Prompt for VS <-Line 172- No longer use for vcpkg to make it x64 explanation v c:\source\vcpkg>vcpkg install zlib Computing installation plan... warning: vcpkg appears to be in a Visual Studio prompt targeting x86 but installing for x64-windows-static. Consider using --triplet x86-windows or --triplet x86-uwp. x64 Native Tools Command Prompt for VS 2022 <- Use these one modified: .gitignore modified: cmake/readme.txt * Reapply changes of UltraVNC-QtCommunityTests.pro and Update for a better version of gitignore modified: .gitignore modified: UltraVNC-QtCommunityTests.pro modified: UltraVNC-QtCommunityTests.pro * Qt Creator Upgrade one pro files of to 13 pro files following the structure of Visual Studio project files + Minors updates for try to fix the QMainWindow error. new file: UdtCloudlib/UdtCloudlib.pro modified: UltraVNC-QtCommunityTests.pro new file: addon/addons.pro new file: addon/ms-logon/authadm/authadmin.qrc new file: addon/ms-logon/authadm/authadmin.qrc.txt new file: avilog/avilog.pro new file: omnithread/omnithread.pro new file: rdr/rdr.pro new file: repeater/repeater.pro new file: setcad/setcad.pro new file: setpasswd/setpasswd.pro new file: udt4/win/udt.pro new file: uvnc_settings/uvnc_settings.pro new file: uvnckeyboardhelper/uvnckeyboardhelper.pro new file: vncviewer/main.cpp new file: vncviewer/vncviewer.pro new file: vncviewer/vncviewerQt_fr_FR.ts renamed: vncviewer/vncviewerQt.cpp -> vncviewer/vncviewerqt.cpp renamed: vncviewer/vncviewerQt.h -> vncviewer/vncviewerqt.h renamed: vncviewer/vncviewerQt.ui -> vncviewer/vncviewerqt.ui new file: winvnc/winvnc.pro new file: zipunzip_src/unzip/windll/vc6/unzip32.pro modified: UltraVNC-QtCommunityTests.pro * Search for debug CMake Sodium lib crash build #232 1) gitignore personnal adding folders zlib/ zstd/ for try to bypass relatives errors on my computer 2) cmake/readme.txt Developer Command Prompt for VS <-Line 172- No longer use for vcpkg to make it x64 explanation v c:\source\vcpkg>vcpkg install zlib Computing installation plan... warning: vcpkg appears to be in a Visual Studio prompt targeting x86 but installing for x64-windows-static. Consider using --triplet x86-windows or --triplet x86-uwp. x64 Native Tools Command Prompt for VS 2022 <- Use these one modified: .gitignore modified: cmake/readme.txt * Adding find_package and target_link_libraries for sodium lib on the cmake/winvnc/CMakeLists.txt file #232 find_package(unofficial-sodium CONFIG REQUIRED) target_link_libraries(main PRIVATE unofficial-sodium::sodium) Note they explained: this is heuristically generated, and may not be correct I have a new compile error C:\source\obj\winvnc\RelWithDebInfo\winvnc.exe : fatal error LNK1120: 7 external unresolved [C:\source\obj\winvnc\winvnc.vcxproj] modified: cmake/winvnc/CMakeLists.txt * Adding PropertiesDialog.cpp to cmake/winvnc/CMakeLists.txt Partial fix of cmake Sodium lib crash build #232 modified: cmake/winvnc/CMakeLists.txt --------- Co-authored-by: jose94752 <jose.pluquet.pro@gmail.com>
Crash of the "Windows with cmake, generate Visual Studio project files" No Sodium lib
c52b72e VCPKG_README.txt exist
With these lines
libsodium:x86-windows-static
libsodium:x86-windows
libsodium:x64-windows-static
libsodium:x64-windows
I propose to fix by update of the on the cmake/readme.txt like theses:
Or the return of the deleted file VCPKG_README.txt not on the root but on the cmake folder.
Nevertheless, after I have been installing the libsodium and integrate, the rebuild is failing (before delete of the folder obj and after delete of obj folder), with the following message.
The text was updated successfully, but these errors were encountered: