• ORBITER-FORUM will be temporarily closed at 2026-07-23 18:00 UTC while we complete some OF maintenance tasks. The amount of downtime is expected to take up to one hour, but probably less.

SDK Question Cannot compile addons for Orbiter 2024

BipBop

New member
Joined
Aug 19, 2025
Messages
4
Reaction score
4
Points
3
Location
Ryazan
I tried to compile my own addon, but I keep getting unresolved external symbol (LNK2019) errors

Then I tried to compile samples addons as said in BuildingSamples.pdf but still I am getting same errors, despite all libraries are included correctly(I hope):

1756967642170.png

I used Cmake 3.21.1 and Visual Studio 2019 as displayed in docs.

Wondering if anyone have met the same problem or I am stupid and using wrong windows SDK or something?
 
I solved it
My mistake was that I was trying to configure samples in cmake as 32-bit then compile them in VS as 32-bit(as said in buildingsamples.pdf), but in orbiter2024 64-bit samples need to be configured in cmake and compiled as 64-bit. (who could've thought)
 
Back
Top