Windows Programmierung ed

Visual Studio 2013 ed

OpenGL ed

Dateien glext.h und wglext.h googlen und (von opengl.org) herunterladen. Dann unter C:\Program Files (x86)\Windows Kits\8.1\Include\um\gl ablegen.

Bibliotheken ed

am saubersten über Macros...

zuerst das Macro definieren:

dann die Bibliotheken einbinden:

gtk3 in Visual Studio (2017) ed

https://www.gtk.org/download/windows.phpmsys2 seems to fail...

via msys bash:

git clone https://github.com/Microsoft/vcpkg

via cmd.exe in same folder:

.\bootstrap-vcpkg.bat
vcpkg install gtk:x64-windows

now, vs automatically finds and links when using

#include 

compiled exe files even seem to run from within windows

msys2 ed

download from https://github.com/msys2/msys2/wiki/MSYS2-installation#iv-general-package-management

pacman -Syu
# restart
pacman -Syu
pacman -S mingw-w64-x86_64-gtk3
pacman -S mingw-w64-x86_64-toolchain base-devel

into ~/.bashrc

PATH=_PATH:/mingw64/bin # dollar sign...
PKG_CONFIG_PATH=_PKG_CONFIG_PATH:/mingw64/lib/pkgconfig

pacman -S mingw-w64-x86_64-gcc
pacman -S mingw-w64-x86_64-meson
pacman -S nano
pacman -S openssh

sometimes important paths seem to not work... or other horrible things happening

export CPATH=/mingw64/include/gtk-3.0/:/mingw64/include/glib-2.0:/mingw64/lib/glib-2.0/include:/mingw64/include/pango-1.0:/mingw64/include/cairo:/mingw64/include/gdk-pixbuf-2.0:/mingw64/include/atk-1.0

unwind seems to come without headers.... don't install

Categories: Computer, Programmieren