|
-
February 1st, 2008, 01:47 PM
#1
compile windows dependent code in Ubuntu (Linux kernal)
Hello,
I have written a lot of C++ code in VS2005 express. specifically it depends on tchar.h and direct.h. For various reasons i cannot use windows any more and have to continue the project under ubuntu linux. I can complie standard C++ programs using g++ from the therminal, however some of the more complecated programs have dependencies such as tchar.h and direct.h which are supported by windows only. Is there a way of simulating these on linux (WINE?) or better still replacing the relevent parts of the code with a native linux alternative. For example tchar is used to set a file structure in windows format ie c:\... and this is meaningless under linux. Specifically a way of setting up a folder system into which data txt files can be written is needed and any example code would be great.
also what code calls direct.h?
any help would be great
James
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|