How to run windows based application in linux
Hi,
I am using Ubuntu 7.1 and have created a Kdevelop application of Simple Win32GUI
application......
When I build it , gives following error:
Quote:
/home/bargi/Window/src/window.cpp:4:21: error: windows.h: No such file or directory
/home/bargi/Window/src/window.cpp:6: error: ‘HINSTANCE’ was not declared in this scope
/home/bargi/Window/src/window.cpp:6: error: ‘HINSTANCE’ was not declared in this scope
/home/bargi/Window/src/window.cpp:6: error: ‘LPSTR’ was not declared in this scope
/home/bargi/Window/src/window.cpp:6: error: expected primary-expression before ‘int’
/home/bargi/Window/src/window.cpp:6: error: initializer expression list treated as compound expression
/home/bargi/Window/src/window.cpp:7: error: expected ‘,’ or ‘;’ before ‘{’ token
Making all in src
make[2]: *** [window.o] Error 1
compiling window.cpp (g++)
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
*** Exited with status: 2 ***
How can I run it. ?????
I have googled and found that wine can be helpful ,can anybody suggest how to utilized it and what are the steps involved ????
Thanks