Starfield-Reverse-Engineering / CommonLibSF

A collaborative reverse-engineered library for Starfield
GNU General Public License v3.0
93 stars 36 forks source link

Trying to build this, I see a lot of "Windows API detected. Please move any Windows API includes after CommonLib, or remove them." #282

Open IronFox opened 3 weeks ago

IronFox commented 3 weeks ago

I tried building the solution generated by cmake but it generates a dozen or so errors of that kind. The include trees are pretty deep and I do not know which include specifically generates _INC_WINAPIFAMILY, so I'm kinda stuck here. Removing the #if predictably makes it worse. I suspect this comes from possibly recent changes in spdlog. Nothing else changed from your code

qudix commented 3 weeks ago

Can you provide more context or a reproducible example? How exactly are you building this, with a plugin or just standalone?