Code: Select all
[b]~$[/b] mkdir bin/wine-3.8
[b]~$[/b] cd bin/wine-3.8/
[b]wine-3.8 $[/b] ../configure --enable-win64 --with-png --without-freetype && make
Code: Select all
#include <stdio.h>
#include <iostream>
#include <fstream>
#include <windows.h>
int main(HINSTANCE hInstance,
HINSTANCE hPrevInstance,
LPTSTR lpCmdLine,
int nCmdShow){
std::ofstream ofs("test.txt");
if (ofs.is_open()){
ofs << "This is just a test";
ofs.close();
}
return 0;
}
But wen I tried launching AppNoCMD in the cluster using this command:
Code: Select all
[b]wine-3.8 $ wine64 ../AppNoCMD.exe[/b]
Code: Select all
000d:err:menubuilder:convert_to_native_icon [color=#FF0000]error[/color] 0x80004005 [color=#80FFFF]creating[/color] bitmap encoder
000d:err:wincodecs:PngEncoder_CreateInstance [color=#FF0000]Failed [/color]writing PNG because [color=#FFFF00]unable to[/color] find libpng16.so.16
000d:fixme:ole:CoCreateInstanceEx no instance created for interface {00000103-a8f2-4877-ba0a-fd2b6645fb94} of class {27949969-876a-41d7-9447-568f6a35a4dc}, hres is 0x80004005