Howto Build The Emule Sources (with Vs2002)
#22
Posted 22 August 2003 - 04:01 PM
Avi-3k, on Aug 22 2003, 04:33 PM, said:
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!
now everything works fine!
#23
Posted 22 August 2003 - 04:05 PM
u'r welcome!!
glad i could help...
@pRAyNz
this patch is not needed since zlib works fine anyhow....
Avi3k
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).
#24
Posted 23 August 2003 - 04:18 PM
#25
Posted 23 August 2003 - 04:54 PM
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
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).
#26
Posted 23 August 2003 - 05:19 PM
This post has been edited by r0xx0r123: 23 August 2003 - 05:20 PM
#27
Posted 23 August 2003 - 06:25 PM
it's ok, cuz it happened 2 everybody,
includin' me....
Avi3k
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).
#28
Posted 24 August 2003 - 12:10 AM
/zz
#29
Posted 26 August 2003 - 01:28 PM
------ 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
#30
Posted 26 August 2003 - 01:36 PM
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.
#31
Posted 26 August 2003 - 02:00 PM
------ 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
#32
Posted 26 August 2003 - 02:22 PM
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
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).
#34
Posted 30 August 2003 - 11:07 AM
u'r welcome....
@bluecow
pls update the post (include VS2003)
cuz as i said b4, it works ok 4 VS.Net 2003
thanx!
Avi3k
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).
#35
Posted 12 September 2003 - 01:05 PM
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
#36
Posted 12 September 2003 - 01:16 PM
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
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).
#37
Posted 12 September 2003 - 01:21 PM
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
#38
Posted 13 September 2003 - 05:24 PM
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 ?
#40
Posted 28 September 2003 - 07:12 PM
could you please add now the build instructions for libpng?
thank you.