cgg-bern / AlgoHex

GNU Affero General Public License v3.0
18 stars 6 forks source link

Build error with CoMISo #11

Closed rl00100 closed 8 months ago

rl00100 commented 8 months ago

Hi,

I am trying to compile AlgoHex in Ubuntu 18.04, but the build fails when compiling "external/CoMISo/CMakeFiles/CoMISo.dir/NSolver/NewtonSolver.cc.o". I'm not sure if i have missed a dependency, or some other mistake i have made is causing the issue.

I have attached the logs for the cmake config, and when i attempt to build. Build_Log.txt Cmake_prep.txt

Cheers,

Rob

mheistermann commented 8 months ago

Hi Rob! Thanks for reporting the issue, it's not your mistake, but ours. We're pulling in the master branch of Eigen, which currently has some breakage. I'll fix it later today by fixing the versions of dependencies to known-good ones.

mheistermann commented 8 months ago

Please try with current main (and possibly a fresh build folder), I used the opportunity to do a bigger overhaul of the dependency handling CMake code.

If you still run into problems, please re-open this issue (or open a new one if you encounter an unrelated problem).

rl00100 commented 8 months ago

I think your Eigen branch is private, i keep getting permission issues when i run the new main.

mheistermann commented 8 months ago

Oops! Sorry, fixed that.

(FYI: I had to link to my branch as the associated merge request was not accepted yet.)

Please try again :)

(Update Jan 23: Eigen master branch now contains the required fix)

rl00100 commented 8 months ago

Thanks,built without any issue :)

To use with my solver i will have to convert from the OVM format, I have been trying to use the meshio fork you have listed in other issues but the commands do not work.

mheistermann commented 8 months ago

Great to hear! Sorry for the inconvenience with the OVM file format. We'll add other output formats in the future, but I can't give a timeline for that. Feel free to open a fresh issue for conversion problems - the forked meshio should work for ascii .ovm files (not for binary .ovmb files), with the caveat of not converting additional data (OVM properties) that are used for feature information.