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

Jump to content


  • (4 Pages)
  • +
  • 1
  • 2
  • 3
  • 4

How To Build Emule 0.49b With Vs 2003

#41 User is offline   moloko+ 

  • ...
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 1209
  • Joined: 18-August 05

Posted 15 April 2009 - 03:41 PM

Thanks Stulle, didn't think it was too meaningful. :)

Nice one xilolee, mine was straight out of the box with the 0.49b libs ;)
0

#42 User is offline   eMuleFrance 

  • Premium Member
  • PipPipPipPipPip
  • Group: Moderator
  • Posts: 317
  • Joined: 02-December 02

Post icon  Posted 15 April 2009 - 11:55 PM

View Postxilolee, on Apr 2 2009, 10:21 PM, said:

These steps should work to compile the 49c version:
1) download and install speech api (only if it is not installed yet)
2) download and install WMFSDK9 (only if it is not installed yet) and put in options - projects - vc++ directories "C:\Programmi\WMSDK\WMFSDK9\include" (under "Include Files"), and "C:\Programmi\WMSDK\WMFSDK9\lib" under "Library Files"
3) download and unpack emule0.49c- sources
4) download and unpack the eMule 0.49b libs archive: ed2k://|file|eMule-0.49b-libs.zip|1732292|0D1C22554DD88A11883D73B3624D929D|/
5) copy-paste only the folders crypto51, libpng, resizablelib (not the zlib folder !!!) --> in the 49c-sources folder ...
6) at this point, build only the resizablelib and then rename the release folder in ReleaseUnicode
7) build the emule_vc71-all.sln



I try exactly this and I have these issue :

LINK : warning LNK4089: all references to 'USER32.dll' discarded by /OPT:REF

libpng\png.h(434) : fatal error C1083: Cannot open include file: 'zlib.h': No such file or directory
ximapng.cpp
..\..\zlib\../libpng\png.h(434) : fatal error C1083: Cannot open include file: 'zlib.h': No such file or directory

ximaint.cpp(404) : warning C4101: 'pxptra' : unreferenced local variable
ximaint.cpp(486) : warning C4101: 'pxptra' : unreferenced local variable

c:\program files\microsoft visual studio .net 2003\vc7\include\xtree(1116) : warning C4702: unreachable code
c:\program files\microsoft visual studio .net 2003\vc7\include\xtree(1117) : warning C4702: unreachable code
c:\program files\microsoft visual studio .net 2003\vc7\include\xtree(1118) : warning C4702: unreachable code
c:\program files\microsoft visual studio .net 2003\vc7\include\xtree(1119) : warning C4702: unreachable code
c:\program files\microsoft visual studio .net 2003\vc7\include\xtree(1121) : warning C4702: unreachable code
c:\program files\microsoft visual studio .net 2003\vc7\include\xtree(1136) : warning C4702: unreachable code


And lot of other fatal eror for zlib.h
And lot of warning C4702: unreachable code for xtree or list


I use an official version of Visual Studio 2003 SP1 Version 7.1.6030
.NET Framework 1.1 Version 1.1.4322 SP1

Have you some advice

Best regards
RG

#43 User is offline   eMuleFrance 

  • Premium Member
  • PipPipPipPipPip
  • Group: Moderator
  • Posts: 317
  • Joined: 02-December 02

Post icon  Posted 16 April 2009 - 12:04 AM

So, now,

If I replace zlib folder by the one present in the lib package.
And I don't compile cryptlib separately.

Then I rebuild all the solution.

I don't have problem with zlib.h.

But I still have these issues

ReplaceVistaIcon warning LNK4089: all references to 'USER32.dll' discarded by /OPT:REF
c:\Documents and Settings\USER\Mes documents\Visual Studio Projects\eMule0.49c-Sources\srchybrid\CxImage\ximapng.cpp(480): warning C4101: 'c' : unreferenced local variable
c:\Documents and Settings\USER\Mes documents\Visual Studio Projects\eMule0.49c-Sources\srchybrid\CxImage\ximaint.cpp(404): warning C4101: 'pxptra' : unreferenced local variable
c:\Documents and Settings\USER\Mes documents\Visual Studio Projects\eMule0.49c-Sources\srchybrid\CxImage\ximaint.cpp(486): warning C4101: 'pxptra' : unreferenced local variable
c:\program files\microsoft visual studio .net 2003\vc7\include\xtree(1116): warning C4702: unreachable code
c:\program files\microsoft visual studio .net 2003\vc7\include\xtree(1117): warning C4702: unreachable code
c:\program files\microsoft visual studio .net 2003\vc7\include\xtree(1118): warning C4702: unreachable code
c:\program files\microsoft visual studio .net 2003\vc7\include\xtree(1119): warning C4702: unreachable code
c:\program files\microsoft visual studio .net 2003\vc7\include\xtree(1121): warning C4702: unreachable code
c:\program files\microsoft visual studio .net 2003\vc7\include\xtree(1136): warning C4702: unreachable code
c:\program files\microsoft visual studio .net 2003\vc7\include\list(907): warning C4702: unreachable code
c:\program files\microsoft visual studio .net 2003\vc7\include\list(908): warning C4702: unreachable code
...
c:\program files\microsoft visual studio .net 2003\vc7\include\list(910): warning C4702: unreachable code
emule error LNK2026: module unsafe for SAFESEH image.
emule error LNK2026: module unsafe for SAFESEH image.
emule fatal error LNK1281: Unable to generate SAFESEH image.

This post has been edited by eMuleFrance: 16 April 2009 - 12:37 AM


#44 User is offline   eMuleFrance 

  • Premium Member
  • PipPipPipPipPip
  • Group: Moderator
  • Posts: 317
  • Joined: 02-December 02

Posted 16 April 2009 - 12:31 AM

Now I have added /SAFESEH option to the linker of project eMule

So
1. Open the project's Property Pages dialog box. For details, see Setting Visual C++ Project Properties.
PROJECT emule

2. Click the Linker folder.
3. Click the Command Line property page.
4. Type the option into the Additional Options box.

Then rebuild the complete solution.

Now eMule is linked, but there is allways some warning

ReplaceVistaIcon warning LNK4089: all references to 'USER32.dll' discarded by /OPT:REF
c:\Documents and Settings\USER\Mes documents\Visual Studio Projects\eMule0.49c-Sources\srchybrid\CxImage\ximapng.cpp(480): warning C4101: 'c' : unreferenced local variable
c:\Documents and Settings\USER\Mes documents\Visual Studio Projects\eMule0.49c-Sources\srchybrid\CxImage\ximaint.cpp(404): warning C4101: 'pxptra' : unreferenced local variable
c:\Documents and Settings\USER\Mes documents\Visual Studio Projects\eMule0.49c-Sources\srchybrid\CxImage\ximaint.cpp(486): warning C4101: 'pxptra' : unreferenced local variable
c:\program files\microsoft visual studio .net 2003\vc7\include\xtree(1116): warning C4702: unreachable code
...
c:\program files\microsoft visual studio .net 2003\vc7\include\list(910): warning C4702: unreachable code
emule warning LNK4089: all references to 'comdlg32.dll' discarded by /OPT:REF

This post has been edited by eMuleFrance: 16 April 2009 - 12:38 AM


#45 User is offline   moloko+ 

  • ...
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 1209
  • Joined: 18-August 05

Posted 16 April 2009 - 02:25 AM

View PosteMuleFrance, on Apr 16 2009, 10:31 AM, said:

Now eMule is linked, but there is allways some warning


You're done, xilolee just finished following the same procedure, deja vu. :thumbup:
0

#46 User is offline   starko 

  • Splendid Member
  • PipPipPipPip
  • Group: Members
  • Posts: 214
  • Joined: 30-March 05

Posted 22 January 2010 - 09:34 AM

View Postlinux_rodo, on 01 April 2009 - 03:04 PM, said:

:worthy: xilolee says :

Quote

I tried installing WMFSDK9 and putting in options - projects - vc++ directories "C:\Programmi\WMSDK\WMFSDK9\include" (under "Include Files"), and "C:\Programmi\WMSDK\WMFSDK9\lib" under "Library Files" ... And finally i made it !!!


YES THAT IS THE RIGTH WAY TO DO IT!


Can not find WMFSDK9 on the net. Microsoft's site offers only version 11. Anyone any idea on where i can get it?
Seeking Posted Image, Posted Image and Posted Image Firefox users to translate eMuleSearchPosted Image - a Firefox add-on for running a search for selected text in eMule with just a click. See here for details.
0

#47 User is offline   tHeWiZaRdOfDoS 

  • Man, what a bunch of jokers...
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 5630
  • Joined: 28-December 02

Posted 22 January 2010 - 09:39 AM

Google Hit: http://www.microsoft...&displaylang=en
0

#48 User is offline   starko 

  • Splendid Member
  • PipPipPipPip
  • Group: Members
  • Posts: 214
  • Joined: 30-March 05

Posted 22 January 2010 - 09:45 AM

View PosttHeWiZaRdOfDoS, on 22 January 2010 - 09:39 AM, said:


Thanks, but your link is to "Windows Media Player 9" while the guys were talking about "Windows Media Format". I did some more searching and found it here
Seeking Posted Image, Posted Image and Posted Image Firefox users to translate eMuleSearchPosted Image - a Firefox add-on for running a search for selected text in eMule with just a click. See here for details.
0

#49 User is offline   starko 

  • Splendid Member
  • PipPipPipPip
  • Group: Members
  • Posts: 214
  • Joined: 30-March 05

Posted 22 January 2010 - 10:43 AM

View PosteMuleFrance, on 16 April 2009 - 12:31 AM, said:

Now I have added /SAFESEH option to the linker of project eMule


I was getting the same SAFESEH errors

Quote

Compiling resources...
Linking...
zlib.lib(inffas32.obj) : error LNK2026: module unsafe for SAFESEH image.
zlib.lib(gvmat32.obj) : error LNK2026: module unsafe for SAFESEH image.
Release/emule.exe : fatal error LNK1281: Unable to generate SAFESEH image.

so i tried to follow your suggestion. It turned out my project command line already had /SAFESEH option ... hmmm I wanted to see what would happen if i removed it. It worked! to a degree.

Quote

LINK : warning LNK4089: all references to 'comdlg32.dll' discarded by /OPT:REF
Performing Post-Build Steps...
Inserting Vista application icon...
Enabling Dynamic Base support...

---------------------- Done ----------------------
Build: 10 succeeded, 0 failed, 0 skipped

I got build done BUT when i tried to run eMule from Release directory i got following error message:
"eMule.exe was not linked with /SafeSEH!

Anyone any ideas?

PS. I am using VS2003 SP1 on Vista

This post has been edited by starko: 22 January 2010 - 11:56 AM

Seeking Posted Image, Posted Image and Posted Image Firefox users to translate eMuleSearchPosted Image - a Firefox add-on for running a search for selected text in eMule with just a click. See here for details.
0

#50 User is offline   xilolee 

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

Posted 22 January 2010 - 01:11 PM

have you tried the #34 post ?
i've modified it after emulefrance said that it didn't work.

:flowers:
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! Immagine Postata
0

#51 User is offline   starko 

  • Splendid Member
  • PipPipPipPip
  • Group: Members
  • Posts: 214
  • Joined: 30-March 05

Posted 22 January 2010 - 02:07 PM

View Postxilolee, on 22 January 2010 - 01:11 PM, said:

have you tried the #34 post ?
i've modified it after emulefrance said that it didn't work.

Yes, followed all your steps - that's how i got his far....
I even have modified the code as you suggested...(Although I am not sure in which way that could could be relevant to this problem, )

Unfortunately - still no cigar
------------------

!!! Have found this thread !!!

This post has been edited by starko: 22 January 2010 - 08:20 PM

Seeking Posted Image, Posted Image and Posted Image Firefox users to translate eMuleSearchPosted Image - a Firefox add-on for running a search for selected text in eMule with just a click. See here for details.
0

#52 User is offline   morph4u 

  • Splendid Member
  • PipPipPipPip
  • Group: Members
  • Posts: 147
  • Joined: 10-October 08

Posted 22 January 2010 - 03:18 PM

I made a package compile ready. Maybe there you can check your settings or use this easy. :)

All libs, AtlServer and WMSDK are included.

To compile start only "emule_vc71-all.sln" in srchybrid.

Have fun... Download: http://ul.to/l6am8w

mfg morph4u

This post has been edited by morph4u: 22 January 2010 - 03:19 PM

1

#53 User is offline   xilolee 

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

Posted 22 January 2010 - 10:49 PM

View Poststarko, on 22 January 2010 - 03:07 PM, said:

I even have modified the code as you suggested...(Although I am not sure in which way that could could be relevant to this problem, )

well, it should work without my modifications, since i only didn't want to see those warnings and i tried to eliminate them; and you should know that i'm not a programmer, so they are not relevant..
anyway it seems you have already done :+1:
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! Immagine Postata
0

#54 User is offline   starko 

  • Splendid Member
  • PipPipPipPip
  • Group: Members
  • Posts: 214
  • Joined: 30-March 05

Posted 23 January 2010 - 09:07 PM

View Postmorph4u, on 22 January 2010 - 03:18 PM, said:

I made a package compile ready. Maybe there you can check your settings or use this easy. :)
Have fun... Download: http://ul.to/l6am8w


Thanks, works like a charm! Probably a good idea to put this in the first post and save everyone who comes after me all the hassle.
Seeking Posted Image, Posted Image and Posted Image Firefox users to translate eMuleSearchPosted Image - a Firefox add-on for running a search for selected text in eMule with just a click. See here for details.
0

#55 User is offline   xilolee 

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

Posted 13 April 2010 - 08:15 PM

When compiling emule without vista and seven SDKs:

emule_site_config.h

Quote

09 //#define HAVE_WIN7_SDK_H
10 //#define HAVE_VISTA_SDK

I obtain these errors:

Linking...
MSVCRT.lib(MSVCR71.dll) : error LNK2005: _abort already defined in libcmt.lib(abort.obj)
MSVCRT.lib(MSVCR71.dll) : error LNK2005: _fprintf already defined in libcmt.lib(fprintf.obj)
MSVCRT.lib(MSVCR71.dll) : error LNK2005: __snprintf already defined in libcmt.lib(snprintf.obj)
MSVCRT.lib(MSVCR71.dll) : error LNK2005: _longjmp already defined in libcmt.lib(longjmp.obj)
MSVCRT.lib(MSVCR71.dll) : error LNK2005: _fread already defined in libcmt.lib(fread.obj)
MSVCRT.lib(MSVCR71.dll) : error LNK2005: _gmtime already defined in libcmt.lib(gmtime.obj)
MSVCRT.lib(MSVCR71.dll) : error LNK2005: _fwrite already defined in libcmt.lib(fwrite.obj)
MSVCRT.lib(MSVCR71.dll) : error LNK2005: _fflush already defined in libcmt.lib(fflush.obj)
MSVCRT.lib(MSVCR71.dll) : error LNK2005: _malloc already defined in libcmt.lib(malloc.obj)
MSVCRT.lib(MSVCR71.dll) : error LNK2005: _free already defined in libcmt.lib(free.obj)
MSVCRT.lib(MSVCR71.dll) : error LNK2005: _strtod already defined in libcmt.lib(strtod.obj)
MSVCRT.lib(ti_inst.obj) : error LNK2005: "private: __thiscall type_info::type_info(class type_info const &)" (??0type_info@@AAE@ABV0@@Z) already defined in libcmt.lib(typinfo.obj)
MSVCRT.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 libcmt.lib(typinfo.obj)
LINK : warning LNK4098: defaultlib 'MSVCRT' conflicts with use of other libs; use /NODEFAULTLIB:library
Release/emule.exe : fatal error LNK1169: one or more multiply defined symbols found


So I modify emule - properties - linker - input - ignore specific library and I add the MSVCRT.lib obtaining this:

Linking...
libpng.lib(pngerror.obj) : warning LNK4217: locally defined symbol _abort imported in function _png_default_error
libpng.lib(pngread.obj) : warning LNK4049: locally defined symbol _abort imported
libpng.lib(pngwrite.obj) : warning LNK4049: locally defined symbol _abort imported
libpng.lib(pngerror.obj) : warning LNK4217: locally defined symbol _fprintf imported in function _png_default_error
libpng.lib(pngrutil.obj) : warning LNK4049: locally defined symbol _fprintf imported
libpng.lib(pngerror.obj) : warning LNK4217: locally defined symbol __iob imported in function _png_default_error
libpng.lib(pngrutil.obj) : warning LNK4217: locally defined symbol __iob imported in function _png_inflate
libpng.lib(pngrtran.obj) : warning LNK4049: locally defined symbol __snprintf imported
libpng.lib(pngwutil.obj) : warning LNK4049: locally defined symbol __snprintf imported
libpng.lib(png.obj) : warning LNK4217: locally defined symbol __snprintf imported in function _png_convert_to_rfc1123
libpng.lib(pngread.obj) : warning LNK4217: locally defined symbol __snprintf imported in function _png_read_info
libpng.lib(pngwrite.obj) : warning LNK4049: locally defined symbol __snprintf imported
libpng.lib(pngrutil.obj) : warning LNK4049: locally defined symbol __snprintf imported
libpng.lib(pngread.obj) : warning LNK4217: locally defined symbol _longjmp imported in function _png_create_read_struct_2
libpng.lib(pngwrite.obj) : warning LNK4049: locally defined symbol _longjmp imported
libpng.lib(pngrio.obj) : warning LNK4217: locally defined symbol _fread imported in function _png_default_read_data
libpng.lib(pngwrite.obj) : warning LNK4217: locally defined symbol _gmtime imported in function _png_convert_from_time_t
libpng.lib(pngwio.obj) : warning LNK4217: locally defined symbol _fwrite imported in function _png_default_write_data
libpng.lib(pngwio.obj) : warning LNK4217: locally defined symbol _fflush imported in function _png_default_flush
libpng.lib(pngmem.obj) : warning LNK4217: locally defined symbol _malloc imported in function _png_create_struct_2
libpng.lib(pngmem.obj) : warning LNK4217: locally defined symbol _free imported in function _png_destroy_struct_2
libpng.lib(pngrutil.obj) : warning LNK4217: locally defined symbol _strtod imported in function _png_handle_sCAL

Anyway emule is compiled in this way... Is it correct or did I make some damage? :D




emule 0.50a libs (emule 0.49b libs by zz - modified)

ed2k://|file|eMule0.50a-libs.[contentdb.emule-project.net].zip|2004867|E7DAF62747A73DBFF55D289B169A31C8|h=FY67ZCFEWZOHOGYSZMOFUYGTJYCFEUNY|/

This post has been edited by xilolee: 11 March 2012 - 03:34 PM

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! Immagine Postata
0

#56 User is offline   pupet 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 50
  • Joined: 24-November 05

Posted 26 April 2010 - 06:37 PM

When compiling emule v0.50a problem

I obtain these errors:
Compiling...
MediaInfo.cpp
MediaInfo.cpp(2324) : error C2065: 'g_wszWMStreamTypeInfo' : undeclared identifier
MediaInfo.cpp(2324) : error C2065: 'WM_STREAM_TYPE_INFO' : undeclared identifier
MediaInfo.cpp(2324) : error C2070: ''unknown-type'': illegal sizeof operand
MediaInfo.cpp(2326) : error C2143: syntax error : missing ';' before '*'
MediaInfo.cpp(2326) : error C2734: 'WM_STREAM_TYPE_INFO' : const object must be initialized if not extern
MediaInfo.cpp(2326) : error C2734: 'WM_STREAM_TYPE_INFO' : const object must be initialized if not extern
MediaInfo.cpp(2326) : error C2734: 'WM_STREAM_TYPE_INFO' : const object must be initialized if not extern
MediaInfo.cpp(2326) : error C2065: 'pStreamTypeInfo' : undeclared identifier
MediaInfo.cpp(2326) : error C2059: syntax error : ')'
MediaInfo.cpp(2327) : error C2227: left of '->guidMajorType' must point to class/struct/union
        type is ''unknown-type''
MediaInfo.cpp(2327) : error C3861: 'pStreamTypeInfo': identifier not found, even with argument-dependent lookup
MediaInfo.cpp(2332) : error C2227: left of '->cbFormat' must point to class/struct/union
        type is ''unknown-type''
MediaInfo.cpp(2332) : error C3861: 'pStreamTypeInfo': identifier not found, even with argument-dependent lookup
MediaInfo.cpp(2334) : error C3861: 'pStreamTypeInfo': identifier not found, even with argument-dependent lookup
MediaInfo.cpp(2348) : error C2227: left of '->cbFormat' must point to class/struct/union
        type is ''unknown-type''
MediaInfo.cpp(2348) : error C3861: 'pStreamTypeInfo': identifier not found, even with argument-dependent lookup
MediaInfo.cpp(2405) : error C2065: 'g_wszWMPeakBitrate' : undeclared identifier
MediaInfo.cpp(2410) : error C2227: left of '->guidMajorType' must point to class/struct/union
        type is ''unknown-type''
MediaInfo.cpp(2410) : error C3861: 'pStreamTypeInfo': identifier not found, even with argument-dependent lookup
MediaInfo.cpp(2415) : error C2227: left of '->cbFormat' must point to class/struct/union
        type is ''unknown-type''
MediaInfo.cpp(2415) : error C3861: 'pStreamTypeInfo': identifier not found, even with argument-dependent lookup
MediaInfo.cpp(2417) : error C3861: 'pStreamTypeInfo': identifier not found, even with argument-dependent lookup
MediaInfo.cpp(2469) : error C3861: 'g_wszWMPeakBitrate': identifier not found, even with argument-dependent lookup
MediaInfo.cpp(2481) : error C2227: left of '->guidMajorType' must point to class/struct/union
        type is ''unknown-type''
MediaInfo.cpp(2481) : error C3861: 'pStreamTypeInfo': identifier not found, even with argument-dependent lookup
MediaInfo.cpp(2485) : error C2227: left of '->guidMajorType' must point to class/struct/union
        type is ''unknown-type''
MediaInfo.cpp(2485) : error C3861: 'pStreamTypeInfo': identifier not found, even with argument-dependent lookup
MediaInfo.cpp(2489) : error C2227: left of '->guidMajorType' must point to class/struct/union
        type is ''unknown-type''
MediaInfo.cpp(2489) : error C3861: 'pStreamTypeInfo': identifier not found, even with argument-dependent lookup
MediaInfo.cpp(2493) : error C2227: left of '->guidMajorType' must point to class/struct/union
        type is ''unknown-type''
MediaInfo.cpp(2493) : error C3861: 'pStreamTypeInfo': identifier not found, even with argument-dependent lookup
MediaInfo.cpp(2503) : error C3861: 'g_wszWMPeakBitrate': identifier not found, even with argument-dependent lookup
MediaInfo.cpp(2694) : error C3861: 'g_wszWMPeakBitrate': identifier not found, even with argument-dependent lookup

Build log was saved at "file://c:\Documents and Settings\Mes documents\Téléchargements\eMulev0.50a.-MorphXTv12.0-src_and_libs\eMulev0.50a.-MorphXTv12.0-src_and_libs\srchybrid\release\BuildLog.htm"
emule - 33 error(s), 0 warning(s)


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

    Build: 10 succeeded, 1 failed, 0 skipped

0

#57 User is offline   xilolee 

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

Posted 27 April 2010 - 02:50 AM

Pupet, re-try with these:

These steps work for me but I haven't installed vista and seven sdks, please see also the 55th post

These steps should work to compile the 0.50a version:

1) ONLY if it is not installed yet, download and install speech api then go to Visual Studio Menu->Tools->Options, Choose Projects->"VC++ Directories" and add "C:\Program Files\Microsoft Speech SDK 5.1\Include" (under "Include Files") and "C:\Program Files\Microsoft Speech SDK 5.1\Lib\i386" (under "Library Files")

2) ONLY if it is not installed yet, download and install WMFSDK9 and put in tools - options - projects - vc++ directories "C:\Program files\WMSDK\WMFSDK9\include" (under "Include Files"), and "C:\Programmi\WMSDK\WMFSDK9\lib" (under "Library Files")

(first check in which folders you have installed those 2 things!!)

3) download and unpack emule0.50a-sources

4) download and unpack the eMule 0.50a libs archive (cryptopp 5.1, resizablelib 1.3, zlib 1.2.3, libpng 1.4.1):
ed2k://|file|eMule0.50a-libs.[contentdb.emule-project.net].zip|2004867|E7DAF62747A73DBFF55D289B169A31C8|h=FY67ZCFEWZOHOGYSZMOFUYGTJYCFEUNY|/

[or emule 0.49 libs archive (but you'll need to download libpng 1.4.1):
ed2k://|file|eMule-0.49b-libs.zip|1732292|0D1C22554DD88A11883D73B3624D929D|/]

5) delete the zlib and libpng folders in the 0.50a sources (i have gotten and included in the 0.50a libs archive the zlib_vc71.sln and .vcproj from the zlib folder of 0.50a sources) and copy all the directories of 0.50a libs near the 0.50a folders:

Quote

crypto51
editbinx
id3lib
libpng
replacevistaicon
resizablelib
srchybrid
zlib


[OR extract and open the folder 0.49b libs, open the zlib folder, delete emule_vc71.sln and emule_vc71.vcproj, then copy-paste all the folders (crypto51, libpng 1.4.1 needed, resizablelib, zlib) in the 0.50a-sources folder]

6) open the emule_vc71-all.sln in the srchybrid folder and build the emule_vc71-all.sln in release mode

:flowers:

This post has been edited by xilolee: 11 March 2012 - 03:43 PM

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! Immagine Postata
0

#58 User is offline   pupet 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 50
  • Joined: 24-November 05

Posted 09 May 2010 - 10:44 PM

thanks very much :+1:
0

#59 User is offline   moloko+ 

  • ...
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 1209
  • Joined: 18-August 05

Posted 18 May 2010 - 10:17 AM

View Postxilolee, on 14 April 2010 - 07:15 AM, said:

...
So I modify emule - properties - linker - input - ignore specific library and I add the MSVCRT.lib obtaining this:

Linking...
libpng.lib(pngerror.obj) : warning LNK4217: locally defined symbol _abort imported in function _png_default_error
libpng.lib(pngread.obj) : warning LNK4049: locally defined symbol _abort imported
libpng.lib(pngwrite.obj) : warning LNK4049: locally defined symbol _abort imported
libpng.lib(pngerror.obj) : warning LNK4217: locally defined symbol _fprintf imported in function _png_default_error
libpng.lib(pngrutil.obj) : warning LNK4049: locally defined symbol _fprintf imported
libpng.lib(pngerror.obj) : warning LNK4217: locally defined symbol __iob imported in function _png_default_error
libpng.lib(pngrutil.obj) : warning LNK4217: locally defined symbol __iob imported in function _png_inflate
libpng.lib(pngrtran.obj) : warning LNK4049: locally defined symbol __snprintf imported
libpng.lib(pngwutil.obj) : warning LNK4049: locally defined symbol __snprintf imported
libpng.lib(png.obj) : warning LNK4217: locally defined symbol __snprintf imported in function _png_convert_to_rfc1123
libpng.lib(pngread.obj) : warning LNK4217: locally defined symbol __snprintf imported in function _png_read_info
libpng.lib(pngwrite.obj) : warning LNK4049: locally defined symbol __snprintf imported
libpng.lib(pngrutil.obj) : warning LNK4049: locally defined symbol __snprintf imported
libpng.lib(pngread.obj) : warning LNK4217: locally defined symbol _longjmp imported in function _png_create_read_struct_2
libpng.lib(pngwrite.obj) : warning LNK4049: locally defined symbol _longjmp imported
libpng.lib(pngrio.obj) : warning LNK4217: locally defined symbol _fread imported in function _png_default_read_data
libpng.lib(pngwrite.obj) : warning LNK4217: locally defined symbol _gmtime imported in function _png_convert_from_time_t
libpng.lib(pngwio.obj) : warning LNK4217: locally defined symbol _fwrite imported in function _png_default_write_data
libpng.lib(pngwio.obj) : warning LNK4217: locally defined symbol _fflush imported in function _png_default_flush
libpng.lib(pngmem.obj) : warning LNK4217: locally defined symbol _malloc imported in function _png_create_struct_2
libpng.lib(pngmem.obj) : warning LNK4217: locally defined symbol _free imported in function _png_destroy_struct_2
libpng.lib(pngrutil.obj) : warning LNK4217: locally defined symbol _strtod imported in function _png_handle_sCAL

Anyway emule is compiled in this way... Is it correct or did I make some damage? :D
...


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.
1

#60 User is offline   xilolee 

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

Posted 24 May 2010 - 09:03 PM

Hi moloko!

Thanks :+1:

(when i'll have time, i'll modify the release)
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! Immagine Postata
0

  • Member Options

  • (4 Pages)
  • +
  • 1
  • 2
  • 3
  • 4

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