cppyy
cppyy copied to clipboard
ImportError: Failed to load header file
ImportError: Failed to load header file "C:\GIT\mymeep\libmeep/src/mympi.cpp" In file included from input_line_24:1: C:\GIT\mymeep\libmeep/src/mympi.cpp:266:24: error: variable has incomplete type 'struct timeval' struct timeval tv; ^ C:\GIT\mymeep\libmeep/src/mympi.cpp:266:16: note: forward declaration of 'timeval' struct timeval tv;
I successfully called my dll on ubuntu by cppyy,but
I build my dll by mingw64 on win11 called faild.
timeval Declared in: _timeval.h(mingw64 directory),May I ask what caused this?
Differences between Cling and GCC (Mingw64)?