Closed softwareone2020 closed 1 year ago
Hi, Thanks for the ticket. Let me try to do something for web
unfortunately, the sweph library is very tightly coupled with file-io and porting to web is a challenge. I could think of using URL instead of path, open online file instead of local, etc., or ignore files altogether. But needs some deep factoring and presently, I am not up-to it.
Enabled Web :)
Thank you so much :)
The error is as follows,
../lib/src/sweph_wrapper.dart:3:8: Error: Not found: 'dart:ffi' import 'dart:ffi'; ^ ../lib/src/sweph_bindings_generated.dart:9:8: Error: Not found: 'dart:ffi' import 'dart:ffi' as ffi; ^ ../lib/src/native_utils.dart:2:8: Error: Not found: 'dart:ffi' import 'dart:ffi'; ^ /C:/Users/One/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/ffi-2.0.1/lib/src/allocation.dart:5:8: Error: Not found: 'dart:ffi' import 'dart:ffi'; ^ /C:/Users/One/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/ffi-2.0.1/lib/src/arena.dart:8:8: Error: Not found: 'dart:ffi' import 'dart:ffi'; ^ ...
Failed to compile application.