But in our gitlab CI the build failed with following error message:
/linux/flutter/ephemeral/.plugin_symlinks/window_size/linux/window_size_plugin.cc:345:7: error: use of undeclared identifier 'strcmp'
/linux/flutter/ephemeral/.plugin_symlinks/window_size/linux/window_size_plugin.cc:347:14: error: use of undeclared identifier 'strcmp'
/linux/flutter/ephemeral/.plugin_symlinks/window_size/linux/window_size_plugin.cc:349:14: error: use of undeclared identifier 'strcmp'
/linux/flutter/ephemeral/.plugin_symlinks/window_size/linux/window_size_plugin.cc:351:14: error: use of undeclared identifier 'strcmp'
/linux/flutter/ephemeral/.plugin_symlinks/window_size/linux/window_size_plugin.cc:353:14: error: use of undeclared identifier 'strcmp'
/linux/flutter/ephemeral/.plugin_symlinks/window_size/linux/window_size_plugin.cc:355:14: error: use of undeclared identifier 'strcmp'
/linux/flutter/ephemeral/.plugin_symlinks/window_size/linux/window_size_plugin.cc:357:14: error: use of undeclared identifier 'strcmp'
/linux/flutter/ephemeral/.plugin_symlinks/window_size/linux/window_size_plugin.cc:359:14: error: use of undeclared identifier 'strcmp'
/linux/flutter/ephemeral/.plugin_symlinks/window_size/linux/window_size_plugin.cc:361:14: error: use of undeclared identifier 'strcmp'
Build process failed
We are building in a container.
With #include <string.h> the container finds strcmp and builds with success
Hello everyone!
Nice plugin!
But in our gitlab CI the build failed with following error message:
We are building in a container.
With
#include <string.h>
the container findsstrcmp
and builds with success