Skip to content

Instantly share code, notes, and snippets.

View danielt3's full-sized avatar

Daniel Rosa Franzini danielt3

View GitHub Profile
D:\dev\msys64\home\user\myapp>d:\dev\msys64\mingw32\bin\ntldd.exe -R myapp.exe
KERNEL32.dll => C:\WINDOWS\SYSTEM32\KERNEL32.dll (0x01330000)
ntdll.dll => C:\WINDOWS\SYSTEM32\ntdll.dll (0x014d0000)
KERNELBASE.dll => C:\WINDOWS\SYSTEM32\KERNELBASE.dll (0x014d0000)
ext-ms-win-advapi32-registry-l1-1-0.dll => not found
ext-ms-win-advapi32-registry-l1-1-1.dll => not found
ext-ms-win-kernel32-appcompat-l1-1-0.dll => not found
ext-ms-win-ntuser-string-l1-1-0.dll => not found
ext-ms-win-kernel32-file-l1-1-0.dll => not found
ext-ms-win-kernel32-datetime-l1-1-0.dll => not found
$ ntldd.exe -R myapp.exe
KERNEL32.dll => C:\WINDOWS\SYSTEM32\KERNEL32.dll (0x01490000)
ntdll.dll => C:\WINDOWS\SYSTEM32\ntdll.dll (0x01d10000)
KERNELBASE.dll => C:\WINDOWS\SYSTEM32\KERNELBASE.dll (0x01d10000)
ext-ms-win-advapi32-registry-l1-1-0.dll => not found
ext-ms-win-advapi32-registry-l1-1-1.dll => not found
ext-ms-win-kernel32-appcompat-l1-1-0.dll => not found
ext-ms-win-ntuser-string-l1-1-0.dll => not found
ext-ms-win-kernel32-file-l1-1-0.dll => not found
ext-ms-win-kernel32-datetime-l1-1-0.dll => not found
@danielt3
danielt3 / hpgl2gcode.cpp
Created February 12, 2021 13:58 — forked from lhartmann/hpgl2gcode.cpp
Simple HPGL parser with GCODE output
// (c) 2020 Lucas V. Hartmann, github.com/lhartmann
// MIT license.
// Use:
// hpgl2gcode --scale=1 --up=1 --down=0 < in.hpgl > out.gcode
// --scale=1 Sets how many HPGL units for 1 GCODE unit.
// --up=1 Sets Z for pen-up.
// --down=0 Sets Z for pen down.
// Values shown are defaults.
//
Ubuntu 20.10 (amd64)
===================
How to run BennuGD
1.) add i386 architecture
dpkg --add-architecture i386
2.) add 'bionic' repo to list (for libssl 1.0.0)