Open danlooo opened 1 year ago
File dglib/dgRF.h
is indeed not there but file dglib/DgRF.h
is. Is this a case typo or is the header file automatically produced somewhere in the compiing process? However, file dgF2D.h
is definitely not there regarding of case. DGGRID compiling works, maybe these dangling files are not being used by the cmake config of https://github.com/sahrk/DGGRID
Tested on 16c00e678873edd97c945cd4310f24f5d4eea1aa
Creating C++ bindings is much more complex than creating C bindings. The process was successfully demonstrated with a C++ calculator with Julia bindings in https://github.com/danlooo/CxxCalc.jl. Now we want to test whether this also works for DGGRID.
Automated approach
Just using wrapit with default parameters does not work. Julia bindings for some C++ symbols can not be created see #1. Often, wrapit produces a cxx file with duplicated lines, resulting in ambiguous definitions. This holds even with unique cxx lines, e.g. for the two constructors
DgBoundedParam
.Individual approach
Test which C++ symbol fail by building the JLL package for each DGGRID header file individually.
Failure statistics
26 failed.txt 87 passed.txt 113 total
Most frequent errors
File
DgRF.h
is present, so maybe we just need to add a symlink todglib/dgRF.h
Grep error messages
refs/heads/test_header_files_DgIDGGS4D.h
refs/heads/test_header_files_DgIDGGS4H.h
refs/heads/test_header_files_DgPhysicalRFS2D.h
refs/heads/test_header_files_DgPolygon.h
refs/heads/test_header_files_DgProjFuller.h
refs/heads/test_header_files_DgProjGnomonicRF.h
refs/heads/test_header_files_DgProjISEA.h
refs/heads/test_header_files_DgProjTriRF.h
refs/heads/test_header_files_DgRF.h
refs/heads/test_header_files_DgRFBase.h
refs/heads/test_header_files_DgRFNetwork.h
refs/heads/test_header_files_DgRadixString.h
refs/heads/test_header_files_DgRandom.h
refs/heads/test_header_files_DgRunningStats.h
refs/heads/test_header_files_DgSeriesConverter.h
refs/heads/test_header_files_DgSpatialDB.h
refs/heads/test_header_files_DgSqrD4Grid2D.h
refs/heads/test_header_files_DgSqrD4Grid2DS.h
refs/heads/test_header_files_DgSqrD8Grid2D.h
refs/heads/test_header_files_DgSqrD8Grid2DS.h
refs/heads/test_header_files_DgString.h
refs/heads/test_header_files_DgSuperfund.h
refs/heads/test_header_files_DgTriGrid2D.h
refs/heads/test_header_files_DgTriGrid2DS.h
refs/heads/test_header_files_DgTriIDGG.h
refs/heads/test_header_files_DgUtil.h
test_header_files_dggrid.h