Setting Up Dev C++

Contents
  • Get the Flutter SDK
  • Android setup
  1. From the Dev-C menu, select File - New - Project. A new dialog box will appear. Press the Basic tab and select Console Application from the types of projects. Type the name of the project in the field named Name. Select the C Project option from the box with options. Press the Ok button.
  2. Install developer tools Install NodeJS. Install NodeJS LTS version 10. If you are in Windows, you can use the msi installers (x86 or x64) in this link for the easiest way to set up NodeJS (notice that these direct links evolve over time, so check the latest v10 from the above directory).If you have NodeJS already installed, check that you have the correct version by using node -v.
  3. Instructor Because XML is an open and text based file format, you can use whatever code editor you want for working with the example files in this course. I'm going to be using Visual Studio Code. It's free and it runs on Mac, Windows and Linux. It also has a great ecosystem of third party plugins for working with a variety of technologies including XML.

System requirements

Local Environment Setup. If you are still willing to set up your environment for C, you need to have the following two softwares on your computer. This will be used to type your program. Examples of few editors include Windows Notepad, OS Edit command, Brief, Epsilon, EMACS, and vim or vi. 5)Now take the SDL.dll from the SDL folder you extracted (it should be inside the bin subfolder) and copy it to where you're going to make your project.You're going to put SDL.dll in the same directory as your exe when you compile it. Setup content on DEV. How to: Set up a new Windows laptop quickly (with some prep and tooling beforehand).

To install and run Flutter,your development environment must meet these minimum requirements:

  • Operating Systems: Windows 7 SP1 or later (64-bit)
  • Disk Space: 400 MB (does not include disk space for IDE/tools).
  • Tools: Flutter depends on these tools being available in your environment.
    • Windows PowerShell 5.0 or newer (this is pre-installed with Windows 10)
    • Git for Windows 2.x, with theUse Git from the Windows Command Prompt option.

      If Git for Windows is already installed, make sure you can run git commands from the command prompt or PowerShell.

Get the Flutter SDK

  1. Download the following installation bundle to get the lateststable release of the Flutter SDK:

    For other release channels, and older builds, see theSDK archive page.

  2. Extract the zip file and place the contained flutterin the desired installation location for the Flutter SDK(for example, C:srcflutter;do not install Flutter in a directory likeC:Program Files that requires elevated privileges).

If you don’t want to install a fixed version of the installation bundle, you can skip steps 1 and 2. Instead, get the source code from the Flutter repo on GitHub, and change branches or tags as needed. For example:

You are now ready to run Flutter commands in the Flutter Console!

Update your path

If you wish to run Flutter commands in the regular Windows console,take these steps to add Flutter to the PATH environment variable:

  • From the Start search bar, enter ‘env’and select Edit environment variables for your account.
  • Under User variables check if there is an entry called Path:
    • If the entry exists, append the full path to flutterbin using; as a separator from existing values.
    • If the entry doesn’t exist,create a new user variable named Path withthe full path to flutterbin as its value.

Note that you have to close and reopen any existing console windowsfor these changes to take effect.

Run flutter doctor

Dev C++ Pdf

From a console window that has the Flutter directory in thepath (see above), run the following command to see if thereare any platform dependencies you need to complete the setup:

This command checks your environment and displays a report of the statusof your Flutter installation. Check the output carefully for othersoftware you might need to install or further tasks to perform(shown in bold text).

For example:

The following sections describe how to perform these tasks andfinish the setup process. Once you have installed any missingdependencies, you can run the flutter doctor command again toverify that you’ve set everything up correctly.

Warning: The flutter tool uses Google Analytics to anonymously report feature usage statistics and basic crash reports. This data is used to help improve Flutter tools over time.

Flutter tool analytics are not sent on the very first run. To disable reporting, type flutter config --no-analytics. To display the current setting, type flutter config. If you opt out of analytics, an opt-out event will be sent, and then no further information will be sent by the Flutter tool.

By downloading the Flutter SDK, you agree to the Google Terms of Service. Note: The Google Privacy Policy describes how data is handled in this service.

Moreover, Flutter includes the Dart SDK, which may send usage metrics and crash reports to Google.

Dev C++ Programs

Android setup

Note: Flutter relies on a full installation of Android Studio to supply its Android platform dependencies. However, you can write your Flutter apps in a number of editors; a later step will discuss that.

Install Android Studio

  1. Download and install Android Studio.
  2. Start Android Studio, and go through the ‘Android Studio Setup Wizard’.This installs the latest Android SDK, Android SDK Command-line Tools,and Android SDK Build-Tools, which are required by Flutterwhen developing for Android.

Warning: In Android Studio 3.6 or later, you need to manually add the old version of the Android SDK Tools for Flutter to work. To do this:

  1. Open the Android Studio SDK Manager
  2. In the Android SDK tab, uncheck Hide Obsolete Packages
  3. Check Android SDK Tools (Obsolete)

The dialog below shows the appropriate settings:

This is a known issue that will be addressed in an upcoming version of Flutter.

Setting Up Dev C++

Set up your Android device

Dev C++ Program Download

To prepare to run and test your Flutter app on an Android device,you’ll need an Android device running Android 4.1 (API level 16) or higher.

  1. Enable Developer options and USB debugging on your device.Detailed instructions are available in theAndroid documentation.
  2. Windows-only: Install the Google USBDriver.
  3. Using a USB cable, plug your phone into your computer. If prompted on yourdevice, authorize your computer to access your device.
  4. In the terminal, run the flutter devices command to verify thatFlutter recognizes your connected Android device. By default,Flutter uses the version of the Android SDK where your adbtool is based. If you want Flutter to use a different installationof the Android SDK, you must set the ANDROID_HOME environmentvariable to that installation directory.

Set up the Android emulator

To prepare to run and test your Flutter app on the Android emulator,follow these steps:

  1. EnableVM accelerationon your machine.
  2. Launch Android Studio > Tools > Android > AVD Manager and selectCreate Virtual Device. (The Android submenu is only presentwhen inside an Android project.)
  3. Choose a device definition and select Next.
  4. Select one or more system images for the Android versions you wantto emulate, and select Next.An x86 or x86_64 image is recommended.
  5. Under Emulated Performance, select Hardware - GLES 2.0 to enablehardwareacceleration.
  6. Verify the AVD configuration is correct, and select Finish.

    For details on the above steps, see ManagingAVDs.

  7. In Android Virtual Device Manager, click Run in the toolbar.The emulator starts up and displays the default canvas for yourselected OS version and device.

Web setup

Note: As of 1.12, Flutter has early support for running web applications, but you need to be running the beta channel of Flutter. If you experience a problem that hasn’t yet been reported, please file an issue and make sure that “web” appears in the title.

To prepare to run, test, and debug your Flutter app on the web,you must install Chrome, if you haven’t already.

Dev C++ For Windows 10

Next step

Setting Up Dev C Online

Set up your preferred editor.