Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compilation broken on Windows with MSVC 2022 #80

Open
chrismile opened this issue Dec 25, 2024 · 3 comments
Open

Compilation broken on Windows with MSVC 2022 #80

chrismile opened this issue Dec 25, 2024 · 3 comments

Comments

@chrismile
Copy link

When compiling fTetWild with MSVC 2022, the build process fails with many linking errors, such as:

geogram.lib(predicates.obj) : error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MT_StaticRelease' doesn't match value 'MD_DynamicRelease' in tests.obj [D:\a\fTetWild\fTetWild\build\tests\unit_tests.vcxproj]

An example for a failed build in a GitHub actions script can be found at: https://github.com/chrismile/fTetWild/actions/runs/12493373540/job/34861729722

@BimwerxNZ
Copy link

Check here: #33 (comment)

@chrismile
Copy link
Author

Check here: #33 (comment)

@BimwerxNZ Thanks for the link! I also fixed the issue now in my fork of fTetWild at https://github.com/chrismile/fTetWild, where precompiled binaries are also provided. I was able to stick with the MPIR libraries provided by conda.

@chrismile
Copy link
Author

I will leave the issue report open until the problem is fixed in the upstream repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants