www.digitalmars.com         C & C++   DMDScript  

c++.mfc - MFC

reply "Phill" <phillbert pacific.net.au> writes:
Can anybody help me by giving me
some instructions on how to build the
MFC libraries, please?

Phill



--
phillbert pacific.net.au
Feb 09 2002
parent reply user domain.invalid writes:
Download mfc from the digitalmars website.
Extract the zip and maintain the directory structure.

There should be a directory called 'Projects' in de tree. This 
directory contains the idde projects and makefiles.

If you have a idde, load the appropriate project, check the 
include paths in the IDDE and the MFC libs are ready to be build.

When you don't have a idde you could use the <mfclib>.prj file to 
create your own makefile, or use the <mfclib>.mak file with 
smake. Also read the file : "Digital Mars C++ MFC port.txt".

Good Luck
Arjan

Phill wrote:

 Can anybody help me by giving me
 some instructions on how to build the
 MFC libraries, please?
 
 Phill
 
 
 
 --
 phillbert pacific.net.au
 
 
 
Feb 09 2002
parent reply "Phill" <phillbert pacific.net.au> writes:
When I enter this line on the command prompt

smake  -f  allmfc.mak

 I get the following error:
unable to open input file  "altconv.h"

Phill.


<user domain.invalid> wrote in message
news:3C653A35.3080401 domain.invalid...
 Download mfc from the digitalmars website.
 Extract the zip and maintain the directory structure.

 There should be a directory called 'Projects' in de tree. This
 directory contains the idde projects and makefiles.

 If you have a idde, load the appropriate project, check the
 include paths in the IDDE and the MFC libs are ready to be build.

 When you don't have a idde you could use the <mfclib>.prj file to
 create your own makefile, or use the <mfclib>.mak file with
 smake. Also read the file : "Digital Mars C++ MFC port.txt".

 Good Luck
 Arjan

 Phill wrote:

 Can anybody help me by giving me
 some instructions on how to build the
 MFC libraries, please?

 Phill



 --
 phillbert pacific.net.au
Feb 09 2002
parent reply user domain.invalid writes:
You also need the ATL archive from the digitalmars website and 
include the path to ATL\include to the project.

Phill wrote:

 When I enter this line on the command prompt
 
 smake  -f  allmfc.mak
 
  I get the following error:
 unable to open input file  "altconv.h"
 
 Phill.
 
 
 <user domain.invalid> wrote in message
 news:3C653A35.3080401 domain.invalid...
 
Download mfc from the digitalmars website.
Extract the zip and maintain the directory structure.

There should be a directory called 'Projects' in de tree. This
directory contains the idde projects and makefiles.

If you have a idde, load the appropriate project, check the
include paths in the IDDE and the MFC libs are ready to be build.

When you don't have a idde you could use the <mfclib>.prj file to
create your own makefile, or use the <mfclib>.mak file with
smake. Also read the file : "Digital Mars C++ MFC port.txt".

Good Luck
Arjan

Phill wrote:


Can anybody help me by giving me
some instructions on how to build the
MFC libraries, please?

Phill



--
phillbert pacific.net.au
Feb 09 2002
parent reply "Phill" <phillbert pacific.net.au> writes:
Thanks that was the problem , I have now added
ATL\include to my PATH in autoexec.bat.

Now it starts the build and is fine for a while and
then gets the following error :

Internal error :  cgobj 3034

Phill.


<user domain.invalid> wrote in message
news:3C65B4AF.9060002 domain.invalid...
 You also need the ATL archive from the digitalmars website and
 include the path to ATL\include to the project.

 Phill wrote:

 When I enter this line on the command prompt

 smake  -f  allmfc.mak

  I get the following error:
 unable to open input file  "altconv.h"

 Phill.


 <user domain.invalid> wrote in message
 news:3C653A35.3080401 domain.invalid...

Download mfc from the digitalmars website.
Extract the zip and maintain the directory structure.

There should be a directory called 'Projects' in de tree. This
directory contains the idde projects and makefiles.

If you have a idde, load the appropriate project, check the
include paths in the IDDE and the MFC libs are ready to be build.

When you don't have a idde you could use the <mfclib>.prj file to
create your own makefile, or use the <mfclib>.mak file with
smake. Also read the file : "Digital Mars C++ MFC port.txt".

Good Luck
Arjan

Phill wrote:


Can anybody help me by giving me
some instructions on how to build the
MFC libraries, please?

Phill



--
phillbert pacific.net.au
Feb 09 2002
parent reply user domain.invalid writes:
Phill wrote:

 Thanks that was the problem , I have now added
 ATL\include to my PATH in autoexec.bat.
You could also add the -I<path> to INCLUDES in the make-file
 
 Now it starts the build and is fine for a while and
 then gets the following error :
 
 Internal error :  cgobj 3034
Does this happen when you use the allmfc.mak file? If so why do you want to build all libs? You probably only need the nafxcw.lib Which libs is being build when the error occurs? Succes Arjan
Feb 10 2002
parent "Phill" <phillbert pacific.net.au> writes:
I was using allmfc.mak because I wasnt sure
which libraries I need as im very new to C++

Now I have tried to build  nafxcw.mak and
I get the same error:

Internal error: cgobj 3034

Many thanks !

Phill


<user domain.invalid> wrote in message
news:3C668EEA.7080206 domain.invalid...
 Phill wrote:

 Thanks that was the problem , I have now added
 ATL\include to my PATH in autoexec.bat.
You could also add the -I<path> to INCLUDES in the make-file
 Now it starts the build and is fine for a while and
 then gets the following error :

 Internal error :  cgobj 3034
Does this happen when you use the allmfc.mak file? If so why do you want to build all libs? You probably only need the nafxcw.lib Which libs is being build when the error occurs? Succes Arjan
Feb 10 2002