Closed Kofhein closed 9 months ago
Hi @Kofhein, while we are investigating this issue, please provide the following information:
Hi @Santiago-Souto , 1) No, same behavior 2) It's running on laptop based on Intel Core i7, so it's x86_64 3) Here's printout of flutter-elinux run ( it's based on flutter engine so versions are same, for flutter-elinux github repo it tagged 3.3.7 commit 40ce536d59be849f3d49bf4441bfa4acb2f78ac9 )
zsh >> flutter-elinux run -d elinux-x11
Flutter 3.3.7 • channel unknown • unknown source
Framework • revision e99c9c7cd9 (6 weeks ago) • 2022-11-01 16:59:00 -0700
Engine • revision 857bd6b74c
Tools • Dart 2.18.4 • DevTools 2.15.0
It looks that flutter uses libstdc++
, while millicast libc++
, cause if comment set( CMAKE_CXX_FLAGS "-stdlib=libc++ ${CMAKE_CXX_FLAGS}" )
in MillicastSDKConfig.cmake
it leads to change from flutter undefined refs
to millicast undefined refs
one.
You can test it with my flutter-elinux plugin that is located here: https://github.com/Kofhein/flutter-elinux-plugins/tree/main/packages/millicast
Thanks for the response! We were able to reproduce the error. We will be reporting back.
The problem here was because there was only an LLVM/libc++ version of Ubuntu SDK provided. As of 1.7 we now provide the gnu/libstdc++ versions also. Please use:
I'm making millicast based plugin for flutter-elinux, but when I try to compile I receive next undefined reference
This is being printed if
find_package( MillicastSDK REQUIRED )
is included in cmake file. In case I don't usefind_package
and link directly to .so libs provided by millicast-native-sdk package next undefined reference occurs -Currently only workaround is to recompile flutter libs, but it's not that easy. Also it's possible to run app when this functions are commented, but at least it prevents setting up correct source as I can't access name.
Native SDK: millicast-native-sdk-1.4.2-Linux OS: Ubuntu 20.04.5 LTS Compiler: Clang 10.0