Press F5 to run the program to the end or F10 to step into it:.Then enter “ArrowRight.png ArrowRotated.png” in the text field: Enable the toolbar by right-clicking in the toolbar area and selecting VisualGDB. The easiest way to do it is to use the VisualGDB toolbar. Now we need to provide the command-line arguments to our program and run it.We omit the lib prefix in the flags.mak file as GCC traditionally requires it. To fix the linker errors you will need to add the Magick++ library to the LIBRARY_NAMES: Note that the actual library file is called libMagick++.a and is located in one of the standard library directories.If you build your project now the compilation will succeed but you will get several linker errors instead: To fix the GCC includes open the flags.mak file and add /usr/include/ImageMagick to the INCLUDE_DIRS statement. The error is shown because GCC include directories are managed separately from IntelliSense include directories.If you try to build your project now you will get an error message: Replace the contents of the main source file with the following:.If you have installed other libraries recently, click “Edit Remote Cache”, select all directories and press “Reload”: VisualGDB will add the directory to the IntelliSense search path.
As we have configured shared folders, the Linux computer will be able to automatically access all files from the Windows project directory and write files to it as well.VisualGDB will create a “Hello, World” project. Once the folder is shared and mounted use the diagram at the bottom if the wizard page to recheck the relation between the Windows and Linux paths:.In this example we use /opt/VisualGDB-projects: When you press OK VisualGDB will let you select the mount point where you want to map your folder.To let the Linux computer access your shared folder you will need to provide valid credentials: In this example the project resides in c:\projects\RotateDemo and we will share c:\projects.
• VisualGDB will suggest sharing one of the folders containing the project folder. Last change on this file since 50e505a was 646c89d, checked in by Ken MoffatSelect “Mount a shared Windows folder” and click “Setup”: To let the Linux machine easily access files from the Windows project folder we will use a shared folder instead of transferring the files.When the package is installed go back to the VisualGDB wizard and press “Next”.