SFML undefined reference to mostly libpng

This page summarizes the projects mentioned and recommended in the original post on /r/cpp_questions

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • SFML

    Simple and Fast Multimedia Library

  • cmake_minimum_required(VERSION 3.21) project(E10_sfmlObserver_exercise LANGUAGES CXX) include(FetchContent) FetchContent_Declare(SFML GIT_REPOSITORY https://github.com/SFML/SFML.git GIT_TAG 2.6.x) FetchContent_MakeAvailable(SFML) set(SOURCE_FILES GameApp.cpp GameApp.h Display.h GameCharacter.h GameCharacter.cpp MiniMapView.h MiniMapView.cpp VideogameMapView.h VideogameMapView.cpp Subject.h Observer.h) add_executable(${PROJECT_NAME} main.cpp ${SOURCE_FILES}) target_link_libraries(${PROJECT_NAME} PRIVATE sfml-graphics sfml-window sfml-system) target_compile_features(${PROJECT_NAME} PRIVATE cxx_std_17) if (WIN32 AND BUILD_SHARED_LIBS) add_custom_command(TARGET ${PROJECT_NAME} POST_BUILD COMMAND ${CMAKE_COMMAND} -E copy $ $ COMMAND_EXPAND_LISTS) endif() install(TARGETS ${PROJECT_NAME})

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts