Code Monkey home page Code Monkey logo

Comments (2)

andreasgolser avatar andreasgolser commented on June 1, 2024 1

Hi,
I can reproduce this issue when I try to compile the example app...

FYI: To build I had to change cupertino_icons to 1.0.5 this should be no problem..

Output:
Changed 23 dependencies!
Resolving dependencies in .\example...
The current Dart SDK version is 3.1.0.

Because cupertino_icons 0.1.3 doesn't support null safety and no versions of cupertino_icons match >0.1.3 <0.2.0, cupertino_icons ^0.1.3 is forbidden.
So, because flutter_nsd_example depends on cupertino_icons ^0.1.3, version solving failed.

The lower bound of "sdk: '>=2.0.0-dev.28.0 <3.0.0'" must be 2.12.0 or higher to enable null safety.
For details, see https://dart.dev/null-safety

fake_async 1.3.1 (was 1.3.0)
flutter_lints 1.0.4 (2.0.2 available)
flutter_nsd 1.4.0 from path .. (was 1.3.3 from path ..)
lints 1.0.1 (2.1.1 available)
matcher 0.12.16 (was 0.12.11)
material_color_utilities 0.5.0 (was 0.1.4) (0.8.0 available)
meta 1.9.1 (was 1.7.0)
path 1.8.3 (was 1.8.1)
source_span 1.10.0 (was 1.8.2)
stack_trace 1.11.0 (was 1.10.0) (1.11.1 available)
stream_channel 2.1.1 (was 2.1.0) (2.1.2 available)
string_scanner 1.2.0 (was 1.1.0)
term_glyph 1.2.1 (was 1.2.0)
test_api 0.6.0 (was 0.4.9) (0.6.1 available)
vector_math 2.1.4 (was 2.1.2)

  • web 0.1.4-beta
    These packages are no longer being depended on:
  • charcode 1.3.1
    Changed 21 dependencies!

windows/runner/Runner.rc does not use Flutter version information, updating.
C:\temp\flutter_nsd-master\example\windows\flutter\ephemeral.plugin_symlinks\flutter_nsd\windows\flutter_nsd_plugin.cpp(104,92): error C2220: the following warning is treated as an error [C:\temp\flutter_nsd-master\example\build\windows\plugins\flutter_nsd\flutter_nsd_plugin.vcxproj]
C:\temp\flutter_nsd-master\example\windows\flutter\ephemeral.plugin_symlinks\flutter_nsd\windows\flutter_nsd_plugin.cpp(104,92): warning C4834: discarding return value of function with 'nodiscard' attribute [C:\temp\flutter_nsd-master\example\build\windows\plugins\flutter_nsd\flutter_nsd_plugin.vcxproj]
C:\temp\flutter_nsd-master\example\windows\flutter\ephemeral.plugin_symlinks\flutter_nsd\windows\flutter_nsd_plugin.cpp(104,120): warning C4834: discarding return value of function with 'nodiscard' attribute [C:\temp\flutter_nsd-master\example\build\windows\plugins\flutter_nsd\flutter_nsd_plugin.vcxproj]
C:\temp\flutter_nsd-master\example\windows\flutter\ephemeral.plugin_symlinks\flutter_nsd\windows\flutter_nsd_plugin.cpp(164,47): warning C4834: discarding return value of function with 'nodiscard' attribute [C:\temp\flutter_nsd-master\example\build\windows\plugins\flutter_nsd\flutter_nsd_plugin.vcxproj]
C:\temp\flutter_nsd-master\example\windows\flutter\ephemeral.plugin_symlinks\flutter_nsd\windows\flutter_nsd_plugin.cpp(164,66): warning C4834: discarding return value of function with 'nodiscard' attribute [C:\temp\flutter_nsd-master\example\build\windows\plugins\flutter_nsd\flutter_nsd_plugin.vcxproj]
Building Windows application... 32,1s
Build process failed.
PS C:\temp\flutter_nsd-master\example>

from flutter_nsd.

Nimrodda avatar Nimrodda commented on June 1, 2024

Have you tried to build the example app in debug/release on windows?
Also note that your compiler is configured to treat warnings as errors. Try disabling that.

from flutter_nsd.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.