Official eMule-Board: Howto Build The Emule Sources (with Vs2002) - Official eMule-Board

Jump to content


  • (14 Pages)
  • +
  • 1
  • 2
  • 3
  • 4
  • Last »

Howto Build The Emule Sources (with Vs2002)

#21 User is offline   pRAyNz 

  • Grandmaster of reasonable jumpiness
  • PipPipPipPipPipPip
  • Group: Members
  • Posts: 359
  • Joined: 25-November 02

Posted 22 August 2003 - 03:34 PM

What about using this patch?
0

#22 User is offline   Butterblume 

  • Member
  • PipPip
  • Group: Members
  • Posts: 22
  • Joined: 27-December 02

Posted 22 August 2003 - 04:01 PM

Avi-3k, on Aug 22 2003, 04:33 PM, said:

@Butterblume
i can't help u much, cuz i'm usin' VS.Net 2003...

u can try usin' my id3lib from my mod dl site
http://sourceforge.n...?group_id=85087
(it's made 4 VS.Net 2003, but i think it'll work with 2002...
just change the project ver. to 7.0 instead of 7.1!!)

Avi3k

Thx for this one, your code made the race! :thumbup:

now everything works fine! :)
0

#23 User is offline   Avi-3k 

  • hebMule [retired] dev
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 1127
  • Joined: 25-June 03

Posted 22 August 2003 - 04:05 PM

@Butterblume
u'r welcome!!
glad i could help...

@pRAyNz
this patch is not needed since zlib works fine anyhow....

Avi3k
retired developer of hebMule and eMule Skinner...
hebMule site and topic.
hebMule2 unique features: AntiLeech, AntiVirus, Fake Check, ServerFilter, WebSearches, Export Searches, Relative Priority, ModID and much much more...

eMule Skinner is an application to create/edit skins for eMule,
it's multilingual, supports mods, easy-to-use design, integrates to hebMule & Windows and lots more...

code fixes/improvements: #1, #2, #3, #4, #5, #6, #7, #8, #9, #10, #11 (to check/verify: #12, #13).
0

#24 User is offline   r0xx0r123 

  • Newbie
  • Pip
  • Group: Members
  • Posts: 4
  • Joined: 26-December 02

Posted 23 August 2003 - 04:18 PM

Hi, I also had Problems with building the zlib library. But I found the Problem: you should also mention the header files which are required to build it. Is this right, that I included the headerfiles? (Anyway, now I didn't get any errors)
0

#25 User is offline   Avi-3k 

  • hebMule [retired] dev
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 1127
  • Joined: 25-June 03

Posted 23 August 2003 - 04:54 PM

@r0xx0r123
headerfiles are the prototype of the implementation
of the functions (in the *.c/*.cpp files)...
they have 2 b included all the time in the project file!!!
(i won't enter d details, cuz it's obvious if u'r a programmer....)

Avi3k
retired developer of hebMule and eMule Skinner...
hebMule site and topic.
hebMule2 unique features: AntiLeech, AntiVirus, Fake Check, ServerFilter, WebSearches, Export Searches, Relative Priority, ModID and much much more...

eMule Skinner is an application to create/edit skins for eMule,
it's multilingual, supports mods, easy-to-use design, integrates to hebMule & Windows and lots more...

code fixes/improvements: #1, #2, #3, #4, #5, #6, #7, #8, #9, #10, #11 (to check/verify: #12, #13).
0

#26 User is offline   r0xx0r123 

  • Newbie
  • Pip
  • Group: Members
  • Posts: 4
  • Joined: 26-December 02

Posted 23 August 2003 - 05:19 PM

ok, I know more than it seemed to be in my previous post :P It was more fun, but i'm still a newbe, anyway. So I ask you this :D : Is there any problem if my compiled emule.exe (without modifications) has less kb than the original? I didn't have any errors by now.

This post has been edited by r0xx0r123: 23 August 2003 - 05:20 PM

0

#27 User is offline   Avi-3k 

  • hebMule [retired] dev
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 1127
  • Joined: 25-June 03

Posted 23 August 2003 - 06:25 PM

@r0xx0r123
it's ok, cuz it happened 2 everybody,
includin' me....

Avi3k
retired developer of hebMule and eMule Skinner...
hebMule site and topic.
hebMule2 unique features: AntiLeech, AntiVirus, Fake Check, ServerFilter, WebSearches, Export Searches, Relative Priority, ModID and much much more...

eMule Skinner is an application to create/edit skins for eMule,
it's multilingual, supports mods, easy-to-use design, integrates to hebMule & Windows and lots more...

code fixes/improvements: #1, #2, #3, #4, #5, #6, #7, #8, #9, #10, #11 (to check/verify: #12, #13).
0

#28 User is offline   zz 

  • -
  • PipPipPipPipPipPipPip
  • Group: Debugger
  • Posts: 2014
  • Joined: 30-November 02

Posted 24 August 2003 - 12:10 AM

If you don't upload, you shouldn't download. It's as simple as that.

/zz B)
ZZUL - get control of your uploads: ZZUL Forum
0

#29 User is offline   ~Neo~ 

  • Newbie
  • Pip
  • Group: Members
  • Posts: 4
  • Joined: 31-May 03

Posted 26 August 2003 - 01:28 PM

When I want to build id3lib then i became this:
------ Build started: Project: id3lib, Configuration: Debug Win32 ------

Compiling...
writers.cpp
utils.cpp
tag_render.cpp
tag_parse_v1.cpp
e:\Downloads\eMule\Source Code\id3lib\src\tag_parse_v1.cpp(155) : warning C4244: 'initializing' : conversion from 'ID3_Reader::int_type' to 'uchar', possible loss of data
tag_parse_musicmatch.cpp
e:\Downloads\eMule\Source Code\id3lib\src\tag_parse_musicmatch.cpp(50) : warning C4244: 'initializing' : conversion from 'ID3_Reader::int_type' to 'ID3_Reader::char_type', possible loss of data
tag_parse_lyrics3.cpp
e:\Downloads\eMule\Source Code\id3lib\src\tag_parse_lyrics3.cpp(96) : warning C4244: 'initializing' : conversion from 'ID3_Reader::int_type' to 'ID3_Reader::char_type', possible loss of data
e:\Downloads\eMule\Source Code\id3lib\src\tag_parse_lyrics3.cpp(141) : warning C4244: 'initializing' : conversion from 'ID3_Reader::int_type' to 'ID3_Reader::char_type', possible loss of data
tag_parse.cpp
e:\Downloads\eMule\Source Code\id3lib\src\tag_parse.cpp(97) : warning C4244: 'initializing' : conversion from 'ID3_Reader::int_type' to 'ID3_Reader::char_type', possible loss of data
tag_impl.cpp
e:\Downloads\eMule\Source Code\id3lib\src\tag_impl.cpp(44) : warning C4244: 'initializing' : conversion from 'ID3_Reader::int_type' to 'char', possible loss of data
tag_find.cpp
tag_file.cpp
tag.cpp
spec.cpp
readers.cpp
mp3_parse.cpp
e:\Downloads\eMule\Source Code\id3lib\src\mp3_parse.cpp(503) : warning C4018: '>=' : signed/unsigned mismatch
misc_support.cpp
io_helpers.cpp
e:\Downloads\eMule\Source Code\id3lib\src\io_helpers.cpp(40) : warning C4244: 'initializing' : conversion from 'ID3_Reader::int_type' to 'ID3_Reader::char_type', possible loss of data
e:\Downloads\eMule\Source Code\id3lib\src\io_helpers.cpp(114) : warning C4244: '=' : conversion from 'ID3_Reader::int_type' to 'ID3_Reader::char_type', possible loss of data
e:\Downloads\eMule\Source Code\id3lib\src\io_helpers.cpp(120) : warning C4244: '=' : conversion from 'ID3_Reader::int_type' to 'ID3_Reader::char_type', possible loss of data
e:\Downloads\eMule\Source Code\id3lib\src\io_helpers.cpp(252) : warning C4244: 'initializing' : conversion from 'ID3_Reader::int_type' to 'ID3_Reader::char_type', possible loss of data
io_decorators.cpp
e:\Downloads\eMule\Source Code\id3lib\src\io_decorators.cpp(157) : warning C4244: 'initializing' : conversion from 'ID3_Reader::int_type' to 'ID3_Reader::char_type', possible loss of data
e:\Downloads\eMule\Source Code\id3lib\src\io_decorators.cpp(173) : warning C4244: 'initializing' : conversion from 'ID3_Reader::int_type' to 'ID3_Reader::char_type', possible loss of data
e:\Downloads\eMule\Source Code\id3lib\src\io_decorators.cpp(178) : warning C4244: '=' : conversion from 'ID3_Reader::int_type' to 'ID3_Reader::char_type', possible loss of data
e:\Downloads\eMule\Source Code\id3lib\src\io_decorators.cpp(189) : warning C4244: 'initializing' : conversion from 'ID3_Reader::int_type' to 'ID3_Reader::char_type', possible loss of data
io.cpp
helpers.cpp
header_tag.cpp
e:\Downloads\eMule\Source Code\id3lib\src\header_tag.cpp(113) : warning C4244: 'initializing' : conversion from 'ID3_Reader::int_type' to 'uchar', possible loss of data
e:\Downloads\eMule\Source Code\id3lib\src\header_tag.cpp(114) : warning C4244: 'initializing' : conversion from 'ID3_Reader::int_type' to 'uchar', possible loss of data
header_frame.cpp
header.cpp
globals.cpp
frame_render.cpp
frame_parse.cpp
e:\Downloads\eMule\Source Code\id3lib\src\frame_parse.cpp(147) : warning C4244: 'initializing' : conversion from 'ID3_Reader::int_type' to 'char', possible loss of data
e:\Downloads\eMule\Source Code\id3lib\src\frame_parse.cpp(154) : warning C4244: 'initializing' : conversion from 'ID3_Reader::int_type' to 'char', possible loss of data
frame_impl.cpp
frame.cpp
field_string_unicode.cpp
field_string_ascii.cpp
field_integer.cpp
field_binary.cpp
field.cpp
c_wrapper.cpp
Creating library...

Build log was saved at "file://e:\Downloads\eMule\Source Code\id3lib\libprj\Debug\BuildLog.htm"
id3lib - 0 error(s), 19 warning(s)


---------------------- Done ----------------------

    Build: 1 succeeded, 0 failed, 0 skipped




Where is the problem? I'm using vs2003
0

#30 User is offline   xMule 

  • Member
  • PipPip
  • Group: Members
  • Posts: 34
  • Joined: 22-July 03

Posted 26 August 2003 - 01:36 PM

There's no "problem".
Only "warnings" about risky type conversions. But I guess the programmer knows what he does.

Iy you know that a 32 bit int value will always be between 0 and 255, there's no risk to convert it to unsigned char. But without explicit casts, the compiler displays warnings.

Don't worry. There are no errors, so it's OK.
0

#31 User is offline   ~Neo~ 

  • Newbie
  • Pip
  • Group: Members
  • Posts: 4
  • Joined: 31-May 03

Posted 26 August 2003 - 02:00 PM

Okay when i want to build emule i became this:
------ Build started: Project: emule, Configuration: Release Win32 ------

Linking...
libcpmt.lib(xmutex.obj) : error LNK2005: "public: void __thiscall std::_Mutex::_Lock(void)" (?_Lock@_Mutex@std@@QAEXXZ) already defined in id3lib.lib(tag_file.obj)
libcpmt.lib(xmutex.obj) : error LNK2005: "public: void __thiscall std::_Mutex::_Unlock(void)" (?_Unlock@_Mutex@std@@QAEXXZ) already defined in id3lib.lib(tag_file.obj)
libcpmt.lib(xlock.obj) : error LNK2005: "public: __thiscall std::_Lockit::_Lockit(int)" (??0_Lockit@std@@QAE@H@Z) already defined in id3lib.lib(utils.obj)
libcpmt.lib(xlock.obj) : error LNK2005: "public: __thiscall std::_Lockit::~_Lockit(void)" (??1_Lockit@std@@QAE@XZ) already defined in id3lib.lib(utils.obj)
LINK : warning LNK4098: defaultlib 'LIBC' conflicts with use of other libs; use /NODEFAULTLIB:library
Release/emule.exe : fatal error LNK1169: one or more multiply defined symbols found

Build log was saved at "file://e:\eMule\src\Release\BuildLog.htm"
emule - 5 error(s), 1 warning(s)


---------------------- Done ----------------------

    Build: 0 succeeded, 1 failed, 0 skipped




And then?

This post has been edited by ~Neo~: 26 August 2003 - 02:01 PM

0

#32 User is offline   Avi-3k 

  • hebMule [retired] dev
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 1127
  • Joined: 25-June 03

Posted 26 August 2003 - 02:22 PM

@~Neo~
if u will check, the id3lib is compiled in Debug mode,
and eMule in Release mode...
first compile id3lib in Release mode!!

if u still have problems, u can dl id3lib
from my mod's dl page (made 4 VS.Net 2003):
http://sourceforge.n...?group_id=85087

Avi3k

This post has been edited by Avi-3k: 26 August 2003 - 02:22 PM

retired developer of hebMule and eMule Skinner...
hebMule site and topic.
hebMule2 unique features: AntiLeech, AntiVirus, Fake Check, ServerFilter, WebSearches, Export Searches, Relative Priority, ModID and much much more...

eMule Skinner is an application to create/edit skins for eMule,
it's multilingual, supports mods, easy-to-use design, integrates to hebMule & Windows and lots more...

code fixes/improvements: #1, #2, #3, #4, #5, #6, #7, #8, #9, #10, #11 (to check/verify: #12, #13).
0

#33 User is offline   Master1977 

  • Newbie
  • Pip
  • Group: Members
  • Posts: 4
  • Joined: 27-August 03

Posted 30 August 2003 - 10:41 AM

Avi-3k, on Jun 26 2003, 03:34 PM, said:

i made a mini guide 2 fix problems in Crypto++,
it is 4 VS.Net 2003!

u can check it out here.

if u need more 4 VS.Net 2003,
post ur msgs there...

Avi3k

Worked great for me! thanks :clap:
0

#34 User is offline   Avi-3k 

  • hebMule [retired] dev
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 1127
  • Joined: 25-June 03

Posted 30 August 2003 - 11:07 AM

@Master1977
u'r welcome....

@bluecow
pls update the post (include VS2003)
cuz as i said b4, it works ok 4 VS.Net 2003
thanx!

Avi3k
retired developer of hebMule and eMule Skinner...
hebMule site and topic.
hebMule2 unique features: AntiLeech, AntiVirus, Fake Check, ServerFilter, WebSearches, Export Searches, Relative Priority, ModID and much much more...

eMule Skinner is an application to create/edit skins for eMule,
it's multilingual, supports mods, easy-to-use design, integrates to hebMule & Windows and lots more...

code fixes/improvements: #1, #2, #3, #4, #5, #6, #7, #8, #9, #10, #11 (to check/verify: #12, #13).
0

#35 User is offline   reD_ 

  • Newbie
  • Pip
  • Group: Members
  • Posts: 2
  • Joined: 10-September 03

Posted 12 September 2003 - 01:05 PM

hi

I´m having troubles when compiling the eMule .30 sources!
The follow error message comes up:

Finished generating code
libz.lib(crc32.obj) : fatal error LNK1275: /LTCG invalid with clr modules

The libz.lib is present and compiled perfectly!

Any Idea!?

cheers
0

#36 User is offline   Avi-3k 

  • hebMule [retired] dev
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 1127
  • Joined: 25-June 03

Posted 12 September 2003 - 01:16 PM

@reD_
search the msdn 4 this error,
maybe u'll find the answer there....

if it didn't help, post the followin':
which VS.Net do u have (2002/2003)?
did it happened in previous versions (0.29/0.28)?
did u try to replace the zlib.lib with other ver.
(from previous eMule srcs...)?
did u try to del the Release/Debug folder and re-build the solution?

Avi3k

This post has been edited by Avi-3k: 12 September 2003 - 01:17 PM

retired developer of hebMule and eMule Skinner...
hebMule site and topic.
hebMule2 unique features: AntiLeech, AntiVirus, Fake Check, ServerFilter, WebSearches, Export Searches, Relative Priority, ModID and much much more...

eMule Skinner is an application to create/edit skins for eMule,
it's multilingual, supports mods, easy-to-use design, integrates to hebMule & Windows and lots more...

code fixes/improvements: #1, #2, #3, #4, #5, #6, #7, #8, #9, #10, #11 (to check/verify: #12, #13).
0

#37 User is offline   reD_ 

  • Newbie
  • Pip
  • Group: Members
  • Posts: 2
  • Joined: 10-September 03

Posted 12 September 2003 - 01:21 PM

ok I´ll check the error on the database!

no, I´ve never tried to compile any other emule versions because I really need this one!

Thx for the help!
ahh, I use vs .net 2003 DVD Ed. with your zlib (from your project)

thx
0

#38 User is offline   Xerves 

  • Member
  • PipPip
  • Group: Validating
  • Posts: 24
  • Joined: 07-January 03

Posted 13 September 2003 - 05:24 PM

hi,

i get this errors:

emule error LNK2001: unresolved external symbol "struct _iobuf * __cdecl std::_Fiopen(char const *,int,int)" (?_Fiopen@std@@YAPAU_iobuf@@PBDHH@Z)
emule error LNK2001: unresolved external symbol "struct _iobuf * __cdecl std::_Fiopen(char const *,int,int)" (?_Fiopen@std@@YAPAU_iobuf@@PBDHH@Z)
emule fatal error LNK1120: 1 unresolved externals

can somebody help me ?
0

#39 User is offline   bscabral 

  • "Dream" member
  • PipPipPipPipPipPip
  • Group: Members
  • Posts: 339
  • Joined: 25-December 02

Posted 14 September 2003 - 09:53 PM

i can compile in edition 98 ?
IPB Image
IPB Image
0

#40 User is offline   alf 

  • Golden eMule
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 1481
  • Joined: 26-September 02

Posted 28 September 2003 - 07:12 PM

bluecow:
could you please add now the build instructions for libpng?
thank you.
0

  • Member Options

  • (14 Pages)
  • +
  • 1
  • 2
  • 3
  • 4
  • Last »

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