fuzzybinary / dart_shared_library

An attempt to package Dart into a usable shared library (.dll / .so)
Other
89 stars 12 forks source link

include/dart_embedder_api.h: No such file or directory #16

Closed Bes79 closed 3 months ago

Bes79 commented 3 months ago

Hi. When i try to build i see errors:

C:\Users\BES\StudioProjects\dart_shared_libray>cmake --build ..build\ --config release MSBuild version 17.6.3+07e294721 for .NET Framework dart_dll.cpp C:\Users\BES\StudioProjects\dart_shared_libray\src\dart_dll.cpp(7,10): fatal error C1083: Не удается открыть файл включение: include/dart_embedder_api.h: No such file or directory, [C:\Users\BES\StudioProjects \dart_shared_libray.build\src\dart_dll.vcxproj] isolate_setup.cpp C:\Users\BES\StudioProjects\dart_shared_libray\src\isolate_setup.cpp(6,10): fatal error C1083: Не удается открыть файл включение: include/dart_embedder_api.h: No such file or directory, [C:\Users\BES\StudioPro jects\dart_shared_libray.build\src\dart_dll.vcxproj]

Bes79 commented 3 months ago

I solved this problem. You must get dart-sdk from git.

fuzzybinary commented 3 months ago

👍 Glad you solved it! Make sure you build Dart as well.