You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
create_definition
Error using create_definition (line 15)
Errors parsing header file.
C:\Users\xxx\AppData\Local\Programs\Julia-1.6.2\include\julia\julia.h:142: argument of type "jl_value_t *" is incompatible with parameter of type "unsigned long".
C:\Users\xxx\AppData\Local\Programs\Julia-1.6.2\include\julia\julia.h:933: argument of type "jl_value_t *" is incompatible with parameter of type "unsigned long".
C:\Users\xxx\Downloads\libcxxwrap-julia-master\include\jlcxx\type_conversion.hpp:205: namespace "std" has no member class "bool_constant".
C:\Users\xxx\Downloads\libcxxwrap-julia-master\include\jlcxx\type_conversion.hpp:205: not a class or struct name.
C:\Users\xxx\Downloads\libcxxwrap-julia-master\include\jlcxx\type_conversion.hpp:205: class or struct definition is missing.
C:\Users\xxx\Downloads\libcxxwrap-julia-master\include\jlcxx\type_conversion.hpp:836: "auto" function requires a trailing return type.
C:\Users\xxx\Downloads\libcxxwrap-julia-master\include\jlcxx\type_conversion.hpp:842: "auto" function requires a trailing return type.
C:\Users\xxx\Downloads\libcxxwrap-julia-master\include\jlcxx\module.hpp:376: "has_type" is not a function or static data member.
C:\Users\xxx\Downloads\libcxxwrap-julia-master\include\jlcxx\module.hpp:376: "constexpr" is not valid here.
C:\Users\xxx\Downloads\libcxxwrap-julia-master\include\jlcxx\module.hpp:379: has_type is not a template.
C:\Users\xxx\Downloads\libcxxwrap-julia-master\include\jlcxx\module.hpp:379: "constexpr" is not valid here.
C:\Users\xxx\Downloads\libcxxwrap-julia-master\include\jlcxx\module.hpp:382: has_type is not a template.
C:\Users\xxx\Downloads\libcxxwrap-julia-master\include\jlcxx\module.hpp:382: "constexpr" is not valid here.
C:\Users\xxx\Downloads\libcxxwrap-julia-master\include\jlcxx\module.hpp:385: has_type is not a template.
C:\Users\xxx\Downloads\libcxxwrap-julia-master\include\jlcxx\module.hpp:385: "constexpr" is not valid here.
C:\Users\xxx\Downloads\libcxxwrap-julia-master\include\jlcxx\module.hpp:419: identifier "has_type" is undefined.
C:\Users\xxx\Downloads\libcxxwrap-julia-master\include\jlcxx\module.hpp:419: type name is not allowed.
C:\Users\xxx\Downloads\libcxxwrap-julia-master\include\jlcxx\module.hpp:419: too few arguments for class template "jlcxx::detail::ConditionalAppend".
C:\Users\xxx\Downloads\libcxxwrap-julia-master\include\jlcxx\module.hpp:419: expected a ";".
C:\Users\xxx\Downloads\libcxxwrap-julia-master\include\jlcxx\module.hpp:494: namespace "std" has no member class "bool_constant".
`
The text was updated successfully, but these errors were encountered:
Hi,
according to Publish Interface to Shared C++ Library on Windows I set up a build script:
`
function create_definition
productPath = 'C:\Users\xxx\Downloads\libcxxwrap-julia-master\include\jlcxx';
libPath = 'C:\Users\xxx\AppData\Local\Programs\Julia-1.6.2\bin';
% Header file name
hppFile = 'jlcxx.hpp';
% Full path to folder containing all header files
hppPath = productPath;
% Full path to folder containing include files
iPath = 'C:\Users\xxx\AppData\Local\Programs\Julia-1.6.2\include\julia';
% Library file name
libFile = 'libjulia.dll.a';
v = true;
clibgen.generateLibraryDefinition(fullfile(hppPath,hppFile),...
'IncludePath', iPath,...
'Libraries', fullfile(libPath,libFile),...
'ReturnCArrays',false,...
'Verbose',v)
`
Then I get the follwing errors:
`
The text was updated successfully, but these errors were encountered: