FAQ - Estia-1a/projetGenieInfo_public GitHub Wiki

I have trouble compiling the original project

The git commands are not recognized

If the git commands are not recognized (e.g. after having done CTRL + SHIFT + P and typed " Git: clone " nothing is displayed:

If your project does not compile:

NO ACCENT IN PATH

  • No accents in any of the folder names where your project is located
    • Example of what not to do : C:\Users\elodie.bouzekri\OneDrive - ESTIA\Documents\Ma bibliothèque\Génie Informatique\

You should clone your project in a folder like C:/projetInfo/pgi-2022-NameOfYourteam

Minimum version of CMAKE

Sometimes cmake is not up to date, you can lower it version to 3.15 or 3.12

  • Open CMakeLists.txt
    • Change cmake_minimum_required(VERSION 3.20) to cmake_minimum_required(VERSION 3.15)

Minimum Version of MinGW

  • Check that you have downloaded MinGW : C:\MinGW\bin

Libraries installation path

  • Check that you have correctly installed the estia-image and getopt libraries.
    • The estia-image/ and getopt/ folders must be in the root of your project. That is: "pgi-2022-\estia-image/" and "pgi-2022-\getopt/" with the name of your team. The structure and names of the folders should be exactly as follows:
  • estia-image
    • include
      • estia-image.h
    • lib
      • libestia-image.a
  • getopt
    • include
      • getopt.h
    • lib
      • libgetopt.a

I have trouble with Git and The project

Authenticate with git :

If you are having an issue with git not being authorized with GitHub, you can force git to open a browser to set up the authentification

git config --global credential.useHttpPath true