Hello, Is it possible to compile H323plus and Ptlib in 64 bits under Windows 7 and Visual Studio 2010? Can someone guide me on this? Thank you.
Best regards,Jess
Jess
I just checked in CVS x64 definitions for the vs2010 project file.
For PTLIB 2.10.x create the x64 project based on win32 project and #undef P_SSL (they point to win32 OpenSSL)
It should compile (you will have a few warnings)
Simon
From: h323plus-bounces@lists.packetizer.com [mailto:h323plus-bounces@lists.packetizer.com] On Behalf Of Y030052 Ng Sent: 31 January 2012 15:47 To: h323plus@lists.packetizer.com Subject: [h323plus] H323plus and ptlib 64 bits
Hello,
Is it possible to compile H323plus and Ptlib in 64 bits under Windows 7 and Visual Studio 2010? Can someone guide me on this? Thank you.
Best regards,
Jess
Hi Simon, In which file exactly should I place #undef P_SSL? I am able to compile "configure" and "PTLib Static" and "MergeSym" projects in x64, but stuck in compiling "PTLib DLL" project. The build output is below. By comparing the build output for win32, it seems that the problem is in creating ptlib.lib. But I have no idea how to fix this. Please helps. Thank you.
1>------ Build started: Project: PTLib DLL, Configuration: Release x64 ------1>Build started 1/2/2012 11:44:35 AM.1>InitializeBuildStatus:1> Touching "......\Lib\Release\PTLib DLL.unsuccessfulbuild".1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(151,5): warning MSB8015: Forcing a rebuild of all source files due to the contents of "D:\H323plus\ptlib64\Lib\Release\custombuild.command.1.tlog" being invalid.1> Merging symbols ...1> MergeSym version 1.7.0 on Windows 7 by Equivalence1> 1> Symbols merged: 11975 added, 15728 removed.1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(151,5): warning MSB8015: Forcing a rebuild of all source files due to the contents of "D:\H323plus\ptlib64\Lib\Release\custombuild.command.1.tlog" being invalid.1>ClCompile:1> dllmain.cxx1>ptlib.def : error LNK2001: unresolved external symbol =1>......\Lib\ptlib.lib : fatal error LNK1120: 1 unresolved externals1>1>Build FAILED.1>1>Time Elapsed 00:00:15.96========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
Jess From: s.horne@packetizer.com To: y030052@live.com; h323plus@lists.packetizer.com Subject: RE: [h323plus] H323plus and ptlib 64 bits Date: Wed, 1 Feb 2012 02:18:55 +1000
Jess I just checked in CVS x64 definitions for the vs2010 project file. For PTLIB 2.10.x create the x64 project based on win32 project and #undef P_SSL (they point to win32 OpenSSL)It should compile (you will have a few warnings) Simon From: h323plus-bounces@lists.packetizer.com [mailto:h323plus-bounces@lists.packetizer.com] On Behalf Of Y030052 Ng Sent: 31 January 2012 15:47 To: h323plus@lists.packetizer.com Subject: [h323plus] H323plus and ptlib 64 bits Hello, Is it possible to compile H323plus and Ptlib in 64 bits under Windows 7 and Visual Studio 2010? Can someone guide me on this? Thank you. Best regards,Jess
Jess
Just use PTLIB Static and statically link PTLIB with h323plus (ie link to ptlibs.lib)
If using PTLIB v2.10.x In include/ptbuildopts.h.in at around line 190 #if defined(P_OSSL) && !defined(_WIN32_WCE) && !defined(_WIN64)
Do a rebuild.
Simon
On Wed, 1 Feb 2012 11:53:03 +0800, Y030052 Ng wrote:
Hi Simon,
In which file exactly should I place #undef P_SSL?
I am able to compile "configure" and "PTLib Static" and "MergeSym" projects in x64, but stuck in compiling "PTLib DLL" project. The build output is below.
By comparing the build output for win32, it seems that the problem is in creating ptlib.lib. But I have no idea how to fix this. Please helps. Thank you.
1>------ Build started: Project: PTLib DLL, Configuration: Release x64
1>Build started 1/2/2012 11:44:35 AM. 1>InitializeBuildStatus: 1> Touching "......LibReleasePTLib DLL.unsuccessfulbuild". 1>C:Program Files (x86)MSBuildMicrosoft.Cppv4.0Microsoft.CppCommon.targets(151,5): warning MSB8015: Forcing a rebuild of all source files due to the contents of "D:H323plusptlib64LibReleasecustombuild.command.1.tlog" being invalid. 1> Merging symbols ... 1> MergeSym version 1.7.0 on Windows 7 by Equivalence 1> 1> Symbols merged: 11975 added, 15728 removed. 1>C:Program Files (x86)MSBuildMicrosoft.Cppv4.0Microsoft.CppCommon.targets(151,5): warning MSB8015: Forcing a rebuild of all source files due to the contents of "D:H323plusptlib64LibReleasecustombuild.command.1.tlog" being invalid. 1>ClCompile: 1> dllmain.cxx 1>ptlib.def : error LNK2001: unresolved external symbol = 1>......Libptlib.lib : fatal error LNK1120: 1 unresolved externals 1> 1>Build FAILED. 1> 1>Time Elapsed 00:00:15.96 ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
Jess
From: s.horne@packetizer.com To: y030052@live.com; h323plus@lists.packetizer.com Subject: RE: [h323plus] H323plus and ptlib 64 bits Date: Wed, 1 Feb 2012 02:18:55 +1000
Jess
I just checked in CVS x64 definitions for the vs2010 project file.
For PTLIB 2.10.x create the x64 project based on win32 project and #undef P_SSL (they point to win32 OpenSSL)
It should compile (you will have a few warnings)
Simon
FROM: h323plus-bounces@lists.packetizer.com [mailto:h323plus-bounces@lists.packetizer.com] ON BEHALF OF Y030052 Ng SENT: 31 January 2012 15:47 TO: h323plus@lists.packetizer.com SUBJECT: [h323plus] H323plus and ptlib 64 bits
Hello,
Is it possible to compile H323plus and Ptlib in 64 bits under Windows 7 and Visual Studio 2010? Can someone guide me on this? Thank you.
Best regards,
Jess
Yes, I figured to use the static libraries as well.I can compile H323plus library and the simpleplus library successfully. However, when I run simpleplus (x64), it is not able to load the H.264 video codec plugin even though I have placed the DLL on the same folder as simpleplus.exe. To verify that the dll can be read, I recompile simpleplus for x86 and it is able to load the H.264 codec. I used dumpbin to check the target machine for the H.264 DLL; it is indeed specified for x86 machine. Where can I download x64 version of H.264 plugin? I downloaded the x86 version from http://www.h323plus.org/source/download/ffmpeg_x264.zip
Jess.
Date: Wed, 1 Feb 2012 14:08:05 +1000 From: s.horne@spranto.com To: h323plus@lists.packetizer.com Subject: Re: [h323plus] H323plus and ptlib 64 bits
Jess
Just use PTLIB Static and statically link PTLIB with h323plus (ie link to ptlibs.lib)
If using PTLIB v2.10.x In include/ptbuildopts.h.in at around line 190 #if defined(P_OSSL) && !defined(_WIN32_WCE) && !defined(_WIN64)
Do a rebuild.
Simon
On Wed, 1 Feb 2012 11:53:03 +0800, Y030052 Ng wrote:
Hi Simon,
In which file exactly should I place #undef P_SSL?
I am able to compile "configure" and "PTLib Static" and "MergeSym" projects in x64, but stuck in compiling "PTLib DLL" project. The build output is below.
By comparing the build output for win32, it seems that the problem is in creating ptlib.lib. But I have no idea how to fix this. Please helps. Thank you.
1>------ Build started: Project: PTLib DLL, Configuration: Release x64
1>Build started 1/2/2012 11:44:35 AM. 1>InitializeBuildStatus: 1> Touching "......LibReleasePTLib DLL.unsuccessfulbuild". 1>C:Program Files (x86)MSBuildMicrosoft.Cppv4.0Microsoft.CppCommon.targets(151,5): warning MSB8015: Forcing a rebuild of all source files due to the contents of "D:H323plusptlib64LibReleasecustombuild.command.1.tlog" being invalid. 1> Merging symbols ... 1> MergeSym version 1.7.0 on Windows 7 by Equivalence 1> 1> Symbols merged: 11975 added, 15728 removed. 1>C:Program Files (x86)MSBuildMicrosoft.Cppv4.0Microsoft.CppCommon.targets(151,5): warning MSB8015: Forcing a rebuild of all source files due to the contents of "D:H323plusptlib64LibReleasecustombuild.command.1.tlog" being invalid. 1>ClCompile: 1> dllmain.cxx 1>ptlib.def : error LNK2001: unresolved external symbol = 1>......Libptlib.lib : fatal error LNK1120: 1 unresolved externals 1> 1>Build FAILED. 1> 1>Time Elapsed 00:00:15.96 ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
Jess
From: s.horne@packetizer.com To: y030052@live.com; h323plus@lists.packetizer.com Subject: RE: [h323plus] H323plus and ptlib 64 bits Date: Wed, 1 Feb 2012 02:18:55 +1000
Jess
I just checked in CVS x64 definitions for the vs2010 project file.
For PTLIB 2.10.x create the x64 project based on win32 project and #undef P_SSL (they point to win32 OpenSSL)
It should compile (you will have a few warnings)
Simon
FROM: h323plus-bounces@lists.packetizer.com [mailto:h323plus-bounces@lists.packetizer.com] ON BEHALF OF Y030052 Ng SENT: 31 January 2012 15:47 TO: h323plus@lists.packetizer.com SUBJECT: [h323plus] H323plus and ptlib 64 bits
Hello,
Is it possible to compile H323plus and Ptlib in 64 bits under Windows 7 and Visual Studio 2010? Can someone guide me on this? Thank you.
Best regards,
Jess
Hello, I have been trying to get 64-bit H323plus to work. Now I am struggling with getting the 64-bit H.263 (both H263-1998 and ffmpeg) and H.264 video plugins working on 64-bit H323plus application. I upgraded the h263_2008.sln and h263ffmpeg_2008.sln to VS 2010 and x64 solution files. I am able to compile them successfully. I placed the dlls under the same folder as the simpleplus application. But I do not see the simpleplus application loads either of these h263 codecs. Has anyone tried to compile these plugin projects in 64-bit? I will greatly appreciate if anyone who has done this can share the compiled dlls or give me some guides on this... I have not tried to recompile the H.264 plugin as I expect much more complication with that project, but I do hope can get the H.264 plugin working as well.
Best regards,Jess
Jess
X64 support is definitely a work in progress.
To load the audio/video plugins the files also have to be compiled x64. I just checked in and tested vs2010 x64 support for H.261 but beyond that you are on your own.
You will need to compile the H.263 and H.264 plugins x64 and build your own x64 version of X264 and FFMPEG. Sorry I don't yet have prebuilt x64 binaries.
Simon
From: h323plus-bounces@lists.packetizer.com [mailto:h323plus-bounces@lists.packetizer.com] On Behalf Of Y030052 Ng Sent: 02 February 2012 12:42 To: h323plus@lists.packetizer.com Subject: [h323plus] Unable to load H.263 and H.264 plugin dll for x64 windows
Hello,
I have been trying to get 64-bit H323plus to work. Now I am struggling with getting the 64-bit H.263 (both H263-1998 and ffmpeg) and H.264 video plugins working on 64-bit H323plus application.
I upgraded the h263_2008.sln and h263ffmpeg_2008.sln to VS 2010 and x64 solution files. I am able to compile them successfully. I placed the dlls under the same folder as the simpleplus application. But I do not see the simpleplus application loads either of these h263 codecs. Has anyone tried to compile these plugin projects in 64-bit? I will greatly appreciate if anyone who has done this can share the compiled dlls or give me some guides on this...
I have not tried to recompile the H.264 plugin as I expect much more complication with that project, but I do hope can get the H.264 plugin working as well.
Best regards,
Jess
Simon, I checked out the H.261 projects from CVS and compiled it without any problem. However, I still cannot see the codec loaded in the simpleplus application, despite I have placed the plugin file on the same folder as simpleplus.exe. I have also double checked to ensure that I am using x64 ptlib and h323 libraries. Any idea what I have done wrong? Jess From: s.horne@packetizer.com To: y030052@live.com CC: h323plus@lists.packetizer.com Subject: RE: [h323plus] Unable to load H.263 and H.264 plugin dll for x64 windows Date: Thu, 2 Feb 2012 19:49:47 +1000
Jess X64 support is definitely a work in progress. To load the audio/video plugins the files also have to be compiled x64. I just checked in and tested vs2010 x64 support for H.261 but beyond that you are on your own. You will need to compile the H.263 and H.264 plugins x64 and build your own x64 version of X264 and FFMPEG. Sorry I don’t yet have prebuilt x64 binaries. Simon From: h323plus-bounces@lists.packetizer.com [mailto:h323plus-bounces@lists.packetizer.com] On Behalf Of Y030052 Ng Sent: 02 February 2012 12:42 To: h323plus@lists.packetizer.com Subject: [h323plus] Unable to load H.263 and H.264 plugin dll for x64 windows Hello, I have been trying to get 64-bit H323plus to work. Now I am struggling with getting the 64-bit H.263 (both H263-1998 and ffmpeg) and H.264 video plugins working on 64-bit H323plus application. I upgraded the h263_2008.sln and h263ffmpeg_2008.sln to VS 2010 and x64 solution files. I am able to compile them successfully. I placed the dlls under the same folder as the simpleplus application. But I do not see the simpleplus application loads either of these h263 codecs. Has anyone tried to compile these plugin projects in 64-bit? I will greatly appreciate if anyone who has done this can share the compiled dlls or give me some guides on this... I have not tried to recompile the H.264 plugin as I expect much more complication with that project, but I do hope can get the H.264 plugin working as well. Best regards,Jess
To update my previous post, I can now load H.261 codec after copy the plugin to the ptlib plugin directory. The problem was because the application only search the ptlib plugin directory by default and not the application's directory. Nevertheless, the video does not seems to be working properly. It raises unhandled exception on calling codec->codecFunction (h323pluginmgr.cxx line 1783). Simon, you mentioned that you tested the H.261 x64, do you have any issue in the video (en)coding? I also recompiled the H.263-ffmpeg plugin in 64 bit successfully , but it is not loaded in H323 application. The tracing output show that "Plugin Codec DLL h263ffmpeg_ptplugin contains no codec definitions". What does this error means? how can I get around this problem? Thanks for any help. Jess From: y030052@live.com To: s.horne@packetizer.com Date: Fri, 3 Feb 2012 08:54:26 +0800 CC: h323plus@lists.packetizer.com Subject: Re: [h323plus] Unable to load H.263 and H.264 plugin dll for x64 windows
Simon, I checked out the H.261 projects from CVS and compiled it without any problem. However, I still cannot see the codec loaded in the simpleplus application, despite I have placed the plugin file on the same folder as simpleplus.exe. I have also double checked to ensure that I am using x64 ptlib and h323 libraries. Any idea what I have done wrong? Jess From: s.horne@packetizer.com To: y030052@live.com CC: h323plus@lists.packetizer.com Subject: RE: [h323plus] Unable to load H.263 and H.264 plugin dll for x64 windows Date: Thu, 2 Feb 2012 19:49:47 +1000
Jess X64 support is definitely a work in progress. To load the audio/video plugins the files also have to be compiled x64. I just checked in and tested vs2010 x64 support for H.261 but beyond that you are on your own. You will need to compile the H.263 and H.264 plugins x64 and build your own x64 version of X264 and FFMPEG. Sorry I don’t yet have prebuilt x64 binaries. Simon From: h323plus-bounces@lists.packetizer.com [mailto:h323plus-bounces@lists.packetizer.com] On Behalf Of Y030052 Ng Sent: 02 February 2012 12:42 To: h323plus@lists.packetizer.com Subject: [h323plus] Unable to load H.263 and H.264 plugin dll for x64 windows Hello, I have been trying to get 64-bit H323plus to work. Now I am struggling with getting the 64-bit H.263 (both H263-1998 and ffmpeg) and H.264 video plugins working on 64-bit H323plus application. I upgraded the h263_2008.sln and h263ffmpeg_2008.sln to VS 2010 and x64 solution files. I am able to compile them successfully. I placed the dlls under the same folder as the simpleplus application. But I do not see the simpleplus application loads either of these h263 codecs. Has anyone tried to compile these plugin projects in 64-bit? I will greatly appreciate if anyone who has done this can share the compiled dlls or give me some guides on this... I have not tried to recompile the H.264 plugin as I expect much more complication with that project, but I do hope can get the H.264 plugin working as well. Best regards,Jess
participants (3)
-
Simon Horne
-
Simon Horne
-
Y030052 Ng