smadaminov / ovs-dpdk-meson-issues

VMware Summer 2021
BSD 3-Clause "New" or "Revised" License
1 stars 1 forks source link

windows meson: getopt.h not found #36

Closed williamtu closed 3 years ago

williamtu commented 3 years ago

Found ninja.EXE-1.10.0 at "C:\Program Files\Meson\ninja.EXE" Command line for building ['lib\libopenvswitch.a'] is long, using a response file [1/8] Compiling C object utilities/ovs-vsctl.exe.p/ovs-vsctl.c.obj FAILED: utilities/ovs-vsctl.exe.p/ovs-vsctl.c.obj "clang" "-Iutilities\ovs-vsctl.exe.p" "-Iutilities" "-I..\utilities" "-Ilib" "-I..\lib" "-Iinclude" "-I..\include" "-I." "-I.." " -Xclang" "-fcolor-diagnostics" "-pipe" "-D_FILE_OFFSET_BITS=64" "-Wall" "-Winvalid-pch" "-g" "-Wthread-safety" "-Wno-microsoft-en um-forward-reference" "-Wno-unused-function" "-Wno-sometimes-uninitialized" "-Wno-format" "-Wno-pointer-sign" "-Wno-incompatible- pointer-types" "-dM" "-U_MSC_VER" "-D_TIMESPEC_DEFINED" "-D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS" "-D_CRT_SECURE_NO _DEPRECATE" -MD -MQ utilities/ovs-vsctl.exe.p/ovs-vsctl.c.obj -MF "utilities\ovs-vsctl.exe.p\ovs-vsctl.c.obj.d" -o utilities/ovs- vsctl.exe.p/ovs-vsctl.c.obj "-c" ../utilities/ovs-vsctl.c ../utilities/ovs-vsctl.c:22:10: fatal error: 'getopt.h' file not found

include

     ^~~~~~~~~~
williamtu commented 3 years ago

just missing includes...