This is the version 5ecae231d5d268530369a9fc from 2020-05-24 21:08:01 comment: 'more msys2'
Windows Programmierung ed
Table of Contents
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:
- im Menü: View, Other Windows, Property Manager
- per rechtsklick auf eine (beliebige) Konfiguration, Add New Project Property Sheet
- anlegen
- Doppelklick
- Common Properties, User Macros
- ...
dann die Bibliotheken einbinden:
- Project, Properties
- Configuration Properties, VC++ Directories
- All Configurations
- $(MeinMacro)\lib...
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...
pacman -S mingw-w64-x86_64-gcc pacman -S mingw-w64-x86_64-meson pacman -S nano pacman -S openssh
Categories: Computer, Programmieren