Today I finally got my Uno recognized In Visual Studio the use of lower case IDEin Visual Macro and my combined ADHD/scanning rather than reading fully saw this as ‘idle’ and figured it was an arbitrary folder for generated files. Idiot!
Next up today this is my first C++ project in something like 8 to 10 years. I took the easy life and became a C# developer.
I worked as C/ C++ developer the rest of my career and got into the habit of doing things my way, just as we all do. One of those is setting up the VC++ directories for common libraries, source and include files etc. I’m trying to do this for the SmartThings source and header files so I can more of less forget about them.
Its not working though and I’ve never run into this before. I can’t screen capture the menu as it disappears each time I do.anyway VS2012 -> Solution Explorer -> Select Project File -> Alt + Enter. Expand Configuration Properties and select VC++ Directories. I’ve added the following at the end to both Include Files and Source Files:
Now #include <SmartThings.h> no longer has the reg squiggles beneath the include keyword so I’m doing something right at least and I on the text SmartThings.h, I right-click and choose Open Document <SmartThings.h> and it works just fine
Has anybody else taken this approach and got it working?
(PS This post took over an hour to write because I have a splint protecting the whole of left my hand and its fingers. Don’t do stupid things like slice your hand open, requiring multiple operations to fix, if you’re a dev. One handed typing is a killer and try hitting right alt + 3 to get a hash when RDPing to your dev machine from an 11" MacBook Air, that was awkward and painful!!!)