+- +-
Say hello if visiting :) by Gecko
11 Jan 2023, 07:43:05 pm

Seti is down again by Mike
09 Aug 2017, 10:02:44 am

Some considerations regarding OpenCL MultiBeam app tuning from algorithm view by Raistmer
11 Dec 2016, 06:30:56 am

Loading APU to the limit: performance considerations by Mike
05 Nov 2016, 06:49:26 am

Better sleep on Windows - new round by Raistmer
26 Aug 2016, 02:02:31 pm

Author Topic: VS2005 SP1 and missing afxres.h  (Read 23460 times)

Offline Raistmer

  • Working Code Wizard
  • Volunteer Developer
  • Knight who says 'Ni!'
  • *****
  • Posts: 14349
VS2005 SP1 and missing afxres.h
« on: 13 Jan 2008, 03:58:48 am »
Hi all.
I had to reinstall OS completely so chose to continue with last versions of IDE and compiler and installed SP1 for VS2005 and ICC 10.1.13 with IPP 5.3.1.64.
But now SETI app that compiled fine with old VS2005 refuses to be built with single error from resource compiler ".\seti_boinc.rc(10) : fatal error RC1015: cannot open include file 'afxres.h'." If that string is commented out much more errors appear but there is no such include file in project indeed.
Anyone met such error with VS2005 SP1 ? Any suggestions welcome :)

Offline Jason G

  • Construction Fraggle
  • Knight who says 'Ni!'
  • *****
  • Posts: 8980
Re: VS2005 SP1 and missing afxres.h
« Reply #1 on: 13 Jan 2008, 04:27:11 am »
That's what I run .. I'll check ...

Offline Jason G

  • Construction Fraggle
  • Knight who says 'Ni!'
  • *****
  • Posts: 8980
Re: VS2005 SP1 and missing afxres.h
« Reply #2 on: 13 Jan 2008, 04:37:19 am »
Okay, It's a MS include.  On my machine :
C:\Program Files\Microsoft Visual Studio 8\VC\atlmfc\include

You may need to look at how your standard include search paths are set up.  Did you make sure the Paths CheckBox was ticked when you setip Intel Compiler too?

Jason


Offline Raistmer

  • Working Code Wizard
  • Volunteer Developer
  • Knight who says 'Ni!'
  • *****
  • Posts: 14349
Re: VS2005 SP1 and missing afxres.h
« Reply #3 on: 13 Jan 2008, 04:40:56 am »
Yes i checked all boxes about include and lib paths.... Maybe just need to reboot.... :)
Will try, thank you!

Offline Raistmer

  • Working Code Wizard
  • Volunteer Developer
  • Knight who says 'Ni!'
  • *****
  • Posts: 14349
Re: VS2005 SP1 and missing afxres.h
« Reply #4 on: 13 Jan 2008, 04:56:19 am »
Well, it seems I did mistake at VS2005 installation time chose not to install MFC class library... Thought SETI app not needed MFC at all but  ::)
So there are no that include path on my side now, will reinstall VS. Thanx again !

Offline _heinz

  • Volunteer Developer
  • Knight who says 'Ni!'
  • *****
  • Posts: 2117
Re: VS2005 SP1 and missing afxres.h
« Reply #5 on: 13 Jan 2008, 07:51:08 am »
Hi all.
I had to reinstall OS completely so chose to continue with last versions of IDE and compiler and installed SP1 for VS2005 and ICC 10.1.13 with IPP 5.3.1.64.
But now SETI app that compiled fine with old VS2005 refuses to be built with single error from resource compiler ".\seti_boinc.rc(10) : fatal error RC1015: cannot open include file 'afxres.h'." If that string is commented out much more errors appear but there is no such include file in project indeed.
Anyone met such error with VS2005 SP1 ? Any suggestions welcome :)

This file is part of the "Software Developement Kit" (SDK), if all is properly installed you will find it in C:\I\SDK\Include
where "I" is the directory of your choise during installation.
Maybe you did forget to define the include path to this directory.... ;)

heinz ~setibritta

Offline Jason G

  • Construction Fraggle
  • Knight who says 'Ni!'
  • *****
  • Posts: 8980
Re: VS2005 SP1 and missing afxres.h
« Reply #6 on: 13 Jan 2008, 01:50:21 pm »
Hey Raistmer! Are you going to take the plunge into version 6 seti code with us ?

Offline Raistmer

  • Working Code Wizard
  • Volunteer Developer
  • Knight who says 'Ni!'
  • *****
  • Posts: 14349
Re: VS2005 SP1 and missing afxres.h
« Reply #7 on: 13 Jan 2008, 07:07:38 pm »
@Heinz
Think VS has SDK incorporated with its distributives so no need to install separate SDK. In fact SETI app finally is compiled  fine after installation MFC static ANSI libraries and MFC source code (although think the last was unneeded :) ).

And even more good news that calculation resume errors that my build had before just disappeared! Maybe SP1 did his work? :D (at least new build is capable to continue from checkpoint that crashed prev build :) sure need more testing to ensure stability)

@Jason
With great pleasure :) Are sources available for download? I was absent here pretty long so not in touch with last news but it seems Downloads section doesnt have v6 sources.
« Last Edit: 13 Jan 2008, 07:12:16 pm by Raistmer »

Offline Jason G

  • Construction Fraggle
  • Knight who says 'Ni!'
  • *****
  • Posts: 8980
Re: VS2005 SP1 and missing afxres.h
« Reply #8 on: 13 Jan 2008, 07:22:52 pm »
@Jason
With great pleasure :) Are sources available for download? I was absent here pretty long so not in touch with last news but it seems Downloads section doesnt have v6 sources.
They are Stock Special Beta [from berkeley Downloads]... We're Going to Make them.... From Scratch  ;D Have you a SVN tool ?
« Last Edit: 13 Jan 2008, 07:25:08 pm by j_groothu »

Offline Raistmer

  • Working Code Wizard
  • Volunteer Developer
  • Knight who says 'Ni!'
  • *****
  • Posts: 14349
Re: VS2005 SP1 and missing afxres.h
« Reply #9 on: 13 Jan 2008, 07:29:28 pm »
To incorporate all optimizations of 2.4 not included in 6.0 - that means from scratch? ;) If so it seems biiiig work :) Will download sources... later. Too late here, really late :)

Offline Jason G

  • Construction Fraggle
  • Knight who says 'Ni!'
  • *****
  • Posts: 8980
Re: VS2005 SP1 and missing afxres.h
« Reply #10 on: 14 Jan 2008, 03:30:14 am »
Yep, And maybe put some SSE4 ones in ..... We'll see, getting stock build to work is the first part, it's going just now first time, I think they have cleaned up many things in boinc and sah code, I like It so far, though it is of course very slow compared to what we're used to ....

Jason
« Last Edit: 14 Jan 2008, 06:09:33 am by j_groothu »

Offline Jason G

  • Construction Fraggle
  • Knight who says 'Ni!'
  • *****
  • Posts: 8980
Re: VS2005 SP1 and missing afxres.h
« Reply #11 on: 14 Jan 2008, 06:11:56 am »
Sources: [SaH 6.00beta (SVN tagged, rev 95) , Boinc (SVN trunk,rev 14544)] seem to build with the least problems for me so far.

Offline Raistmer

  • Working Code Wizard
  • Volunteer Developer
  • Knight who says 'Ni!'
  • *****
  • Posts: 14349
Re: VS2005 SP1 and missing afxres.h
« Reply #12 on: 14 Jan 2008, 10:23:41 am »
Are they available as tarballs and what date if yes?

Offline Jason G

  • Construction Fraggle
  • Knight who says 'Ni!'
  • *****
  • Posts: 8980
Re: VS2005 SP1 and missing afxres.h
« Reply #13 on: 14 Jan 2008, 10:57:30 am »
Are they available as tarballs and what date if yes?
Apparently not tarballs anymore (I was using those).  You need a SVN client like TortoiseSVN under Windows.  If you try boinc SVN first then it has detailed information on the web page about how to get a local working copy with TortoiseSVN.

So first trying out to get boinc source helps to figure out the new storage method.  With seti v6 Beta For Boinc revision I am using 14th Jan 2008, revision 14544 (HEAD REVISION last I checked, of the trunk) from http://boinc.berkeley.edu/svn/trunk/boinc

For the seti source: (THE ONE WE DON'T WANT) .. This one builds with Boinc version 13904, Oct '07
normal 5.28 main source is at https://setisvn.ssl.berkeley.edu/svn/seti_boinc (SVN Client connects Here)

But for6.00 Beta (THE ONE WE WANT), 'almost' builds with HEAD revision boinc
https://setisvn.ssl.berkeley.edu/svn/tags/seti_boinc/Windows_6.00beta/ (SVN Client connects here)

If just looking at a certain file ...Those locations can be browsed to from the Porting & Optimization page from SaH main page.

« Last Edit: 14 Jan 2008, 11:08:14 am by j_groothu »

Offline Jason G

  • Construction Fraggle
  • Knight who says 'Ni!'
  • *****
  • Posts: 8980
Re: VS2005 SP1 and missing afxres.h
« Reply #14 on: 14 Jan 2008, 11:16:59 am »
Oh Once some sort of branch is decided on and started we may use a better method! (Some have been discussed behind the scenes, such as CVS repository on sourceforge... )... This is all 'poking around' to make the v6 stock code build ...

Jason

 

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?
Members
Total Members: 97
Latest: ToeBee
New This Month: 0
New This Week: 0
New Today: 0
Stats
Total Posts: 59559
Total Topics: 1672
Most Online Today: 355
Most Online Ever: 983
(20 Jan 2020, 03:17:55 pm)
Users Online
Members: 0
Guests: 205
Total: 205
Powered by EzPortal