Re: [Opalvoip-user] Unable to build Ptlib / Opal v3.14.1 on Windowsvc++2010
Brought to you by:
csoutheren,
rjongbloed
|
From: Robert J. <ro...@vo...> - 2014-07-09 23:31:19
|
Very strange, that code has been like that for many, many years. The only thing I can think of is an OS language thing and the single quote is somehow different. Anyway, doesn't matter to me if it is a single or a double quote, so I have changed it. It is in latest SVN for Lacaille (v3.14.x) and Procyon (trunk). *Robert Jongbloed* /OPAL/OpenH323/PTLib Architect and Co-founder./ Commercial support at http://www.voxlucida.com.au On 10/07/2014 2:26 AM, Adrian Roman wrote: > Hi, > There is a solution to this (I too dropped the dll linking, though, > because of some initializations issues). > MergeSym has to be changed. It uses dumpbin and for some reason > something went wrong when passing the library path with '. > I changed it to " instead and it worked. > Here is the relevant code, changed: > PINDEX linecount = 0; PString dumpbin = args.GetOptionString('d',"dumpbin"); PPipeChannel pipe(dumpbin +" /symbols /directives \"" + lib_filename +"\"", PPipeChannel::ReadOnly); > Adrian > *From:* VEYSSIERE Nicolas <mailto:nic...@th...> > *Sent:* Wednesday, July 09, 2014 12:50 PM > *To:* opa...@li... > <mailto:opa...@li...> > *Subject:* [Opalvoip-user] Unable to build Ptlib / Opal v3.14.1 on > Windowsvc++2010 > > Hello, because of my previous mail, I am trying to update to the > latest stable release (v3.14.1), but the compilation doesn't generate > the lib correctly (size is 2ko). > > Maybe it is linked to MergeSym telling me that there is a total of 0 > symbols : > > Merging symbols ... > > MergeSym version 1.9.1 on Windows XP by Equivalence > > Symbols merged: 0 added, 24379 removed, 0 total. > > After building in release, mergesym and ptlib static and ptlib dll > here are the file size result : > > MergeSym.exe 335K > > ptlib.dll 2960K > > ptlib.lib 2k <- this doesn't seems to be the good size > > ptlibs.lib 20154k > > With version 3.10.11 MergeSym seems to merge well : > > Merging symbols ... > > MergeSym version 1.8.0 on Windows XP by Equivalence > > Symbols merged: 84 added, 4609 removed, 18503 total. > > And generated files size are 'good' : > > MergeSym.exe 240K > > ptlib.dll 4904K > > ptlib.lib 12189K > > ptlibs.lib 24307K > > Regards. > > -- > > Nicolas V. > > ------------------------------------------------------------------------ > ------------------------------------------------------------------------------ > Open source business process management suite built on Java and Eclipse > Turn processes into business applications with Bonita BPM Community > Edition > Quickly connect people, data, and systems into organized workflows > Winner of BOSSIE, CODIE, OW2 and Gartner awards > http://p.sf.net/sfu/Bonitasoft > > ------------------------------------------------------------------------ > _______________________________________________ > Opalvoip-user mailing list > Opa...@li... > https://lists.sourceforge.net/lists/listinfo/opalvoip-user > > > ------------------------------------------------------------------------------ > Open source business process management suite built on Java and Eclipse > Turn processes into business applications with Bonita BPM Community Edition > Quickly connect people, data, and systems into organized workflows > Winner of BOSSIE, CODIE, OW2 and Gartner awards > http://p.sf.net/sfu/Bonitasoft > > > _______________________________________________ > Opalvoip-user mailing list > Opa...@li... > https://lists.sourceforge.net/lists/listinfo/opalvoip-user |