Howto Build The Emule Sources (with Vs2002)
#81
Posted 02 October 2003 - 10:50 AM
thank you for help!
regards, cyrex2001.
#82
Posted 02 October 2003 - 09:43 PM
i have the out found!
the zlib in the png-project was on singelthreaded!
thank everyone for the help!
cyrex2001
#83
Posted 02 October 2003 - 11:48 PM
SlugFiller rule #1: Unsolicited PMs is the second most efficient method to piss me off.
SlugFiller rule #2: The first most efficient method is unsolicited eMails.
SlugFiller rule #3: If it started in a thread, it should end in the same thread.
SlugFiller rule #4: There is absolutely no reason to perform the same discussion twice in parallel, especially if one side is done via PM.
SlugFiller rule #5: Does it say "Group: Moderators" under my name? No? Then stop telling me about who you want to ban! I really don't care! Go bother a moderator.
SlugFiller rule #6: I can understand English, Hebrew, and a bit of Japanese(standard) and Chinese(mandarin), but if you speak to me in anything but English, do expect to be utterly ignored, at best.
#84
Posted 03 October 2003 - 02:42 AM
it's not needed for id3lib and libpng.
just remove it from the projects, delete the zlib files included in those projects and make sure the #include "..\zlib.h" thingies point to the .h of the zlib emule already provides (erm, used to provide. well, point it to the zlib dir with zlib.h in it.).
there's absolutely no need to compile that thing 3 times.
it's really enough to have 1 .h and 1 lib. everything else is just unnecessary compile time and lost hd space.
drunk,
k-man
This post has been edited by k-man: 03 October 2003 - 02:47 AM
#85
Posted 04 October 2003 - 03:50 PM
I have built crypto51, zlib, id3lib, png and I have all the .lib
Also I moved jigle folder into src folder.
So I opened emule.sln Visual Studio Solution :I have no message of errors then I selected "release" and "build"
But I have an error during the compilation:
Quote
It's maybe normal because I do not have anything make with
CxImage folder.
Is anybody can help me please (sorry for my english).
#86
Posted 04 October 2003 - 04:55 PM
within eMule's src folder there's the CxImage lib...
compile it (make sure it knows the right location of png lib)!!
if everything is ok... compile eMule!
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).
#87
Posted 04 October 2003 - 05:50 PM
But I have again 1 error and 1 warning at the end of the compilation and more precisely during the "Generating code".
Here an extract of the end of my "Build log":
Quote
ArchiveRecovery.cpp
Compiling...
Scanner.cpp
Compiling resources...
Linking...
LINK : warning LNK4098: defaultlib 'LIBC' conflicts with use of other libs; use /NODEFAULTLIB:library
Generating code
Finished generating code
libz.lib(crc32.obj) : fatal error LNK1275: /LTCG invalid with clr modules
Results
Build log was saved at "file://c:\Documents and Settings\......\src\Release\BuildLog.htm"
emule - 1 error(s), 1 warning(s)
What I had to do to resolve this problem ? Thks.
#88
Posted 04 October 2003 - 06:01 PM
did u modify the .sln/.vcproj files?
do u have a celeron processor?
cuz i had some1 in my forum with the same problem (LNK1275)
and he wasn't able to resolve it....
try usin' msdn to find the problem and its solution...
also, look in the project's properties via VS.Net, look for "/LTCG"
and remove it (usually visible in command line property)!
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).
#89
Posted 04 October 2003 - 08:00 PM
and "Version=7.10".
My processor is AMD.
How do you do to remove "/LTCG" in the project's properties "Linker"/"Command line" ?
#90
Posted 04 October 2003 - 08:45 PM
rafix, on Oct 4 2003, 10:00 PM, said:
i don't know since the guy sent me his src
and i was able to compile it successfully!!!
i suggest u try findin' the property deep
within the project's properties (and use the msdn...)
maybe u'll b able to find the needed solution....
(or pray some1 who had & fixed this problem
will answer u soon...)
btw, r u able to compile previous eMule srcs?
(v0.28 and above, since u have VS.Net 2003)
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).
#91
Posted 05 October 2003 - 12:54 AM
I have just change my zlib folder and compilation was ok.Big thks 2 Magicseb25 for this folder.
Thks for your help Avi-3k.
See you
This post has been edited by rafix: 05 October 2003 - 12:55 AM
#92
Posted 05 October 2003 - 07:37 AM
rafix, on Oct 5 2003, 02:54 AM, said:
I have just change my zlib folder and compilation was ok.
how did u change the zlib folder exactly?
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).
#93
Posted 05 October 2003 - 10:45 AM
Quote
It is just somebody who gentillement gave me it his nothing else.
#94
Posted 07 October 2003 - 11:13 AM
emule fatal error LNK1169: one or more multiply defined symbols found emule error LNK2005: "public: void __thiscall std::_Mutex::_Lock(void)" (?_Lock@_Mutex@std@@QAEXXZ) already defined in id3lib.lib(tag_file.obj) emule error LNK2005: "public: void __thiscall std::_Mutex::_Unlock(void)" (?_Unlock@_Mutex@std@@QAEXXZ) already defined in id3lib.lib(tag_file.obj) emule error LNK2005: "public: __thiscall std::_Lockit::_Lockit(int)" (??0_Lockit@std@@QAE@H@Z) already defined in id3lib.lib(utils.obj) emule error LNK2005: "public: __thiscall std::_Lockit::~_Lockit(void)" (??1_Lockit@std@@QAE@XZ) already defined in id3lib.lib(utils.obj) emule error LNK2005: __C_Exit_Done already defined in LIBC.lib(crt0dat.obj) emule error LNK2005: __C_Termination_Done already defined in LIBC.lib(crt0dat.obj) emule error LNK2005: __exitflag already defined in LIBC.lib(crt0dat.obj) emule error LNK2005: __wpgmptr already defined in LIBC.lib(crt0dat.obj) emule error LNK2005: __pgmptr already defined in LIBC.lib(crt0dat.obj) emule error LNK2005: ___winitenv already defined in LIBC.lib(crt0dat.obj) emule error LNK2005: __wenviron already defined in LIBC.lib(crt0dat.obj) emule error LNK2005: ___initenv already defined in LIBC.lib(crt0dat.obj) emule error LNK2005: __environ already defined in LIBC.lib(crt0dat.obj) emule error LNK2005: ___wargv already defined in LIBC.lib(crt0dat.obj) emule error LNK2005: ___argv already defined in LIBC.lib(crt0dat.obj) emule error LNK2005: ___argc already defined in LIBC.lib(crt0dat.obj) emule error LNK2005: __winminor already defined in LIBC.lib(crt0dat.obj) emule error LNK2005: __winmajor already defined in LIBC.lib(crt0dat.obj) emule error LNK2005: __winver already defined in LIBC.lib(crt0dat.obj) emule error LNK2005: __osver already defined in LIBC.lib(crt0dat.obj) emule error LNK2005: __osplatform already defined in LIBC.lib(crt0dat.obj) emule error LNK2005: __umaskval already defined in LIBC.lib(crt0dat.obj) emule error LNK2005: ___crtExitProcess already defined in libcmt.lib(crt0dat.obj) emule error LNK2005: __cinit already defined in libcmt.lib(crt0dat.obj) emule error LNK2005: _exit already defined in libcmt.lib(crt0dat.obj) emule error LNK2005: __exit already defined in libcmt.lib(crt0dat.obj) emule error LNK2005: __cexit already defined in libcmt.lib(crt0dat.obj) emule error LNK2005: __c_exit already defined in libcmt.lib(crt0dat.obj) emule warning LNK4098: defaultlib 'LIBC' conflicts with use of other libs; use /NODEFAULTLIB:library
I have no idea which library is the problem or is it the actual emule project
Anyone?
#95
Posted 07 October 2003 - 11:23 AM
SlugFiller rule #1: Unsolicited PMs is the second most efficient method to piss me off.
SlugFiller rule #2: The first most efficient method is unsolicited eMails.
SlugFiller rule #3: If it started in a thread, it should end in the same thread.
SlugFiller rule #4: There is absolutely no reason to perform the same discussion twice in parallel, especially if one side is done via PM.
SlugFiller rule #5: Does it say "Group: Moderators" under my name? No? Then stop telling me about who you want to ban! I really don't care! Go bother a moderator.
SlugFiller rule #6: I can understand English, Hebrew, and a bit of Japanese(standard) and Chinese(mandarin), but if you speak to me in anything but English, do expect to be utterly ignored, at best.
#96
Posted 07 October 2003 - 11:49 AM
#97
Posted 14 October 2003 - 07:32 PM
MSVCRTD.lib(MSVCR70D.dll) : error LNK2005: _calloc already defined in libcmtd.lib(dbgheap.obj)
MSVCRTD.lib(MSVCR70D.dll) : error LNK2005: _free already defined in libcmtd.lib(dbgheap.obj)
MSVCRTD.lib(ti_inst.obj) : error LNK2005: "private: __thiscall type_info::type_info(class type_info const &)" (??0type_info@@AAE@ABV0@@Z) already defined in libcmtd.lib(typinfo.obj)
MSVCRTD.lib(ti_inst.obj) : error LNK2005: "private: class type_info & __thiscall type_info::operator=(class type_info const &)" (??4type_info@@AAEAAV0@ABV0@@Z) already defined in libcmtd.lib(typinfo.obj)
LINK : warning LNK4098: defaultlib 'MSVCRTD' conflicts with use of other libs; use /NODEFAULTLIB:library
LINK : warning LNK4098: defaultlib 'LIBC' conflicts with use of other libs; use /NODEFAULTLIB:library
Debug/emule.exe : fatal error LNK1169: one or more multiply defined symbols found
If anyone has an idea, it's my first build. I've spent on it 2 days.
Thanks in advance.
#98
Posted 15 October 2003 - 03:25 AM
If you do not feel like loading every library's project, review the compile options and rebuild them, you could use the /FORCE build option but the resulting binary will be very unstable.
Try doing 'F1' on a LINK 2005 error...
#99
Posted 15 October 2003 - 07:13 AM
#100
Posted 15 October 2003 - 04:52 PM
but when i start emule.exe it gives me a messagebox saying zlib.dll could not be found
Why could this be ?
thanks !!
epowder
This post has been edited by epowder: 15 October 2003 - 04:53 PM