Skip to content

A QRCode generator created with C and some extern libs.

License

Notifications You must be signed in to change notification settings

paulao255/QRCG-C

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

QRCG-C

A QRCode generator application created with C using my onw C-Utils header, QREncode and STB Image Write headers.

Compatible with:

  • Windows.
  • Linux.
  • Mac OS (not tested yet, if you can test it, send an e-mail to contactpaulao@gmail.com or send an issue).

Dependencies

  • GCC (or Mingw GCC for Windows).
  • CMake to build the project.
  • Ninja (or Mingw Ninja for Windows) to help CMake to make the executable file.

Dependencies install process

Windows:

  1. Press Windows + R, type cmd and press Ctrl + Shift + Enter, then open it in administrator mode.
  2. Type into cmd winget install --id="Kitware.CMake" && winget install --id="MSYS2.MSYS2".
  3. Now after install CMake and MSYS2 press Windows + R and type mingw64 or mingw32 for 32 bits, then press Ctrl + Shift + Enter to open it as an administrator.
  4. Now on Mingw Shell type pacman -Syyu it will probably say to quit after update soo you will press y to quit and enter in Mingw Shell again and type pacman -S mingw-w64-x86_64-gcc mingw-w64-x86_64-ninja --needed.
  5. Now you just need to build the project.

Linux:

  1. Install GCC, CMake, Ninja with the Package Manager of the Distribution.
  2. Build the project.

macOS:

  1. Install a MacPort for your current macOS distro.
  2. Enter in terminal and type sudo port selfupdate && sudo port install cmake gcc ninja.

Build process

  1. Create a directory named ./build with terminal.
  2. Enter into the ./build directory.
  3. Type cmake .. -G Ninja in ./build directory to make the ./build/build.ninja file.
  4. Type ninja in ./build to run ./build/build.ninja and create the executable in ./build/bin.
Credits

Created by: @paulao255.

Releases

No releases published

Packages

No packages published