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

Issue using FreeImage.lib in building colmap in Windows VS2022 #20

Open
kindaichinisan opened this issue Sep 25, 2024 · 0 comments
Open

Comments

@kindaichinisan
Copy link

LNK2019 unresolved external symbol getopt referenced in function main colmap_sensor_bitmap_test C:\Users\hwenjun\Documents\GitHub\colmap_cmaked_VS2\src\colmap\sensor\FreeImage_d.lib(mkg3states.obj)

Analysing mkg3states.c shows that it uses #include "libport.h" which has int getopt(int argc, char * const argv[], const char *optstring); but the implementation is not found anywhere in the project.

How to resolve this?

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

1 participant