# fltk-src **Repository Path**: zjugkc/fltk-src ## Basic Information - **Project Name**: fltk-src - **Description**: The source code of FLTK - **Primary Language**: Unknown - **License**: BSD-2-Clause - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2023-12-19 - **Last Updated**: 2023-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # fltk-src Source code of FLTK ## Website FLTK's website is [here](https://www.fltk.org). Current Version: 1.4.0 ## Compiling 1. Windows ``` \cmake ../fltk-src/fltk-r -DOPTION_USE_SYSTEM_LIBJPEG=OFF -DOPTION_USE_SYSTEM_ZLIB=OFF -DOPTION_USE_SYSTEM_LIBPNG=OFF -G "Visual Studio 17 2022" -A x64 MSBuild ALL_BUILD.vcxproj /t:build /p:Configuration=Debug ``` ``` \cmake ../fltk-src/fltk-r -DOPTION_USE_SYSTEM_LIBJPEG=OFF -DOPTION_USE_SYSTEM_ZLIB=OFF -DOPTION_USE_SYSTEM_LIBPNG=OFF -G "Visual Studio 17 2022" -A x64 MSBuild ALL_BUILD.vcxproj /t:build /p:Configuration=Release ``` 1. Linux ``` /cmake ../fltk-src/fltk-r -DCMAKE_BUILD_TYPE=Debug -DOPTION_USE_SYSTEM_LIBJPEG=OFF -DOPTION_USE_SYSTEM_ZLIB=OFF -DOPTION_USE_SYSTEM_LIBPNG=OFF -DOPTION_USE_PANGO=ON -G "Unix Makefiles" make ``` ``` /cmake ../fltk-src/fltk-r -DCMAKE_BUILD_TYPE=Release -DOPTION_USE_SYSTEM_LIBJPEG=OFF -DOPTION_USE_SYSTEM_ZLIB=OFF -DOPTION_USE_SYSTEM_LIBPNG=OFF -DOPTION_USE_PANGO=ON -G "Unix Makefiles" make ``` Copy the file `fl_config.h` to `FL/fl_config.h` in output INCLUDE folder after compiling. The packages `libx11-dev libxinerama-dev libxcursor-dev libpango1.0-dev libglu1-mesa-dev` should be installed under linux system when using this library. ## Pack for cpkg system dev: ``` cpkg-info.txt (from cpkg-info.dev) cpkg-import.cmk COPYING (from fltk-r/) bin/ generated executable files include/ fltk-r/FL/* -> FL fl_config.h -> FL lib/ generated library files -> Debug, Release ```