I think I have configured the code correctly, but I keep getting an error when compiling on Windows. I can successful compile on MACOS and Ubuntu22.04
[cmake] Not searching for unused variables given on the command line.
[cmake] -- PROJECT_ROOT_DIR: C:/Users/YSY_e/Documents/code/simona2
[cmake] -- UNITOPERATION_JSON_DATA_DIR: C:/Users/YSY_e/Documents/code/simona2/simona2/unit_operation/template_data
[cmake] -- CMAKE_BINARY_DIR: C:/Users/YSY_e/Documents/code/simona2/build
[cmake] -- CMAKE_SOURCE_DIR: C:/Users/YSY_e/Documents/code/simona2
[cmake] -- current platform: Windows
[cmake] -- current compiler: Clang
[cmake] -- Clang on Windows: adding Unicode support
[cmake] -- Found Julia executable: C:/Users/YSY_e/AppData/Local/Microsoft/WindowsApps/julia.exe
[cmake] -- Julia_VERSION_STRING: 1.11.4
[cmake] -- Julia_INCLUDE_DIRS: C:\Users\YSY_e\.julia\juliaup\julia-1.11.4+0.x64.w64.mingw32\include\julia
[cmake] -- Julia_LIBRARY_DIR: C:/Users/YSY_e/.julia/juliaup/julia-1.11.4+0.x64.w64.mingw32/lib
[cmake] -- Julia_LIBRARY: C:/Users/YSY_e/.julia/juliaup/julia-1.11.4+0.x64.w64.mingw32/lib/libjulia.dll.a
[cmake] -- JULIA_HOME: C:\\Users\\YSY_e\\.julia\\juliaup\\julia-1.11.4+0.x64.w64.mingw32\\bin
[cmake] -- Julia_LLVM_VERSION: v16.0.6
[cmake] -- Julia_WORD_SIZE: 64
[cmake] -- Project Version: v0.0.3-641-a713b5e
[cmake] -- Git Tag: v0.0.3
[cmake] -- Git Commit Hash: a713b5e
[cmake] -- Commit Count since Tag: 641
[cmake] -- Using Clang compiler, adding additional flags.
[cmake] -- Julia Include Dirs: C:\Users\YSY_e\.julia\juliaup\julia-1.11.4+0.x64.w64.mingw32\include\julia
[cmake] -- Julia Library: C:\Users\YSY_e\.julia\juliaup\julia-1.11.4+0.x64.w64.mingw32\lib
But my hpp code
#pragma once
#include <cstdint>
#include <cstddef>
#include <julia.h>
show me some error like that
[build] C:/Users/YSY_e/.julia/juliaup/julia-1.11.4+0.x64.w64.mingw32/include/julia\ios.h:88:30: error: unknown type name 'ios_t'
[build] 88 | JL_DLLEXPORT size_t ios_read(ios_t *s, char *dest, size_t n) JL_NOTSAFEPOINT;
[build] | ^
[build] C:/Users/YSY_e/.julia/juliaup/julia-1.11.4+0.x64.w64.mingw32/include/julia\ios.h:89:33: error: unknown type name 'ios_t'
[build] 89 | JL_DLLEXPORT size_t ios_readall(ios_t *s, char *dest, size_t n) JL_NOTSAFEPOINT;
[build] | ^
[build] C:/Users/YSY_e/.julia/juliaup/julia-1.11.4+0.x64.w64.mingw32/include/julia\ios.h:90:31: error: unknown type name 'ios_t'
[build] 90 | JL_DLLEXPORT size_t ios_write(ios_t *s, const char *data, size_t n) JL_NOTSAFEPOINT;
[build] | ^
[build] C:/Users/YSY_e/.julia/juliaup/julia-1.11.4+0.x64.w64.mingw32/include/julia\ios.h:91:31: error: unknown type name 'ios_t'
[build] 91 | JL_DLLEXPORT int64_t ios_seek(ios_t *s, int64_t pos) JL_NOTSAFEPOINT; // absolute seek
[build] | ^
[build] C:/Users/YSY_e/.julia/juliaup/julia-1.11.4+0.x64.w64.mingw32/include/julia\ios.h:92:35: error: unknown type name 'ios_t'
[build] 92 | JL_DLLEXPORT int64_t ios_seek_end(ios_t *s) JL_NOTSAFEPOINT;
[build] | ^
[build] C:/Users/YSY_e/.julia/juliaup/julia-1.11.4+0.x64.w64.mingw32/include/julia\ios.h:93:31: error: unknown type name 'ios_t'
[build] 93 | JL_DLLEXPORT int64_t ios_skip(ios_t *s, int64_t offs); // relative seek
[build] | ^
[build] C:/Users/YSY_e/.julia/juliaup/julia-1.11.4+0.x64.w64.mingw32/include/julia\ios.h:94:30: error: unknown type name 'ios_t'
[build] 94 | JL_DLLEXPORT int64_t ios_pos(ios_t *s) JL_NOTSAFEPOINT; // get current position
[build] | ^
[build] C:/Users/YSY_e/.julia/juliaup/julia-1.11.4+0.x64.w64.mingw32/include/julia\ios.h:95:35: error: unknown type name 'ios_t'
[build] 95 | JL_DLLEXPORT int64_t ios_filesize(ios_t *s);
[build] | ^
[build] C:/Users/YSY_e/.julia/juliaup/julia-1.11.4+0.x64.w64.mingw32/include/julia\ios.h:96:28: error: unknown type name 'ios_t'
[build] 96 | JL_DLLEXPORT int ios_trunc(ios_t *s, size_t size) JL_NOTSAFEPOINT;
[build] | ^
[build] C:/Users/YSY_e/.julia/juliaup/julia-1.11.4+0.x64.w64.mingw32/include/julia\ios.h:97:26: error: unknown type name 'ios_t'
[build] 97 | JL_DLLEXPORT int ios_eof(ios_t *s);
[build] | ^
[build] C:/Users/YSY_e/.julia/juliaup/julia-1.11.4+0.x64.w64.mingw32/include/julia\ios.h:98:35: error: unknown type name 'ios_t'
[build] 98 | JL_DLLEXPORT int ios_eof_blocking(ios_t *s);
[build] | ^
[build] C:/Users/YSY_e/.julia/juliaup/julia-1.11.4+0.x64.w64.mingw32/include/julia\ios.h:99:28: error: unknown type name 'ios_t'
[build] 99 | JL_DLLEXPORT int ios_flush(ios_t *s);
[build] | ^
[build] C:/Users/YSY_e/.julia/juliaup/julia-1.11.4+0.x64.w64.mingw32/include/julia\ios.h:100:28: error: unknown type name 'ios_t'
[build] 100 | JL_DLLEXPORT int ios_close(ios_t *s) JL_NOTSAFEPOINT;
[build] | ^
[build] C:/Users/YSY_e/.julia/juliaup/julia-1.11.4+0.x64.w64.mingw32/include/julia\ios.h:101:29: error: unknown type name 'ios_t'
[build] 101 | JL_DLLEXPORT int ios_isopen(ios_t *s);
[build] | ^
[build] C:/Users/YSY_e/.julia/juliaup/julia-1.11.4+0.x64.w64.mingw32/include/julia\ios.h:102:36: error: unknown type name 'ios_t'
[build] 102 | JL_DLLEXPORT char *ios_take_buffer(ios_t *s, size_t *psize); // nul terminate and release buffer to caller
[build] | ^
[build] C:/Users/YSY_e/.julia/juliaup/julia-1.11.4+0.x64.w64.mingw32/include/julia\ios.h:104:29: error: unknown type name 'ios_t'
[build] 104 | JL_DLLEXPORT int ios_setbuf(ios_t *s, char *buf, size_t size, int own) JL_NOTSAFEPOINT;
[build] | ^
[build] C:/Users/YSY_e/.julia/juliaup/julia-1.11.4+0.x64.w64.mingw32/include/julia\ios.h:105:30: error: unknown type name 'ios_t'
[build] 105 | JL_DLLEXPORT int ios_bufmode(ios_t *s, bufmode_t mode) JL_NOTSAFEPOINT;
[build] | ^
[build] C:/Users/YSY_e/.julia/juliaup/julia-1.11.4+0.x64.w64.mingw32/include/julia\ios.h:106:35: error: unknown type name 'ios_t'
[build] 106 | JL_DLLEXPORT int ios_get_readable(ios_t *s);
[build] | ^
[build] C:/Users/YSY_e/.julia/juliaup/julia-1.11.4+0.x64.w64.mingw32/include/julia\ios.h:107:35: error: unknown type name 'ios_t'
[build] 107 | JL_DLLEXPORT int ios_get_writable(ios_t *s);
[build] | ^
[build] fatal error: too many errors emitted, stopping now [-ferror-limit=]
[build] 20 errors generated.