wasabia / three_dart

three.js rewrite by Dart, Dart 3D library. an easy to use, lightweight, cross-platform, general purpose 3D library.
MIT License
444 stars 77 forks source link

after compiling given code this error is showing #128

Open AliImrangang opened 1 year ago

AliImrangang commented 1 year ago

Resolving dependencies... Because three_dart depends on flutter_gl from path which doesn't exist (could not find package flutter_gl at "..\flutter_gl\flutter_gl"), version solving failed. pub get failed command: "E:\flutter\bin\cache\dart-sdk\bin\dart __deprecated_pub --directory . get --example" pub env: { "FLUTTER_ROOT": "E:\flutter", "PUB_ENVIRONMENT": "flutter_cli:get", "PUB_CACHE": "C:\Users\Anonymous\AppData\Local\Pub\Cache", } exit code: 66

Knightro63 commented 1 year ago

Hi Alilmrangang, Looks like you might be using a downloaded version rather than the pub dev version. You need to go into the three_dart pubspec.yaml file and comment out the dependency_overrides or download flutter_gl and place it in the same folder as three_dart.