OpenBluetoothToolbox / SimpleBLE

SimpleBLE - the all-in-one Bluetooth library for MacOS, iOS, Windows, Linux and Android.
https://www.simpleble.org
Other
655 stars 110 forks source link

Debug / Release versions #245

Closed kingpeterking closed 1 month ago

kingpeterking commented 1 year ago

Hello,

I suspect that I am being lazy in not taking the time to learn CMake and build the files myself. When I try to build a Release version of my code I get the following VS Linker issue.

LNK2038 mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '2' doesn't match value '0' in AKDeviceManager.obj

A bit of research suggests that this is because the compiler wants debug level 0, whereas the SimpleBLE is built to level 2.

Is there an easy way around this?

Thanks