Problems with finding directory

Post a reply

Confirmation code
Enter the code exactly as it appears. All letters are case insensitive.
Smilies
:D :) ;) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :!: :?: :idea: :arrow: :| :mrgreen: :geek: :ugeek:

BBCode is ON
[img] is ON
[flash] is OFF
[url] is ON
Smilies are ON

Topic review
Confirmation code
Enter the code exactly as it appears. All letters are case insensitive.
   

If you wish to attach one or more files enter the details below.

Maximum filesize per attachment: 1 MiB.

Expand view Topic review: Problems with finding directory

Re: Problems with finding directory

by cpp4robots_admin » 10 Mar 2021 01:09

Hello Patrik,

it is only problem with MS Visual Studio IntelliSense.
These header files as EV3_LCDDisplay.h, EV3_Sound.h, etc. are not missing in installation of Cpp4Robots extension.

Here is the solution for your problem with MS Visual Studio IntelliSense:
I suppose, that your installation of Cpp4Robots extension is in folder C:\Program Files (x86)\JSiebSW\Cpp4Robots\
Right click on your current project in Solution Explorer window and select item Properties.
Select in property window: Configuration Properties -> C/C++ -> General-> Additional Include Directories -> <Edit...>
Insert new line in "Additional Include Directories" window: C:\ProgramFiles(x86)\JSiebSW\Cpp4Robots\TargetDevice\Lego\EV3\API\include

Cpp4Robots Support

Problems with finding directory

by Patrik Björnsson » 10 Nov 2020 14:44

Hello!

I have a Little bit of a problem when trying to use your Software.
I have installed the "Cpp4Robots" extension and have the right version of Microsoft Visual studio (2017 Community)
but when i try to #include <EV3_Sound.h> or any of the directories i just get the "cannot open source file...".
I have checked and it is enabled in the Tools/Extensions menu.

Do you know what could be causing this?
Have i missed something?
I am somewhat used to C# but im kinda new to C so i might be missing something obvious.

Thank you!

Top