Skip to content

Instantly share code, notes, and snippets.

@pemd-sys
pemd-sys / wxWidgetInstall.md
Last active July 13, 2024 07:59
Installing wxWidgets

Installing wxWidgets on Ubuntu

The latest download and install instructions are available in
https://docs.wxwidgets.org/3.1/plat_gtk_install.html
The wiki is a bit old so try following the above and consult the wiki for more details. BUT, follow the steps as per the docs NOT the wiki.
https://wiki.wxwidgets.org/Compiling_and_getting_started

However sometimes specially for new linux users it can become overwhelming and installation process can throw funny errors. So I have created a step by step process to hopefully help you compile wxwidgets. Enjoy :-)

Installing pre-requisites

@pemd-sys
pemd-sys / wxWidgetCoding.md
Last active October 1, 2021 21:41
wxWidgets Compiling your Code

Compiling your own wxwidgets codes

The easiest way to see if the compile paths are setup correctly is to try building one of the samples in a new directory.

mkdir ~/minimal
cd ~/minimal

Go to the samples folder of wxwidgets source files assumed to be in ~/wxWidgets-3.0.5/samples/

@pemd-sys
pemd-sys / wxWidgetOpengl.md
Last active August 6, 2023 11:16
Compiling wxWidgets code with Opengl example

Setup environment for opengl

sudo apt-get update
sudo apt-get install cmake pkg-config
sudo apt-get install mesa-utils libglu1-mesa-dev freeglut3-dev mesa-common-dev
sudo apt-get install libglew-dev libglfw3-dev libglm-dev
sudo apt-get install libao-dev libmpg123-dev
@pemd-sys
pemd-sys / gist_markdown_examples.md
Created October 1, 2021 23:26 — forked from ww9/gist_markdown_examples.md
Gist markdown examples

Gist markdown examples

A collection of Markdown code and tricks that were tested to work in Gist.

This and all public gists in https://gist.github.com/ww9 are Public Domain. Do whatever you want with it including , no need to credit me.

Todo

  • Reformat this whole document and assimilate these:
@pemd-sys
pemd-sys / readme.md
Created October 1, 2021 23:27 — forked from benstr/readme.md
Gist Markdown Cheatsheet

#Heading 1 ##Heading 2 ###Heading 3 ####Heading 4 #####Heading 5 ######Heading 6


Paragraph

@pemd-sys
pemd-sys / openglVirtualBox.md
Last active October 7, 2021 21:01
Running opengl codes in Oracle virtualbox

Running opengl code in virtual box

Sometimes, opengl codes do not run in virtual box due to different opengl implementation. for example in my system we can find out the opengl version by running the following command

glxinfo | grep version

which gives

server glx version string: 1.4
client glx version string: 1.4
@pemd-sys
pemd-sys / javaJcuda.md
Last active October 7, 2021 20:56
installing java and running jcuda application

installing java and running jcuda application

install intellj software
install visual studio c++ community
add cl.exe path to environment variables
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.23.28105\bin\Hostx64\x64

install nvidia cuda toolkit
https://developer.nvidia.com/cuda-downloads?target_os=Windows&target_arch=x86_64&target_version=10&target_type=exe_local
open project folder in intellj software
add JAR dependencies by adding the JAR folder into the project

@pemd-sys
pemd-sys / excel.md
Created November 28, 2021 11:59
Recovering Lost Excel Sheet Passwords