Saturday, July 2, 2016

LinuxMint 18

Qt 5.7
--------------
hxxps://www.qt.io

sudo apt-get install build-essential libgl1-mesa-dev

sudo apt-get install cmake

sudo apt-get install valgrind 

..download
chmod +x qt-linux-opensource-XXX-x86-offline.run
./qt-linux-opensource-XXX-x86-offline.run 

Clang 3.8
-----------
hxxp://llvm.org

ppa: deb http://apt.llvm.org/xenial/ llvm-toolchain-xenial-3.8 main
 
key: wget -O - http://apt.llvm.org/llvm-snapshot.gpg.key|sudo apt-key add -
 
sudo apt-get install clang-3.8 clang-3.8-doc libclang-common-3.8-dev 
libclang-3.8-dev libclang1-3.8 libclang1-3.8-dbg libllvm-3.8-ocaml-dev 
libllvm3.8 libllvm3.8-dbg lldb-3.8 llvm-3.8 llvm-3.8-dev llvm-3.8-doc 
llvm-3.8-examples llvm-3.8-runtime clang-format-3.8 python-clang-3.8 
lldb-3.8-dev liblldb-3.8-dbg 
 
sudo apt-get install clang 
 
BOOST
----------- 
hxxp://www.boost.org


sudo apt-get install libboost-all-dev 

 
Clion SFML
-----------

cmake_minimum_required(VERSION 3.5)
project(untitled)

set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")

# Define sources and executable
set(EXECUTABLE_NAME "untitled")
add_executable(${EXECUTABLE_NAME} main.cpp)

# Detect and add SFML
set(CMAKE_MODULE_PATH "/usr/share/SFML/cmake/Modules" ${CMAKE_MODULE_PATH})
find_package(SFML 2 REQUIRED system window graphics network audio)
if(SFML_FOUND)
    include_directories(${SFML_INCLUDE_DIR})
    target_link_libraries(${EXECUTABLE_NAME} ${SFML_LIBRARIES})
endif()