Compiling C++ files with AVRStudio
Use the following steps to compile the C++ files from the SRS Workshop Robot Level 2 kit with AVRStudio.
- Launch AVRStudio and create a new project.
- In the new project window, select "AVR GCC". Name the new project with the same name as the folder that contains the files (leave off the number prefix). For example. the Project name for the files in the directory "04 ClassesGalore" will be ClassesGalore.
- Deselect the check boxes next to the options "Create initial file" and "Create folder".
- Click the "…" button and select the folder that contains the files for the project. Be sure to navigate into the folder itself then click select.
- Click the next button. Select "AVR Simulator" and select your processor, then click "Finish".
- From the "Project" menu, select "Configuration Options". Select the "Use External Makefile" option, and select the makefile in the directory that holds your other project files.
You can now build the files using the options from the Build menu. If you want to use AVRStudio to edit the files as well, right click on Source Files in the left hand pane in AVRStudio and select the source file of your program.
page_revision: 1, last_edited: 1213256792|%e %b %Y, %H:%M %Z (%O ago)





