Official eMule-Board: How To Build Emule 0.49b With Vs 2003 - Official eMule-Board

Jump to content


  • (4 Pages)
  • +
  • « First
  • 2
  • 3
  • 4

How To Build Emule 0.49b With Vs 2003

#61 User is offline   jerryBG 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 79
  • Joined: 30-December 08

Posted 25 May 2010 - 03:39 PM

View Postmoloko+, on 18 May 2010 - 12:17 PM, said:

Hey xilolee, if you were using the libpng 1.4.1 from the libpng site, I noticed that the actual project file has some incorrect settings: The static libraries are set to compile as multi-threaded dll's, NOT lib's, so you have to set the Debug and and Release options manually to build static lib's. This is why you get the import error when the functions/etc are meant to be exported. :P

After setting the linker options it should build without those warnings.

Cheers.


big THANKS for that one   :respect:
0

#62 User is offline   pupet 

  • Member
  • PipPip
  • Group: Members
  • Posts: 49
  • Joined: 24-November 05

Posted 28 February 2012 - 04:04 PM

hello please help problem compile projet:

1>.\UploadQueue.cpp(2090) : error C2660: 'LastCommonRouteFinder::SetPrefs' : function does not take 17 arguments

I'm sorry for my bad english.
0

#63 User is offline   xilolee 

  • eMule 0.50b BETA1 user
  • PipPipPipPipPipPipPip
  • Group: Italian Moderators
  • Posts: 7694
  • Joined: 20-August 08

Posted 29 February 2012 - 08:42 AM

Pupet: which version are you compiling?
Have you modified the sources?
INCONCEIVABLE! - You keep using that word. I do not think it means what you think it means.
come ottenere aiuto italian guides - guide della sezione italiana
italian support - sezione italiana scaricare la lista server
ottenere id alto impostare le porte nel router
recuperare file corrotti i filtri ip
Sembra talco ma non č serve a darti l'allegrIa! Se lo lanci e poi lo respiri ti dā subito l'allegrIa! Posted Image
0

#64 User is offline   pupet 

  • Member
  • PipPip
  • Group: Members
  • Posts: 49
  • Joined: 24-November 05

Posted 29 February 2012 - 01:25 PM

the version compiling it is MagicAngel v4.0
Yes modified the source.
add: Amuc

in UploadQueue.cpp:

Search:VOID CALLBACK CUploadQueue::UploadTimer(HWND /*hwnd*/, UINT /*uMsg*/, UINT_PTR /*idEvent*/, DWORD /*dwTime*/)


   	//MOPRH START - Modified by SiRoB, Upload Splitting Class
		/*
		// ZZ:UploadSpeedSense -->
		theApp.lastCommonRouteFinder->SetPrefs(thePrefs.IsDynUpEnabled(), theApp.uploadqueue->GetDatarate(), thePrefs.GetMinUpload()*1024, (thePrefs.GetMaxUpload() != 0)?thePrefs.GetMaxUpload()*1024:thePrefs.GetMaxGraphUploadRate(false)*1024, thePrefs.IsDynUpUseMillisecondPingTolerance(), (thePrefs.GetDynUpPingTolerance() > 100)?((thePrefs.GetDynUpPingTolerance()-100)/100.0f):0, thePrefs.GetDynUpPingToleranceMilliseconds(), thePrefs.GetDynUpGoingUpDivider(), thePrefs.GetDynUpGoingDownDivider(), thePrefs.GetDynUpNumberOfPings(), 20); // PENDING: Hard coded min pLowestPingAllowed
		*/
                uint32 maxupload_real=0;
		if (theApp.AMUC && thePrefs.IsAMUCEnabled())
		maxupload_real = max(1024*thePrefs.GetMinAutoUpload() ,(uint32) theApp.AMUC->GetEstimatedUpload(0));
	        if (maxupload_real){
		theApp.lastCommonRouteFinder->SetPrefs(false,
		theApp.uploadqueue->GetDatarate(),
		maxupload_real,
		maxupload_real,
		thePrefs.IsDynUpUseMillisecondPingTolerance(),
		(thePrefs.GetDynUpPingTolerance() > 100)?((thePrefs.GetDynUpPingTolerance()-100)/100.0f):0,
		thePrefs.GetDynUpPingToleranceMilliseconds(),
		thePrefs.GetDynUpGoingUpDivider(),
		thePrefs.GetDynUpGoingDownDivider(),
		thePrefs.GetDynUpNumberOfPings(),
		5,   // PENDING: Hard coded min pLowestPingAllowed
		thePrefs.IsUSSLog(),
		thePrefs.GetGlobalDataRateFriend(),
		thePrefs.GetMaxGlobalDataRateFriend(),
		thePrefs.GetMaxClientDataRateFriend(),
		thePrefs.GetGlobalDataRatePowerShare(),
		thePrefs.GetMaxGlobalDataRatePowerShare(),
		thePrefs.GetMaxClientDataRatePowerShare(),
		thePrefs.GetMaxClientDataRate());
		}else
		theApp.lastCommonRouteFinder->SetPrefs(thePrefs.IsDynUpEnabled(), 
		theApp.uploadqueue->GetDatarate(),
		thePrefs.GetMinUpload()*1024,
		(thePrefs.IsSUCDoesWork())?theApp.uploadqueue->GetMaxVUR():(thePrefs.GetMaxUpload() != 0)?thePrefs.GetMaxUpload()*1024:thePrefs.GetMaxGraphUploadRate(true*1024,
		thePrefs.IsDynUpUseMillisecondPingTolerance(),
		(thePrefs.GetDynUpPingTolerance() > 100)?((thePrefs.GetDynUpPingTolerance()-100)/100.0f):0,
		thePrefs.GetDynUpPingToleranceMilliseconds(),
		thePrefs.GetDynUpGoingUpDivider(),
		thePrefs.GetDynUpGoingDownDivider(),
		thePrefs.GetDynUpNumberOfPings(),
		5,  // PENDING: Hard coded min pLowestPingAllowed
		thePrefs.IsUSSLog(),thePrefs.IsUSSUDP(),
		thePrefs.GetGlobalDataRateFriend(),
		thePrefs.GetMaxGlobalDataRateFriend(),
		thePrefs.GetMaxClientDataRateFriend(),
		thePrefs.GetGlobalDataRatePowerShare(),
		thePrefs.GetMaxGlobalDataRatePowerShare(),
		thePrefs.GetMaxClientDataRatePowerShare(),
		thePrefs.GetMaxClientDataRate());
		//MOPRH END   - Modified by SiRoB, Upload Splitting Class


please help me :angelnot:
0

#65 User is offline   Stulle 

  • [Enter Mod] Dev
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 5738
  • Joined: 07-April 04

Posted 29 February 2012 - 02:04 PM

you fucked up the number of arguments. get them straight and it will work. other than that, AMUC sounds pretty pointless given the availability of USS and SUC in Morph.
I am an emule-web.de member and fan! Hate me or people will get suspicious about you! Ever wondered if it's all worth the trouble?

Posted Image

No, there will not be a new version of my mods. No, I do not want your PM. No, I am certain, use the board and quit sending PMs. No, I am not kidding, there will not be a new version of my mods just because of YOU asking for it!
0

#66 User is offline   xilolee 

  • eMule 0.50b BETA1 user
  • PipPipPipPipPipPipPip
  • Group: Italian Moderators
  • Posts: 7694
  • Joined: 20-August 08

Posted 29 February 2012 - 04:21 PM

Pupet: ok, but this topic should be used for help on official emule
INCONCEIVABLE! - You keep using that word. I do not think it means what you think it means.
come ottenere aiuto italian guides - guide della sezione italiana
italian support - sezione italiana scaricare la lista server
ottenere id alto impostare le porte nel router
recuperare file corrotti i filtri ip
Sembra talco ma non č serve a darti l'allegrIa! Se lo lanci e poi lo respiri ti dā subito l'allegrIa! Posted Image
0

#67 User is offline   bunglegrind 

  • Newbie
  • Pip
  • Group: Members
  • Posts: 8
  • Joined: 26-December 06

Posted 05 May 2012 - 07:28 AM

Hi everybody, I'm trying to compile emule 0.50a. I can compile correctly by commenting line 9 (#define HAVE_WIN7_SDK_H) on emule_site_config.h. But now I want to compile with that SDK, so I downloaded the SDK, installed it, added the respective paths on the Visual Studio include and libs path (such as for other sdks), removed the comment on line 9, but I still having errors (e.g., eMule0.50a-Sources\srchybrid\emuleDlg.h(181): error C2065: 'ITaskbarList3' : undeclared identifier), such as no header files were found or included. Suggestion? Did I miss something else?
0

#68 User is offline   xilolee 

  • eMule 0.50b BETA1 user
  • PipPipPipPipPipPipPip
  • Group: Italian Moderators
  • Posts: 7694
  • Joined: 20-August 08

Posted 05 May 2012 - 08:08 AM

Have you rebuilded the entire solution?
INCONCEIVABLE! - You keep using that word. I do not think it means what you think it means.
come ottenere aiuto italian guides - guide della sezione italiana
italian support - sezione italiana scaricare la lista server
ottenere id alto impostare le porte nel router
recuperare file corrotti i filtri ip
Sembra talco ma non č serve a darti l'allegrIa! Se lo lanci e poi lo respiri ti dā subito l'allegrIa! Posted Image
1

#69 User is offline   bunglegrind 

  • Newbie
  • Pip
  • Group: Members
  • Posts: 8
  • Joined: 26-December 06

Posted 05 May 2012 - 03:35 PM

View Postxilolee, on 05 May 2012 - 10:08 AM, said:

Have you rebuilded the entire solution?
Thanks for the suggestion! So, I rebuilt the solution and then a file called "sal.h" was missing. I googled about it, and found this other topic here: http://forum.emule-p...howtopic=149277 Then I discovered that I have sal.h on my machine, under a folder named Microsoft Visual Studio 9.0, I suppose it was installed by one of the SDKs since I never installed VS2008 (I guess it's 2008 :confused: ). So I copied sal.h into the include folder of Win7 SDK and rebuilt once again. Now, the compilation works, but there are issues on the linking step, for instance:

emule error LNK2005: _abort already defined in libcmt.lib(abort.obj)
emule error LNK2005: _fprintf already defined in libcmt.lib(fprintf.obj)
emule error LNK2005: __snprintf already defined in libcmt.lib(snprintf.obj)


it looks like there is confusion between different versions of the C libraries...
0

#70 User is offline   xilolee 

  • eMule 0.50b BETA1 user
  • PipPipPipPipPipPipPip
  • Group: Italian Moderators
  • Posts: 7694
  • Joined: 20-August 08

Posted 05 May 2012 - 04:07 PM

TheWizardOfDos said in that topic to move windows 7 sdk paths/directories to the top... Check your paths!
INCONCEIVABLE! - You keep using that word. I do not think it means what you think it means.
come ottenere aiuto italian guides - guide della sezione italiana
italian support - sezione italiana scaricare la lista server
ottenere id alto impostare le porte nel router
recuperare file corrotti i filtri ip
Sembra talco ma non č serve a darti l'allegrIa! Se lo lanci e poi lo respiri ti dā subito l'allegrIa! Posted Image
1

#71 User is offline   bunglegrind 

  • Newbie
  • Pip
  • Group: Members
  • Posts: 8
  • Joined: 26-December 06

Posted 05 May 2012 - 09:48 PM

View Postxilolee, on 05 May 2012 - 06:07 PM, said:

TheWizardOfDos said in that topic to move windows 7 sdk paths/directories to the top... Check your paths!
no, they are okay. But I found the problem...libpng was set to /MD not to /MT, so I can compile correctly. Many thanks for the help!

btw, the version of libpng I'm using is 1.4.1, but it is affected by a *serious* bug. I will try to switch to 1.4.11.

EDIT: changing libpng was really straightforward.

This post has been edited by bunglegrind: 05 May 2012 - 09:56 PM

0

#72 User is offline   pupet 

  • Member
  • PipPip
  • Group: Members
  • Posts: 49
  • Joined: 24-November 05

Posted 20 July 2012 - 12:56 AM

Hello Help me please for compile emule VS 2010 problem.
10>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppBuild.targets(990,5): warning MSB8012: TargetPath(I:\Downloads\eMulev0.50a-MagicAngel-v4.0-src\srchybrid\.\release\emule90.exe) does not match the Linker's OutputFile property value (I:\Downloads\eMulev0.50a-MagicAngel-v4.0-src\srchybrid\release\MagicAngel.exe). This may cause your project to build incorrectly. To correct this, please make sure that $(OutDir), $(TargetName) and $(TargetExt) property values match the value specified in %(Link.OutputFile).
10>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppBuild.targets(992,5): warning MSB8012: TargetName(emule90) does not match the Linker's OutputFile property value (MagicAngel). This may cause your project to build incorrectly. To correct this, please make sure that $(OutDir), $(TargetName) and $(TargetExt) property values match the value specified in %(Link.OutputFile).
10>     Creating library .\release\emule90.lib and object .\release\emule90.exp
10>  Generating code
10>  Finished generating code
10>  emule90.vcxproj -> I:\Downloads\eMulev0.50a-MagicAngel-v4.0-src\srchybrid\.\release\emule90.exe
10>  
10>  Failed to open "I:\Downloads\eMulev0.50a-MagicAngel-v4.0-src\srchybrid\.\release\emule90.exe"
10>  
10>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: The command "..\ReplaceVistaIcon\release\ReplaceVistaIcon "I:\Downloads\eMulev0.50a-MagicAngel-v4.0-src\srchybrid\.\release\emule90.exe" "I:\Downloads\eMulev0.50a-MagicAngel-v4.0-src\srchybrid\res\MOD\Mule_Vista.ico" AAAEMULEAPP
10>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: :VCEnd" exited with code 1.
========== Build: 9 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

I'm sorry for my bad english :confused: :confused:

This post has been edited by pupet: 21 July 2012 - 01:30 PM

0

#73 User is offline   dadsa 

  • Member
  • PipPip
  • Group: Members
  • Posts: 15
  • Joined: 13-March 16

Posted 06 May 2016 - 03:00 PM

I downloaded speech sdk at the given link but i cant find (speech sdk) in visual studio
0

  • Member Options

  • (4 Pages)
  • +
  • « First
  • 2
  • 3
  • 4

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users