作者phoenixQ (JAZZ)
看板C_and_CPP
标题[问题] 程式在linux下执行找不到tchar.h
时间Mon Apr 20 20:22:28 2009
我用MS visual studio2008写的程式 (可执行)
想拿到linux下跑
出现下面错误
stdafx.h:7:19: error: tchar.h: No such file or directory
image.c:19: error: ‘_TCHAR’ has not been declared
想请问要怎麽解决?
我是用g++-4.2
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 163.23.14.190
1F:推 sunneo:把stdafx砍掉吧? 04/20 22:50
2F:→ phoenixQ:我把tchar.h砍掉 还有建专案自动产生会用到tchar的部份 04/21 21:35
3F:→ phoenixQ:也改掉 就可以了@@ 04/21 21:41