Official eMule-Board: How To Build Emule 0.50A With Vs 2008 - Official eMule-Board

Jump to content


  • (2 Pages)
  • +
  • 1
  • 2

How To Build Emule 0.50A With Vs 2008

#21 User is offline   schnulli900 

  • Member
  • PipPip
  • Group: Members
  • Posts: 35
  • Joined: 25-December 02

Posted 15 April 2010 - 08:42 PM

Thanks,
I've tried your solution, this works fine. No problem with /safeseh anymore.
AMD Athlon 64 3000+
1GB-80GB-DSL 4096/512
WXP Pro SP2
0

#22 User is offline   nullzone 

  • Newbie
  • Pip
  • Group: Members
  • Posts: 3
  • Joined: 14-April 10

Posted 17 April 2010 - 12:59 AM

View Postbuzz, on 15 April 2010 - 08:02 AM, said:

I managed to compile after adding the /Safeseh parameter to the command line in the properties of the ASM-files (inffas32.asm and gvmat32.asm )!
Add /safeseh directly after ml.exe
You then have to manually clean and rebuild both the asm-files and the lib.


Thanks :) Finally I got it.

I was looking where the hell to do it and got it done manuallity as you said (creating .obj files by my hand and moving then into the Tmp dir and relinking)... then I just noticed that it was silly. To get this done automatially from now and on:

1) I edited the zlibstat.vcproj with a text editor.
2) I just scrolled around the line 253:

Original:

			<Tool
				Name="VCPreBuildEventTool"
				CommandLine="ml /coff /Zi /c /Flmatch686.lst &quot;..\..\masmx86\match686.asm&quot;&#x0D;&#x0A;ml /coff /Zi /c /Flinffas32.lst &quot;..\..\masmx86\inffas32.asm&quot;&#x0D;&#x0A;del match686.lst&#x0D;&#x0A;del inffas32.lst&#x0D;&#x0A;move match686.obj $(OutDir)\Tmp&#x0D;&#x0A;move inffas32.obj $(OutDir)\Tmp"
			/>


New:
			<Tool
				Name="VCPreBuildEventTool"
				CommandLine="ml /safeseh /coff /Zi /c /Flmatch686.lst &quot;..\..\masmx86\match686.asm&quot;&#x0D;&#x0A;ml /safeseh /coff /Zi /c /Flinffas32.lst &quot;..\..\masmx86\inffas32.asm&quot;&#x0D;&#x0A;del match686.lst&#x0D;&#x0A;del inffas32.lst&#x0D;&#x0A;move match686.obj $(OutDir)\Tmp&#x0D;&#x0A;move inffas32.obj $(OutDir)\Tmp"
			/>


and finally...

So thanks again mate. You got me in the right way (I was trying to convert the project files from the original source code and it was turning crazy).

Compiled and working here.
0

#23 User is offline   Matrik 

  • Splendid Member
  • PipPipPipPip
  • Group: Members
  • Posts: 215
  • Joined: 02-February 04

Posted 18 April 2010 - 04:23 PM

Hi guys :punk:

View Postnullzone, on 17 April 2010 - 01:59 AM, said:

1) I edited the zlibstat.vcproj with a text editor.
2) I just scrolled around the line 253:

Original:

			<Tool
				Name="VCPreBuildEventTool"
				CommandLine="ml /coff /Zi /c /Flmatch686.lst &quot;..\..\masmx86\match686.asm&quot;&#x0D;&#x0A;ml /coff /Zi /c /Flinffas32.lst &quot;..\..\masmx86\inffas32.asm&quot;&#x0D;&#x0A;del match686.lst&#x0D;&#x0A;del inffas32.lst&#x0D;&#x0A;move match686.obj $(OutDir)\Tmp&#x0D;&#x0A;move inffas32.obj $(OutDir)\Tmp"
			/>


New:
			<Tool
				Name="VCPreBuildEventTool"
				CommandLine="ml /safeseh /coff /Zi /c /Flmatch686.lst &quot;..\..\masmx86\match686.asm&quot;&#x0D;&#x0A;ml /safeseh /coff /Zi /c /Flinffas32.lst &quot;..\..\masmx86\inffas32.asm&quot;&#x0D;&#x0A;del match686.lst&#x0D;&#x0A;del inffas32.lst&#x0D;&#x0A;move match686.obj $(OutDir)\Tmp&#x0D;&#x0A;move inffas32.obj $(OutDir)\Tmp"
			/>


and finally...

So thanks again mate. You got me in the right way (I was trying to convert the project files from the original source code and it was turning crazy).

Compiled and working here.


10x :thumbup: nullzone
Work for me now !
but I have many warnings (757)!!! somebody know how can stop this :angelnot: :confused: :angelnot:
10x for your helps
:respect:
ISSA-NISSA
.:Aqui Finda Sian Nissart:.
0

#24 User is offline   ABITBOLE 

  • Newbie
  • Pip
  • Group: Members
  • Posts: 7
  • Joined: 23-May 04

Posted 18 April 2010 - 05:09 PM

don't use cryptopp560 ;)
0

#25 User is offline   Matrik 

  • Splendid Member
  • PipPipPipPip
  • Group: Members
  • Posts: 215
  • Joined: 02-February 04

Posted 19 April 2010 - 03:57 PM

Ok 10'x :angelnot: I try this when I have time ;)
thx for your helps :punk:
ISSA-NISSA
.:Aqui Finda Sian Nissart:.
0

#26 User is offline   murjara 

  • Member
  • PipPip
  • Group: Members
  • Posts: 17
  • Joined: 03-August 04

Posted 13 July 2010 - 06:20 PM

What are the exact versions of all external libs devs of emule are using? If they still use VS 2003, thing from past, can you use VS2008/VS2010 to build recent version of emule using those? Have a feeling libs are not the recent ones, but I may be wrong (Emule 0.50a was released 7.4.2010)

This package:

ed2k://|file|eMule0.50a-libs.zip|1914953|711BABC8E03D1003941E88538C877096|/

trying to build zlib and crypto51 with vs2008 sp1 seems to give some problems.

Do devs release any "official" libs package along with binaries and sources?
0

#27 User is offline   Stulle 

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

Posted 13 July 2010 - 06:30 PM

they only add modified libs, all other libs have to be obtained separately. for the versions used in the official compilation review the changelog.
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

#28 User is offline   derJ÷rg 

  • Splendid Member
  • PipPipPipPip
  • Group: Members
  • Posts: 142
  • Joined: 02-October 06

Posted 08 November 2010 - 01:11 AM

Thank you all!

Finally compiled everything with VS2010 and Windows SDK 7 ( + some minor tweaks )...

regards,
derJ÷rg

P.S.: Compilation on an eight core cpu really rocks! :)
0

#29 User is offline   Stulle 

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

Posted 08 November 2010 - 06:47 AM

have you checked out the MorphXT libs? because i added a couple of bugfixes for VS10 there... still not everything fixed, though.
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

#30 User is offline   derJ÷rg 

  • Splendid Member
  • PipPipPipPip
  • Group: Members
  • Posts: 142
  • Joined: 02-October 06

Posted 09 November 2010 - 09:46 PM

View PostStulle, on 08 November 2010 - 07:47 , said:

have you checked out the MorphXT libs? because i added a couple of bugfixes for VS10 there... still not everything fixed, though.
No, I did not.

As you note that the bug fixes are particularly for VS2010: what kind of bugs were there?

regards,
derJörg

This post has been edited by derJ÷rg: 09 November 2010 - 10:55 PM

0

#31 User is offline   Stulle 

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

Posted 09 November 2010 - 11:20 PM

all sorts... mainly visual ones caused by screwed up wrapper functions and non-functioning calls of standard functions... read the 12.4 topic, the changelog gives you some ideas, the errors found gives the rest... and i don't mean just the one in the first post...
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

#32 User is offline   dadsa 

  • Newbie
  • Pip
  • Group: Members
  • Posts: 12
  • Joined: 13-March 16

Posted 19 September 2017 - 11:36 AM

cannot compile
visual studio 2017
gives error:
Код Описание Проект Файл Строка Состояние подавления
Ошибка C1083 Не удается открыть файл включение: tmschema.h: No such file or directory emule c:\users\fdfdfd\desktop\50a\emule\srchybrid\visualstylesxp.h 4

added:

//#include <tmschema.h>
gives error:
Серьезность Код Описание Проект Файл Строка Состояние подавления
Ошибка C1189 #error: "You are using an MFC version which may require a special version of the above function!" emule c:\users\fdfdfd\desktop\50a\emule\srchybrid\emule.cpp 445

This post has been edited by dadsa: 19 September 2017 - 11:43 AM

0

#33 User is offline   dadsa 

  • Newbie
  • Pip
  • Group: Members
  • Posts: 12
  • Joined: 13-March 16

Posted 01 October 2017 - 05:02 PM

Visual studio 2008 compiles Win 10
compiled successfully
0

  • Member Options

  • (2 Pages)
  • +
  • 1
  • 2

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