Skip to content

Commit dca1f4d

Browse files
committed
[build] Print more information when header can't be found
1 parent 2a6bfe7 commit dca1f4d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

deps/generate_wrapper.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ function resolve_header(header::String, include_paths::Vector{String})::String
3939
return path
4040
end
4141
end
42-
error("Couldn't resolve $(header)")
42+
error("Couldn't find $(header) in $(join(repr.(include_paths), ", "))")
4343
end
4444
# Find header files in the include paths
4545
resolve_headers(headers::Vector{String}, include_paths::Vector{String})::Vector{String} =

0 commit comments

Comments
 (0)