Skip to content

Fix FFI example fails to find dependent package test_utils  #3894

Closed
@igouy

Description

@igouy

Page URL

https://dart.dev/guides/libraries/c-interop#building-and-running

Page source

No response

Describe the problem

$ dart pub get
Resolving dependencies... 
Because hello_world_ffi depends on test_utils from path which doesn't exist (could
  not find package test_utils at "../test_utils"), version solving failed.

Expected fix

I expect "an example of building the dynamic library and executing the Dart app" to work when followed.

The "hello_world example has the following files" does not mention "../test_utils"

Additional context

No response

Metadata

Metadata

Assignees

Labels

a.librariesRelating to the Dart standard libraries.dev.interopRelates to use of native code as part of your Dart appe1-hoursCan complete in < 8 hours of normal, not dedicated, workfix.bugNeeds fix of incorrect copy, code, or visualp2-mediumNecessary but not urgent concern. Resolve when possible.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions