cppyy icon indicating copy to clipboard operation
cppyy copied to clipboard

ImportError: Failed to load header file

Open NiKeYiGuN opened this issue 1 year ago • 1 comments

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)? image

NiKeYiGuN avatar Aug 08 '23 04:08 NiKeYiGuN

image

NiKeYiGuN avatar Aug 08 '23 04:08 NiKeYiGuN