Visual Studio (or other IDE) setup instructions

Topics (not sure which fora)
when not sure where to post, post here and mods will move it to right forum.

Moderators: leecollings, remb0

User avatar
barts2108
Posts: 25
Joined: Wednesday 17 June 2020 18:31
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Arnhem
Contact:

Re: Visual Studio (or other IDE) setup instructions

Post by barts2108 »

Just setup VS 2022 and found this json/json.h error too. I think it needs another include folder
  • In Visual Studio 2022 (community) Right click the project and select Properties.
  • In Configuration Properties -> C/C++ -> General, the first entry "Additional Include Directories" should look like this

Code: Select all

../msbuild/Windows Libraries/OpenZwave/openzwave;../hardware/plugins/Include;../msbuild/Windows Libraries/include;%(AdditionalIncludeDirectories)
Take note : I added (the 3rd path)

Code: Select all

../msbuild/Windows Libraries/include;
After doing this, I can compile but do note Visual Studio must be set to x86 (it is set to x64 by default)
fantom
Posts: 269
Joined: Thursday 26 March 2015 10:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Poland
Contact:

Re: Visual Studio (or other IDE) setup instructions

Post by fantom »

After one year, I have problem again :(

When I try run domoticz on VS2022, i get errors like:

I see this files in user/source/repos/vcpkg/....

EDIT: Resolved. I I forgot about win32
Attachments
2.PNG
2.PNG (7.17 KiB) Viewed 357 times
1.PNG
1.PNG (7.84 KiB) Viewed 357 times
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest