Skip to content

Commit 9511b9f

Browse files
authored
Merge pull request #6694 from cyberbotics/sync-master-52ce39966
Merge master into develop
2 parents 0d2c295 + 4a44b46 commit 9511b9f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/guide/using-your-ide.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ Then choose these settings:
124124

125125
Where "MyController" is the name of a new or already existing controller
126126
directory, and where "Location" must indicate the "controllers" subdirectory of
127-
your Webots project directory.
127+
your Webots project directory. Make sure to check the "Place solution and project in the same directory" checkbox.
128128

129129
3. Then you can add a C or C++ source file to your project: Choose either: `Project / Add Existing Item` or `Project / Add New Item / C++ File (.cpp)`.
130130
In the second case you can copy the content of one of the C/C++ examples of Webots distribution.
@@ -184,9 +184,9 @@ If you want to use the C++ API follow these instructions:
184184
You can proceed like this:
185185

186186
- In Visual Studio, in the `Solution Explorer`: right-mouse-click on the `Sources Files` folder, then select `Add / New Filter`.
187-
This should create a `NewFilter1` subfolder in your `Sources Files` folder.
188-
Then select the `NewFilter1` and with the right-mouse-button: choose the `Add / Existing Item...` menu.
189-
In the file dialog, go to the "C:\Program Files\Webots\resources\languages\cpp" directory, then select all the .cpp files (but no other file) in that directory and hit the `Add` button.
187+
This should create a `NewFilter` subfolder in your `Sources Files` folder.
188+
Then select the `NewFilter` and with the right-mouse-button: choose the `Add / Existing Item...` menu.
189+
In the file dialog, go to the "C:\Program Files\Webots\src\controller\cpp" directory, then select all the .cpp files (but no other file) in that directory and hit the `Add` button.
190190
This should add the "Accelerometer.cpp, Camera.cpp, Compass.cpp", etc. source files to your project.
191191

192192
6. Now you should be able to build your controller with the `Build / Build MyController` menu item (or the <kbd>F7</kbd> key).

0 commit comments

Comments
 (0)