Thread: RE: [Dev-C++] compiling MFC program
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Daniel G. <sp...@ho...> - 2004-02-04 10:24:25
|
You'll need the MFC header files, I'm not sure where to get them from though. Anyone? >From: Buday Gergely <bu...@in...> >To: Dev...@li... >Subject: [Dev-C++] compiling MFC program >Date: Wed, 4 Feb 2004 09:59:41 +0100 (MET) > >Hi, > >a colleague of mine has written a program using MSVC++. Is it somehow >possible to compile it using Dev-C++? It complains about > >In file included from EmptyDlg.cpp:14: >stdafx.h:24:64: afxwin.h: No such file or directory >stdafx.h:25:46: afxext.h: No such file or directory >stdafx.h:26:54: afxdisp.h: No such file or directory >stdafx.h:27:87: afxdtctl.h: No such file or directory >stdafx.h:29:83: afxcmn.h: No such file or directory > >Cheers > >- Gergely > > > >------------------------------------------------------- >The SF.Net email is sponsored by EclipseCon 2004 >Premiere Conference on Open Tools Development and Integration >See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. >http://www.eclipsecon.org/osdn >_______________________________________________ >Dev-cpp-users mailing list >Dev...@li... >TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm >https://lists.sourceforge.net/lists/listinfo/dev-cpp-users _________________________________________________________________ Use MSN Messenger to send music and pics to your friends http://www.msn.co.uk/messenger |
|
From: Jan B. <jb...@av...> - 2004-02-04 14:13:35
|
You can always nick the header files from VC++, but you will need the dll or lib files as well to link. I would investigate the MFC penetration and consider replacing the MFC classes you use with look-alikes wrapped around wxWindows etc. Maybe we should create a MFC compatibility wrapper for wxWindows, because I believe it is many people who would like to be able to re-compile their VC++ applications in Dev-C++ and get Linux version etc as part of the deal. Jan -----Original Message----- From: Daniel Glenfield [mailto:sp...@ho...] Sent: 04 February 2004 10:24 To: bu...@in...; Dev...@li... Subject: RE: [Dev-C++] compiling MFC program You'll need the MFC header files, I'm not sure where to get them from though. Anyone? >From: Buday Gergely <bu...@in...> >To: Dev...@li... >Subject: [Dev-C++] compiling MFC program >Date: Wed, 4 Feb 2004 09:59:41 +0100 (MET) > >Hi, > >a colleague of mine has written a program using MSVC++. Is it somehow >possible to compile it using Dev-C++? It complains about > >In file included from EmptyDlg.cpp:14: >stdafx.h:24:64: afxwin.h: No such file or directory >stdafx.h:25:46: afxext.h: No such file or directory >stdafx.h:26:54: afxdisp.h: No such file or directory >stdafx.h:27:87: afxdtctl.h: No such file or directory >stdafx.h:29:83: afxcmn.h: No such file or directory > >Cheers > >- Gergely > > > >------------------------------------------------------- >The SF.Net email is sponsored by EclipseCon 2004 >Premiere Conference on Open Tools Development and Integration >See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. >http://www.eclipsecon.org/osdn >_______________________________________________ >Dev-cpp-users mailing list >Dev...@li... >TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm >https://lists.sourceforge.net/lists/listinfo/dev-cpp-users _________________________________________________________________ Use MSN Messenger to send music and pics to your friends http://www.msn.co.uk/messenger ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Dev-cpp-users mailing list Dev...@li... TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm https://lists.sourceforge.net/lists/listinfo/dev-cpp-users |
|
From: P.D. v. Z. <pd...@xs...> - 2004-02-04 13:31:33
|
Just the header files won't help. You'd need the library files as well, and the VC++ compiler actually ... MFC is a proprietary library by Microsoft, and will only work with their own compiler ... it won't work with GCC. Paul -----Original Message----- From: dev...@li... [mailto:dev...@li...] On Behalf Of Daniel Glenfield Sent: Wednesday, February 04, 2004 11:24 AM To: bu...@in...; Dev...@li... Subject: RE: [Dev-C++] compiling MFC program You'll need the MFC header files, I'm not sure where to get them from though. Anyone? >From: Buday Gergely <bu...@in...> >To: Dev...@li... >Subject: [Dev-C++] compiling MFC program >Date: Wed, 4 Feb 2004 09:59:41 +0100 (MET) > >Hi, > >a colleague of mine has written a program using MSVC++. Is it somehow >possible to compile it using Dev-C++? It complains about > >In file included from EmptyDlg.cpp:14: >stdafx.h:24:64: afxwin.h: No such file or directory >stdafx.h:25:46: afxext.h: No such file or directory >stdafx.h:26:54: afxdisp.h: No such file or directory >stdafx.h:27:87: afxdtctl.h: No such file or directory >stdafx.h:29:83: afxcmn.h: No such file or directory > >Cheers > >- Gergely > > > >------------------------------------------------------- >The SF.Net email is sponsored by EclipseCon 2004 >Premiere Conference on Open Tools Development and Integration >See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. >http://www.eclipsecon.org/osdn >_______________________________________________ >Dev-cpp-users mailing list >Dev...@li... >TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm >https://lists.sourceforge.net/lists/listinfo/dev-cpp-users _________________________________________________________________ Use MSN Messenger to send music and pics to your friends http://www.msn.co.uk/messenger ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Dev-cpp-users mailing list Dev...@li... TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm https://lists.sourceforge.net/lists/listinfo/dev-cpp-users |
|
From: Kevin W. <ke...@me...> - 2004-02-05 00:07:50
|
Borland C++ Builder has the MFC classes too. At 13:35 04/02/04, P.D. van Zelst wrote: >Just the header files won't help. You'd need the library files as well, and >the VC++ compiler actually ... MFC is a proprietary library by Microsoft, >and will only work with their own compiler ... it won't work with GCC. Kev. |