Re: vc++ mfc project build is extremely slow taking hours
- From: "Leo Violette" <lviolette@xxxxxxxxxx>
- Date: Thu, 10 Jul 2008 12:13:26 -0700
Do you use precompiled headers? It could be that if all your CPP files are #including the same .h files, that loading those files over and over again (over the network) is what's causing a part of the slowdown. Things might speed up a bit (both over VPN and locally) if you switch to using precompiled headers and move all those common #includes into the precompiled header file.
"dwaach" <xbhishek.xsthxnx@xxxxxxxxx> wrote in message news:1ee586e7-5430-4357-aaaf-ab57b573d4f8@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
On May 9, 9:30 pm, "Tom Serface" <tom.nos...@xxxxxxxxxxxxx> wrote:
In addition to what other's have mentioned, are you running on VPN? I've
found that things can slow down quite a bit when running under VPN
especially if VS feels the need to get new source or check out files from
VSS.
Also, even though I don't like mapped drives, if you map drives to your
network shares things will run much faster.
Tom
"dwaach" <xbhishek.xsth...@xxxxxxxxx> wrote in message
news:5524042c-9c0a-4369-9421-5da33a83995a@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> Hi,
> I have a vc++ 2002.NET MFC console exe project and it accesses a lot
> of 3rd party headers and libraries available on a network machine \
> \dataread. Now, I do connect to that machine by Start->Run->\\dataread
> and entering user/pwd. Further I have declared several environment
> variables which are used in the Visual Studio project.
> The project build is extremely slow. I do not understand why ? It
> takes soe over 1 hour.
> Any help please appreciarted.
> Thanks,
> Abhishek- Hide quoted text -
- Show quoted text -
Hi,
Ya, I am using VPN as Cisco VPN to connect to the office network from
other place. Just missed to mention, when I compile the project while
at office the speed of compilation is avg around 5 mins. However, when
I do the same compilation from some other place than office, I usually
connect using Cisco VPN and then when I compile it takes around 1
hour.
I tried getting all the files locally on my system (those being
accessed using \\ path on network) and then too the compilation speed
is not too resonable when from other place than office.
Do we expect speed of acess reduction of '\\server' stuff when on
VPN ? Network shares do not work in VPN from other place. I tried them
but failed.
Any ideas why ?
Thanks
Abhishek
.
- Prev by Date: Visual Studio 2008 Annoyance
- Next by Date: Creating a simple windows messaging app
- Previous by thread: Visual Studio 2008 Annoyance
- Next by thread: Creating a simple windows messaging app
- Index(es):
Relevant Pages
|