Re: [Opalvoip-user] Unable to build Ptlib / Opal v3.14.1 on Windowsvc++2010
Brought to you by:
csoutheren,
rjongbloed
|
From: Adrian R. <ar...@rd...> - 2014-07-09 16:53:36
|
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
Sent: Wednesday, July 09, 2014 12:50 PM
To: 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
|