-
Notifications
You must be signed in to change notification settings - Fork 69
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
Many Issues compiling example project #80
Comments
I did all the steps and I'm getting this error: `CMake Error at flutter/ephemeral/.plugin_symlinks/quick_blue_windows/windows/CMakeLists.txt:6 (target_link_libraries): Exception: Unable to generate build files` I have added nuget to PATH, when I use "nuget help" on cmd it shows all commands, Here is my CMake file: |
Can you share your Cmake file? I think most issues stem from the file |
Mine is in the example. And it passes the CI build: https://github.com/woodemi/quick_blue/actions/runs/2028264252 Please post your |
Flutter doctor -v: [√] Flutter (Channel stable, 2.10.4, on Microsoft Windows [Version 10.0.19041.450], locale en-US) [√] Android toolchain - develop for Android devices (Android SDK version 32.0.0) [√] Chrome - develop for the web [√] Visual Studio - develop for Windows (Visual Studio Community 2022 17.1.2) [√] Android Studio (version 2021.1) [√] VS Code (version 1.66.0) [√] Connected device (3 available) [√] HTTP Host Availability • No issues found! When compiling the quick_blue_example, fresh download, I get this error now:
Should I modify the CMake? I have nuget installed, but I'm already using the one in the quick_blue_example you gave. |
Error indicated that building was success but attaching debugger failed Could you post |
flutter run -d windows -v.txt Here are both |
Both indecated that build is success. But I suggest use Visual Studio 2019. Flutter haven't support Visual Studio 2022 officially and I haven't test on latter |
Hello!
When compiling the example project for windows (or just adding the
quick_blue: ^0.4.1+1
depedency) will give the error code:Building Windows application... NUGET.EXE not found. CMake Error at flutter/ephemeral/.plugin_symlinks/quick_blue_windows/windows/CMakeLists.txt:10 (message): Please install this executable, and run CMake again.
Then if I add nuget.exe to the root project directory, it gives the following build error:
D:\vs\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(157,5): error MSB3073: The command "setlocal [D:\code\quick_blue-master\quick_blue_example\build\windows\INSTALL.vcxproj] D:\vs\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(157,5): error MSB3073: D:\vs\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe -DBUILD_TYPE=Debug -P cmake_install.cmake [D:\code\quick_blue-master\quick_blue_example\build\windows\INSTALL.vcxproj] D:\vs\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(157,5): error MSB3073: if %errorlevel% neq 0 goto :cmEnd [D:\code\quick_blue-master\quick_blue_example\build\windows\INSTALL.vcxproj] D:\vs\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(157,5): error MSB3073: :cmEnd [D:\code\quick_blue-master\quick_blue_example\build\windows\INSTALL.vcxproj] D:\vs\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(157,5): error MSB3073: endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone [D:\code\quick_blue-master\quick_blue_example\build\windows\INSTALL.vcxproj] D:\vs\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(157,5): error MSB3073: :cmErrorLevel [D:\code\quick_blue-master\quick_blue_example\build\windows\INSTALL.vcxproj] D:\vs\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(157,5): error MSB3073: exit /b %1 [D:\code\quick_blue-master\quick_blue_example\build\windows\INSTALL.vcxproj] D:\vs\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(157,5): error MSB3073: :cmDone [D:\code\quick_blue-master\quick_blue_example\build\windows\INSTALL.vcxproj] D:\vs\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(157,5): error MSB3073: if %errorlevel% neq 0 goto :VCEnd [D:\code\quick_blue-master\quick_blue_example\build\windows\INSTALL.vcxproj] D:\vs\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(157,5): error MSB3073: :VCEnd" exited with code 1. [D:\code\quick_blue-master\quick_blue_example\build\windows\INSTALL.vcxproj] Exception: Build process failed.
Anything I still need to install or do? I can't compile your example project or even the package in any way, and help would be appreciated!
The text was updated successfully, but these errors were encountered: