Visual C++ 2010 Beta

Post comments about Shareaza code and discuss with other developers.
Forum rules
Home | Wiki | Rules

Visual C++ 2010 Beta

Postby jgutierrez » 10 Dec 2009 11:10

Acording to the Visual C++ Team Blog, VC++ 2010 Beta, generates code that is about 10% faster than 2008, and a bit more than that when generating x64 code.

Obviously the numbers may be higher by MS, but seems that VC++ 2010 is a good choice for Shareaza in terms of increasing speed, and reducing code size. Some other open source projects have already upgraded to it, like 7-Zip 9.08.

Any chance of building with it?
jgutierrez
 
Posts: 13
Joined: 20 Aug 2009 10:10

Re: Visual C++ 2010 Beta

Postby old_death » 10 Dec 2009 16:08

Try it out and post the results over here ;)
User avatar
old_death
 
Posts: 1950
Joined: 13 Jun 2009 16:19

Re: Visual C++ 2010 Beta

Postby ocexyz » 10 Dec 2009 16:56

ohh yes, let us know effects ;)
User avatar
ocexyz
 
Posts: 624
Joined: 15 Jun 2009 13:09

Re: Visual C++ 2010 Beta

Postby jgutierrez » 10 Dec 2009 20:30

I would say that post your results over here, and let us know effect should be equivalent comments, but anyway, thank you very much for helping ;-)
jgutierrez
 
Posts: 13
Joined: 20 Aug 2009 10:10

Re: Visual C++ 2010 Beta

Postby old_death » 11 Dec 2009 11:59

Helping? Did you ask us to help you? :p

This was not a joke. Shareaza survives because of the combined effort of many people. That's why we wanted to ask you to do your part. As you are apparently reading the M$ Visual C++ Team Blog, you are probably not an average user - only those using visual studio are potentially interested in reading such an article - that's why you're probably also able to build Shareaza and tell us about the results.
User avatar
old_death
 
Posts: 1950
Joined: 13 Jun 2009 16:19

Re: Visual C++ 2010 Beta

Postby ocexyz » 11 Dec 2009 13:17

That is right, that was not to be a joke. And please, do not forget to enable Win2000 compatibility during compilation. Needed.
User avatar
ocexyz
 
Posts: 624
Joined: 15 Jun 2009 13:09

Re: Visual C++ 2010 Beta

Postby old_death » 11 Dec 2009 14:08

User avatar
old_death
 
Posts: 1950
Joined: 13 Jun 2009 16:19

Re: Visual C++ 2010 Beta

Postby mojo85 » 11 Dec 2009 16:02

My test run with VS2010 is that the IDE was sooo buggy that it crashed on every step of starting up, or opening a file ... so I gave up before even attemting to compile for fear of crashing while compiling. The beta I was running was quite recent, but still not stable to any degree. MS should of called it a Alpha.
mojo85
 
Posts: 115
Joined: 27 Sep 2009 05:35

Re: Visual C++ 2010 Beta

Postby ocexyz » 11 Dec 2009 18:53

User avatar
ocexyz
 
Posts: 624
Joined: 15 Jun 2009 13:09

Re: Visual C++ 2010 Beta

Postby jgutierrez » 12 Dec 2009 11:02

jgutierrez
 
Posts: 13
Joined: 20 Aug 2009 10:10

Re: Visual C++ 2010 Beta

Postby old_death » 13 Dec 2009 01:03

User avatar
old_death
 
Posts: 1950
Joined: 13 Jun 2009 16:19

Re: Visual C++ 2010 Beta

Postby jgutierrez » 16 Dec 2009 10:50

I tried to compile latest repository source with Visual Studio 2008, just to make sure it is possible.
The process ended with failing references to ZLIB (it is strange because the repository already includes it), and some others to boost library.
Tryied to download boost 1.40, and putting it onto \trunk\HashLib\boost and \trunk\boost but no luck.
Have found some compilation guides at http://sourceforge.net/apps/mediawiki/s ... ed.Compile but seems they are outdated.
Any clue on what pre-compile steps I need to do?

Error 1 error LNK2019: unresolved external symbol _zipCloseFileInZip referenced in function "private: static int __cdecl CSymEngine::AddFileToArchive(void *,wchar_t const *,wchar_t const *)" (?AddFileToArchive@CSymEngine@@CAHPAXPB_W1@Z) SymEngine.obj BugTrap
Error 2 error LNK2019: unresolved external symbol _zipWriteInFileInZip referenced in function "private: static int __cdecl CSymEngine::AddFileToArchive(void *,wchar_t const *,wchar_t const *)" (?AddFileToArchive@CSymEngine@@CAHPAXPB_W1@Z) SymEngine.obj BugTrap
Error 3 error LNK2019: unresolved external symbol _zipOpenNewFileInZip referenced in function "private: static int __cdecl CSymEngine::AddFileToArchive(void *,wchar_t const *,wchar_t const *)" (?AddFileToArchive@CSymEngine@@CAHPAXPB_W1@Z) SymEngine.obj BugTrap
Error 4 error LNK2019: unresolved external symbol _zipClose referenced in function "public: int __thiscall CSymEngine::ArchiveReportFiles(wchar_t const *,wchar_t const *)" (?ArchiveReportFiles@CSymEngine@@QAEHPB_W0@Z) SymEngine.obj BugTrap
Error 5 error LNK2019: unresolved external symbol _zipOpen referenced in function "public: int __thiscall CSymEngine::ArchiveReportFiles(wchar_t const *,wchar_t const *)" (?ArchiveReportFiles@CSymEngine@@QAEHPB_W0@Z) SymEngine.obj BugTrap
Error 6 fatal error LNK1120: 5 unresolved externals Win32\Debug\BugTrap.dll BugTrap
Error 7 fatal error C1083: Cannot open include file: 'boost/cstdint.hpp': No such file or directory c:\proyectos\shareaza\trunk\hashlib\Utility.hpp 25 HashLib
Error 8 fatal error C1083: Cannot open include file: 'boost/cstdint.hpp': No such file or directory c:\proyectos\shareaza\trunk\hashlib\Utility.hpp 25 HashLib
Error 9 fatal error C1083: Cannot open include file: 'boost/cstdint.hpp': No such file or directory c:\proyectos\shareaza\trunk\hashlib\Utility.hpp 25 HashLib
Error 10 fatal error C1083: Cannot open include file: 'boost/cstdint.hpp': No such file or directory c:\proyectos\shareaza\trunk\hashlib\Utility.hpp 25 HashLib
Error 11 fatal error C1083: Cannot open include file: 'boost/cstdint.hpp': No such file or directory c:\proyectos\shareaza\trunk\hashlib\Utility.hpp 25 HashLib
Error 12 fatal error C1083: Cannot open include file: 'boost/cstdint.hpp': No such file or directory c:\proyectos\shareaza\trunk\hashlib\Utility.hpp 25 HashLib
Error 13 fatal error C1083: Cannot open include file: 'boost/cstdint.hpp': No such file or directory c:\proyectos\shareaza\trunk\hashlib\Utility.hpp 25 HashLib
Error 14 fatal error C1083: Cannot open include file: 'boost/cstdint.hpp': No such file or directory c:\proyectos\shareaza\trunk\hashlib\Utility.hpp 25 HashLib
Error 15 fatal error C1083: Cannot open include file: 'boost/cstdint.hpp': No such file or directory c:\proyectos\shareaza\trunk\hashlib\Utility.hpp 25 HashLib
Error 16 fatal error C1083: Cannot open include file: 'boost/cstdint.hpp': No such file or directory c:\proyectos\shareaza\trunk\hashlib\Utility.hpp 25 HashLib
Error 17 fatal error C1083: Cannot open include file: 'boost/cstdint.hpp': No such file or directory c:\proyectos\shareaza\trunk\hashlib\Utility.hpp 25 HashLib
Error 18 fatal error C1083: Cannot open include file: 'boost/cstdint.hpp': No such file or directory c:\proyectos\shareaza\trunk\hashlib\Utility.hpp 25 HashLib
Error 19 fatal error C1083: Cannot open include file: 'boost/cstdint.hpp': No such file or directory c:\proyectos\shareaza\trunk\hashlib\Utility.hpp 25 HashLib
Error 20 fatal error C1083: Cannot open include file: 'boost/cstdint.hpp': No such file or directory c:\proyectos\shareaza\trunk\hashlib\Utility.hpp 25 HashLib
Error 21 fatal error C1083: Cannot open include file: 'boost/cstdint.hpp': No such file or directory c:\proyectos\shareaza\trunk\hashlib\Utility.hpp 25 HashLib
Error 22 fatal error C1083: Cannot open include file: 'boost/cstdint.hpp': No such file or directory c:\proyectos\shareaza\trunk\hashlib\utility.hpp 25 HashLib
Error 23 fatal error C1083: Cannot open include file: 'boost/cstdint.hpp': No such file or directory c:\proyectos\shareaza\trunk\hashlib\utility.hpp 25 HashLib
Error 24 fatal error C1083: Cannot open include file: 'boost/cstdint.hpp': No such file or directory c:\proyectos\shareaza\trunk\hashlib\utility.hpp 25 HashLib
Error 25 fatal error C1083: Cannot open include file: 'boost/cstdint.hpp': No such file or directory c:\proyectos\shareaza\trunk\hashlib\utility.hpp 25 HashLib
Error 26 fatal error C1083: Cannot open include file: 'boost/cstdint.hpp': No such file or directory c:\proyectos\shareaza\trunk\hashlib\utility.hpp 25 HashLib
Error 27 error PRJ0019: A tool returned an error code from "Performing Custom Build Step" Shareaza Shareaza
Error 28 error PRJ0019: A tool returned an error code from "Performing Custom Build Step" Shareaza Shareaza
Error 29 error PRJ0019: A tool returned an error code from "Performing Custom Build Step" Shareaza Shareaza
Error 30 error PRJ0019: A tool returned an error code from "Performing Custom Build Step" Shareaza Shareaza
Error 31 fatal error C1083: Cannot open include file: 'ShareazaOM.h': No such file or directory c:\proyectos\shareaza\trunk\plugins\virustotal\Shareaza.h 24 VirusTotal
Error 32 fatal error C1083: Cannot open include file: 'ShareazaOM.h': No such file or directory c:\proyectos\shareaza\trunk\plugins\virustotal\Shareaza.h 24 VirusTotal
Error 33 fatal error C1083: Cannot open include file: 'ShareazaOM.h': No such file or directory c:\proyectos\shareaza\trunk\plugins\virustotal\Shareaza.h 24 VirusTotal
Error 34 fatal error C1083: Cannot open include file: 'ShareazaOM.h': No such file or directory c:\proyectos\shareaza\trunk\plugins\virustotal\Shareaza.h 24 VirusTotal
Error 35 fatal error C1083: Cannot open include file: 'ShareazaOM.h': No such file or directory c:\proyectos\shareaza\trunk\plugins\virustotal\Shareaza.h 24 VirusTotal
Error 36 fatal error C1083: Cannot open include file: 'ShareazaOM.h': No such file or directory c:\proyectos\shareaza\trunk\plugins\virustotal\Shareaza.h 24 VirusTotal
Error 37 fatal error C1083: Cannot open include file: 'ShareazaOM.h': No such file or directory c:\proyectos\shareaza\trunk\plugins\virustotal\shareaza.h 24 VirusTotal
Error 38 fatal error C1083: Cannot open include file: 'ShareazaOM.h': No such file or directory c:\proyectos\shareaza\trunk\plugins\virustotal\shareaza.h 24 VirusTotal
Error 39 error PRJ0019: A tool returned an error code from "Get HashLib DLL..." TorrentWizard TorrentWizard
Error 40 error PRJ0019: A tool returned an error code from "Get HashLib DLL..." TorrentWizard TorrentWizard
Error 41 error PRJ0019: A tool returned an error code from "Get HashLib DLL..." TorrentWizard TorrentWizard
Error 42 error PRJ0019: A tool returned an error code from "Get HashLib DLL..." TorrentWizard TorrentWizard
Warning 43 warning C4306: 'type cast' : conversion from 'int' to 'HBRUSH' of greater size c:\PROYECTOS\Shareaza\trunk\skin-installer\window.c 98 Skin
Warning 44 warning C4306: 'type cast' : conversion from 'int' to 'HBRUSH' of greater size c:\PROYECTOS\Shareaza\trunk\skin-installer\window.c 98 Skin
Error 45 fatal error C1083: Cannot open include file: 'ShareazaOM.h': No such file or directory c:\proyectos\shareaza\trunk\plugins\ratdvdplugin\Shareaza.h 24 RatDVDReader
Error 46 fatal error C1083: Cannot open include file: 'ShareazaOM.h': No such file or directory c:\proyectos\shareaza\trunk\plugins\ratdvdplugin\Shareaza.h 24 RatDVDReader
Error 47 fatal error C1083: Cannot open include file: 'ShareazaOM.h': No such file or directory c:\proyectos\shareaza\trunk\plugins\ratdvdplugin\Shareaza.h 24 RatDVDReader
Error 48 fatal error C1083: Cannot open include file: 'ShareazaOM.h': No such file or directory c:\proyectos\shareaza\trunk\plugins\ratdvdplugin\Shareaza.h 24 RatDVDReader
Error 49 fatal error C1083: Cannot open include file: 'ShareazaOM.h': No such file or directory c:\proyectos\shareaza\trunk\plugins\ratdvdplugin\Shareaza.h 24 RatDVDReader
Error 50 fatal error C1083: Cannot open include file: 'ShareazaOM.h': No such file or directory c:\proyectos\shareaza\trunk\plugins\ratdvdplugin\Shareaza.h 24 RatDVDReader
Error 51 fatal error C1083: Cannot open include file: 'ShareazaOM.h': No such file or directory c:\proyectos\shareaza\trunk\plugins\ratdvdplugin\Shareaza.h 24 RatDVDReader
Error 52 fatal error C1083: Cannot open include file: 'ShareazaOM.h': No such file or directory c:\proyectos\shareaza\trunk\plugins\ratdvdplugin\Shareaza.h 24 RatDVDReader
Error 53 fatal error C1083: Cannot open include file: 'ShareazaOM.h': No such file or directory c:\proyectos\shareaza\trunk\plugins\ratdvdplugin\Shareaza.h 24 RatDVDReader
Error 54 fatal error C1083: Cannot open include file: 'ShareazaOM.h': No such file or directory c:\proyectos\shareaza\trunk\plugins\ratdvdplugin\shareaza.h 24 RatDVDReader
Error 55 fatal error C1083: Cannot open include file: 'ShareazaOM.h': No such file or directory c:\proyectos\shareaza\trunk\plugins\ratdvdplugin\shareaza.h 24 RatDVDReader
Error 56 fatal error C1083: Cannot open include file: 'ShareazaOM.h': No such file or directory c:\proyectos\shareaza\trunk\plugins\ratdvdplugin\shareaza.h 24 RatDVDReader
Error 57 error PRJ0019: A tool returned an error code from "Performing Installer Build" Installer Installer
Error 58 error PRJ0019: A tool returned an error code from "Performing Installer Build" Installer Installer
Error 59 error PRJ0019: A tool returned an error code from "Performing Installer Build" Installer Installer
Error 60 error PRJ0019: A tool returned an error code from "Performing Installer Build" Installer Installer
jgutierrez
 
Posts: 13
Joined: 20 Aug 2009 10:10

Re: Visual C++ 2010 Beta

Postby wildcard_25 » 01 Feb 2010 06:13

I have been compiling Shareaza with VC10 for about a month now.
Most plugins still won't compile, looks like a MIDL parsing bug, but I haven't looked into it further.
To get Shareaza to compile required some major modifications to the project files and a number a changes to Shareaza's source code, some of these changes I have already committed. Some changes need a major re-working rather than the hacks I've used to get it to compile and run, I'm working on those ;-)

Additional info - compiling with Boost 1.41.
User avatar
wildcard_25
 
Posts: 4
Joined: 13 Jun 2009 12:38

Re: Visual C++ 2010 Beta

Postby cyko_01 » 01 Feb 2010 14:03

I think the guide on the trac dev wiki is more up-to-date:
http://sourceforge.net/apps/trac/shareaza/wiki/Guides/Compiling%20Shareaza
User avatar
cyko_01
 
Posts: 938
Joined: 13 Jun 2009 15:51

Re: Visual C++ 2010 Beta

Postby old_death » 02 Feb 2010 20:21

User avatar
old_death
 
Posts: 1950
Joined: 13 Jun 2009 16:19

Re: Visual C++ 2010 Beta

Postby cyko_01 » 02 Feb 2010 23:39

User avatar
cyko_01
 
Posts: 938
Joined: 13 Jun 2009 15:51

Re: Visual C++ 2010 Beta

Postby old_death » 03 Feb 2010 12:56

User avatar
old_death
 
Posts: 1950
Joined: 13 Jun 2009 16:19


Return to Development Discussion

Who is online

Users browsing this forum: No registered users and 1 guest