Thread overview
MFC
Feb 09, 2002
Phill
Feb 09, 2002
user
Feb 09, 2002
Phill
Feb 09, 2002
user
Feb 10, 2002
Phill
Feb 10, 2002
user
Feb 10, 2002
Phill
February 09, 2002
Can anybody help me by giving me
some instructions on how to build the
MFC libraries, please?

Phill



--
phillbert@pacific.net.au


February 09, 2002
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
> 
> 
> 

February 09, 2002
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
> >
> >
> >
>


February 09, 2002
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
>>>
>>>
>>>
>>>
> 
> 

February 10, 2002
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
> >>>
> >>>
> >>>
> >>>
> >
> >
>


February 10, 2002
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

February 10, 2002
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
>