https://github.com/linarcx/win32cross
A sample application to show how develop win32 applications on linux/windows
https://github.com/linarcx/win32cross
Last synced: about 1 year ago
JSON representation
A sample application to show how develop win32 applications on linux/windows
- Host: GitHub
- URL: https://github.com/linarcx/win32cross
- Owner: LinArcX
- Archived: true
- Created: 2024-02-05T20:15:11.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2024-02-05T20:21:02.000Z (over 2 years ago)
- Last Synced: 2025-03-02T05:15:17.484Z (over 1 year ago)
- Language: C
- Size: 1.95 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Build
## Linux
```
/usr/bin/x86_64-w64-mingw32-gcc -municode -o output.exe main.c
file output.exe
wine ./output.exe
```
## Windows
`%comspec% /k build.bat`
# Troubleshooting
> Error: VsDevCmd.bat encountered errors. Environment may be incomplete and/or incorrect. ** error VsDev.cmd
Open regedit and go to:
`HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Command Processor`
Change: `Autorun = "cls"` to: `Autorun = ""`