[Wine] wineg++ and conio.h problem

szczerb wineforum-user at winehq.org
Thu Jan 1 06:55:31 CST 2009


Here is a sample code:

Code:
#include <iostream>
#include <cstdlib>
#include <wine/msvcrt/conio.h>

int main()
{
	std::cout << "Press something...\n";
	getch();
	return EXIT_SUCCESS;
}



and here is the compile log: (two things are translated from polish so may differ a bit but meaning is the same)

Code:
szczerb at nomad ~/projekty/wine/temp $ make
wineg++ -c      -o main.o main.cpp
In file included from main.cpp:3:
/usr/include/wine/msvcrt/conio.h:11:21: error: crtdefs.h: no such file or directory
winegcc: g++ failed
make: *** [main.o] error 2



and the file is there:

Code:
szczerb at nomad ~/projekty/wine/temp $ slocate crtdefs.h
/usr/include/wine/msvcrt/crtdefs.h




Any ideas on that one? ;]







More information about the wine-users mailing list