ppwwyyxx / OpenPano

Automatic Panorama Stitching From Scratch
MIT License
1.85k stars 552 forks source link

record how to use on windows #139

Open zkas opened 3 months ago

zkas commented 3 months ago

"It's not a question, just an answer on how to compile on Windows." 1 please use static libraries, as dynamic libraries require symbol exporting. As for generating a static library, please modify the 'SHARED' option in the CMakeLists to 'STATIC'. 2 Please use the C++14 standard and then comment out the filesystem-related code (without affecting actual functionality, the modifications are solely for logging purposes). If using the C++17 standard, note that random_shuffle has been deprecated in C++, and modifying it can be a bit complicated. 3 In the case of Windows and 64-bit, you need to add BASIC_TYPE_SERIALIZER(size_t) to avoid compilation failures.