PLease Help Me ! ( c1076 )

Problems compiling? Don't understand the source code? Don't know how to code your feature? Post here.

Moderator: Moderators

vNeT112
Posts: 4
Joined: 2003-11-04 16:05

PLease Help Me ! ( c1076 )

Post by vNeT112 » 2003-11-04 17:17

Hie,
I am new to this compiling stuff. I have been trying to compile DC from last 15 days ( refering msbn site , posts ) but I am not able to do it.. so atlas I decided to post a query. I found 4 post having same problem as mine but answer to all 4 posts are left incomplete. When I compile I get this error.

Code: Select all

------ Build started: Project: zlib, Configuration: Debug Win32 ------

Compiling...
zutil.c
c:\Program Files\Microsoft Visual Studio .NET\Vc7\include\stddef.h(23) : warning C4182: #include nesting level is 546 deep; possible infinite recursion
c:\Program Files\Microsoft Visual Studio .NET\Vc7\include\stddef.h(23) : fatal error C1076: compiler limit : internal heap limit reached; use /Zm to specify a higher limit
trees.c
c:\Program Files\Microsoft Visual Studio .NET\Vc7\include\stddef.h(23) : warning C4182: #include nesting level is 546 deep; possible infinite recursion
c:\Program Files\Microsoft Visual Studio .NET\Vc7\include\stddef.h(23) : fatal error C1076: compiler limit : internal heap limit reached; use /Zm to specify a higher limit
infutil.c
c:\Program Files\Microsoft Visual Studio .NET\Vc7\include\stddef.h(23) : warning C4182: #include nesting level is 546 deep; possible infinite recursion
c:\Program Files\Microsoft Visual Studio .NET\Vc7\include\stddef.h(23) : fatal error C1076: compiler limit : internal heap limit reached; use /Zm to specify a higher limit
inftrees.c
c:\Program Files\Microsoft Visual Studio .NET\Vc7\include\stddef.h(23) : warning C4182: #include nesting level is 546 deep; possible infinite recursion
c:\Program Files\Microsoft Visual Studio .NET\Vc7\include\stddef.h(23) : fatal error C1076: compiler limit : internal heap limit reached; use /Zm to specify a higher limit
inflate.c
c:\Program Files\Microsoft Visual Studio .NET\Vc7\include\stddef.h(23) : warning C4182: #include nesting level is 546 deep; possible infinite recursion
c:\Program Files\Microsoft Visual Studio .NET\Vc7\include\stddef.h(23) : fatal error C1076: compiler limit : internal heap limit reached; use /Zm to specify a higher limit
inffast.c
c:\Program Files\Microsoft Visual Studio .NET\Vc7\include\stddef.h(23) : warning C4182: #include nesting level is 546 deep; possible infinite recursion
c:\Program Files\Microsoft Visual Studio .NET\Vc7\include\stddef.h(23) : fatal error C1076: compiler limit : internal heap limit reached; use /Zm to specify a higher limit
infcodes.c
c:\Program Files\Microsoft Visual Studio .NET\Vc7\include\stddef.h(23) : warning C4182: #include nesting level is 546 deep; possible infinite recursion
c:\Program Files\Microsoft Visual Studio .NET\Vc7\include\stddef.h(23) : fatal error C1076: compiler limit : internal heap limit reached; use /Zm to specify a higher limit
infblock.c
c:\Program Files\Microsoft Visual Studio .NET\Vc7\include\stddef.h(23) : warning C4182: #include nesting level is 546 deep; possible infinite recursion
c:\Program Files\Microsoft Visual Studio .NET\Vc7\include\stddef.h(23) : fatal error C1076: compiler limit : internal heap limit reached; use /Zm to specify a higher limit
deflate.c
c:\Program Files\Microsoft Visual Studio .NET\Vc7\include\stddef.h(23) : warning C4182: #include nesting level is 546 deep; possible infinite recursion
c:\Program Files\Microsoft Visual Studio .NET\Vc7\include\stddef.h(23) : fatal error C1076: compiler limit : internal heap limit reached; use /Zm to specify a higher limit
Generating Code...


As few post suggested me to change the /ZM limit... I did that... but it makes no difference. I thought I will write the steps which I took to get going ... if i am wrong in anywhere please reply me and I wil check that out...

1) I installed VC.NET on Windows 2003 ( 5 cds ). Everything went fine.
2) I downloaded SDK and installed it.
3) Downloaded DCPlusPlus-0.301-src,DCPlusPlus-STLPort-4.5.1020,DCPlusPlus-wtl7
0-src and unzipped them.
4) I copied all the files which inside DCPlusPlus-wtl7.0-src and DCPlusPlus-STLPort-4.5.1020 and pasted them to C:\Program Files\Microsoft Visual Studio .NET\Vc7\include ( I dun know if this step correct or not )
5) I open VC 7 , Tool>Option>VC++ Directories>Includes> and gave path to 1)SLTport 2) wtl 3) SDK ( Path which points to folder where I had extracted them )
6) When I click on Build > Build DCPlusPLus I get this warnings and errors.


Please Help Me out..I searched everything forum , msbn but i Didn't get any solution. Anyways Thanx for such a great Software and Support.

GargoyleMT
DC++ Contributor
Posts: 3212
Joined: 2003-01-08 02:46
Location: .pa.us

Re: PLease Help Me ! ( c1076 )

Post by GargoyleMT » 2003-11-05 01:46

vNeT112 wrote:4) I copied all the files which inside DCPlusPlus-wtl7.0-src and DCPlusPlus-STLPort-4.5.1020 and pasted them to C:\Program Files\Microsoft Visual Studio .NET\Vc7\include ( I dun know if this step correct or not )
5) I open VC 7 , Tool>Option>VC++ Directories>Includes> and gave path to 1)SLTport 2) wtl 3) SDK ( Path which points to folder where I had extracted them )


I personally don't do step 4. It seems like a Bad Idea(TM). Instead extract both to somewhere (I use C:\include\ - so stlport and wtl both reside in separate directories)... You should probably wipe out your include directories and do a repair install of Visual Studio, so everything's reset back to normal.

vNeT112
Posts: 4
Joined: 2003-11-04 16:05

Post by vNeT112 » 2003-11-05 16:25

Hie,
Thanx a lot for your help.... I reinstalled VS.net and even SDK. Well I guess my 4th step was wrong which was cauing c1076 error. But now.. I am getting this error....

Code: Select all

DCPlusPlus fatal error LNK1120: 13 unresolved externals
DCPlusPlus error LNK2001: unresolved external symbol "public: virtual void __thiscall UCPage::write(void)" (?write@UCPage@@UAEXXZ)
DCPlusPlus error LNK2019: unresolved external symbol "public: long __thiscall StatsFrame::onClose(unsigned int,unsigned int,long,int &)" (?onClose@StatsFrame@@QAEJIIJAAH@Z) referenced in function "public: virtual int __thiscall StatsFrame::ProcessWindowMessage(struct HWND__ *,unsigned int,unsigned int,long,long &,unsigned long)" (?ProcessWindowMessage@StatsFrame@@UAEHPAUHWND__@@IIJAAJK@Z)
DCPlusPlus error LNK2019: unresolved external symbol "public: long __thiscall StatsFrame::onCreate(unsigned int,unsigned int,long,int &)" (?onCreate@StatsFrame@@QAEJIIJAAH@Z) referenced in function "public: virtual int __thiscall StatsFrame::ProcessWindowMessage(struct HWND__ *,unsigned int,unsigned int,long,long &,unsigned long)" (?ProcessWindowMessage@StatsFrame@@UAEHPAUHWND__@@IIJAAJK@Z)
DCPlusPlus error LNK2019: unresolved external symbol "public: long __thiscall StatsFrame::onPaint(unsigned int,unsigned int,long,int &)" (?onPaint@StatsFrame@@QAEJIIJAAH@Z) referenced in function "public: virtual int __thiscall StatsFrame::ProcessWindowMessage(struct HWND__ *,unsigned int,unsigned int,long,long &,unsigned long)" (?ProcessWindowMessage@StatsFrame@@UAEHPAUHWND__@@IIJAAJK@Z)
DCPlusPlus error LNK2019: unresolved external symbol "public: long __thiscall StatsFrame::onSize(unsigned int,unsigned int,long,int &)" (?onSize@StatsFrame@@QAEJIIJAAH@Z) referenced in function "public: virtual int __thiscall StatsFrame::ProcessWindowMessage(struct HWND__ *,unsigned int,unsigned int,long,long &,unsigned long)" (?ProcessWindowMessage@StatsFrame@@UAEHPAUHWND__@@IIJAAJK@Z)
DCPlusPlus error LNK2019: unresolved external symbol "public: long __thiscall StatsFrame::onTimer(unsigned int,unsigned int,long,int &)" (?onTimer@StatsFrame@@QAEJIIJAAH@Z) referenced in function "public: virtual int __thiscall StatsFrame::ProcessWindowMessage(struct HWND__ *,unsigned int,unsigned int,long,long &,unsigned long)" (?ProcessWindowMessage@StatsFrame@@UAEHPAUHWND__@@IIJAAJK@Z)
DCPlusPlus error LNK2019: unresolved external symbol "public: long __thiscall UCPage::onAddMenu(unsigned short,unsigned short,struct HWND__ *,int &)" (?onAddMenu@UCPage@@QAEJGGPAUHWND__@@AAH@Z) referenced in function "public: virtual int __thiscall UCPage::ProcessWindowMessage(struct HWND__ *,unsigned int,unsigned int,long,long &,unsigned long)" (?ProcessWindowMessage@UCPage@@UAEHPAUHWND__@@IIJAAJK@Z)
DCPlusPlus error LNK2019: unresolved external symbol "public: long __thiscall UCPage::onChangeMenu(unsigned short,unsigned short,struct HWND__ *,int &)" (?onChangeMenu@UCPage@@QAEJGGPAUHWND__@@AAH@Z) referenced in function "public: virtual int __thiscall UCPage::ProcessWindowMessage(struct HWND__ *,unsigned int,unsigned int,long,long &,unsigned long)" (?ProcessWindowMessage@UCPage@@UAEHPAUHWND__@@IIJAAJK@Z)
DCPlusPlus error LNK2019: unresolved external symbol "public: long __thiscall UCPage::onInitDialog(unsigned int,unsigned int,long,int &)" (?onInitDialog@UCPage@@QAEJIIJAAH@Z) referenced in function "public: virtual int __thiscall UCPage::ProcessWindowMessage(struct HWND__ *,unsigned int,unsigned int,long,long &,unsigned long)" (?ProcessWindowMessage@UCPage@@UAEHPAUHWND__@@IIJAAJK@Z)
DCPlusPlus error LNK2019: unresolved external symbol "public: long __thiscall UCPage::onMoveDown(unsigned short,unsigned short,struct HWND__ *,int &)" (?onMoveDown@UCPage@@QAEJGGPAUHWND__@@AAH@Z) referenced in function "public: virtual int __thiscall UCPage::ProcessWindowMessage(struct HWND__ *,unsigned int,unsigned int,long,long &,unsigned long)" (?ProcessWindowMessage@UCPage@@UAEHPAUHWND__@@IIJAAJK@Z)
DCPlusPlus error LNK2019: unresolved external symbol "public: long __thiscall UCPage::onMoveUp(unsigned short,unsigned short,struct HWND__ *,int &)" (?onMoveUp@UCPage@@QAEJGGPAUHWND__@@AAH@Z) referenced in function "public: virtual int __thiscall UCPage::ProcessWindowMessage(struct HWND__ *,unsigned int,unsigned int,long,long &,unsigned long)" (?ProcessWindowMessage@UCPage@@UAEHPAUHWND__@@IIJAAJK@Z)
DCPlusPlus error LNK2019: unresolved external symbol "public: long __thiscall UCPage::onRemoveMenu(unsigned short,unsigned short,struct HWND__ *,int &)" (?onRemoveMenu@UCPage@@QAEJGGPAUHWND__@@AAH@Z) referenced in function "public: virtual int __thiscall UCPage::ProcessWindowMessage(struct HWND__ *,unsigned int,unsigned int,long,long &,unsigned long)" (?ProcessWindowMessage@UCPage@@UAEHPAUHWND__@@IIJAAJK@Z)
DCPlusPlus error LNK2019: unresolved external symbol "public: void __thiscall StatsFrame::UpdateLayout(int)" (?UpdateLayout@StatsFrame@@QAEXH@Z) referenced in function "public: long __thiscall WTL::CMDIChildWindowImpl<class StatsFrame,class WTL::CMDIWindow,class ATL::CWinTraits<1456406528,64> >::OnSize(unsigned int,unsigned int,long,int &)" (?OnSize@?$CMDIChildWindowImpl@VStatsFrame@@VCMDIWindow@WTL@@V?$CWinTraits@$0FGMPAAAA@$0EA@@ATL@@@WTL@@QAEJIIJAAH@Z)



I am very grateful to you for helping me out... :) . Thanx a lot.

GargoyleMT
DC++ Contributor
Posts: 3212
Joined: 2003-01-08 02:46
Location: .pa.us

Post by GargoyleMT » 2003-11-05 18:57

vNeT112 wrote:Hie,
Thanx a lot for your help.... I reinstalled VS.net and even SDK. Well I guess my 4th step was wrong which was cauing c1076 error. But now.. I am getting this error....


First off, you don't need to update your SDK if you use VS.NET or 2003.

Anyhow, are you opening the SLN file? The UCPage, StatsPage, etc. are included in that project file, but not in the VS6 ones, which you may be opening.

vNeT112
Posts: 4
Joined: 2003-11-04 16:05

Post by vNeT112 » 2003-11-06 15:51

Hie,
When I first open DCPlusPlus.sln it shows me error. I tried opening DCPlusPlus.dsw and it asked me should these files converted into VC 7.0 format. If I click on YES then I am able to open DCPlusPLus.sln.

After opening DCPLusPLus.sln when I press F7 it shows me the same error. Sorry for asking you such a simple question ( I guess ) how Do i include UCPage, StatsPage, etc. in the project file..( Is it the same place where you include wlt and sltport.? ) and which all files are to be included.

Thanx a lot for ur help

GargoyleMT
DC++ Contributor
Posts: 3212
Joined: 2003-01-08 02:46
Location: .pa.us

Post by GargoyleMT » 2003-11-06 17:02

vNeT112 wrote:When I first open DCPlusPlus.sln it shows me error. I tried opening DCPlusPlus.dsw and it asked me should these files converted into VC 7.0 format. If I click on YES then I am able to open DCPlusPLus.sln.


Get the original .SLN back and follow the instructions in this post:
http://dcplusplus.sourceforge.net/forum ... 1306#31306

It's easy to include the .H and .CPP files into a project, you just have to "Add Existin Item..." to the proper projects. If you're new to DC++, it's easier just to get the right solution file and use it.

vNeT112
Posts: 4
Joined: 2003-11-04 16:05

Post by vNeT112 » 2003-11-06 18:13

Hie,
Yaa.. its done...Thanx for the help... Well i didn't include the files.. I just checked bzip2,zlib,client in project dependancy (DCplusplus) and my link error ( c2019 ) didn't appear then.

Thanx once again.

Who is online

Users browsing this forum: Google [Bot] and 0 guests