Regards,Sheikh
--
You received this message because you are subscribed to the Google Groups "Native-Client-Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to native-client-di...@googlegroups.com.
To post to this group, send email to native-cli...@googlegroups.com.
Visit this group at http://groups.google.com/group/native-client-discuss.
For more options, visit https://groups.google.com/d/optout.
My Visual C++ solution is developed in "Visual Stuio 2013 express edition", APIs responsible for decoding and rendering streaming data (video and audio) are available in the form of DLLs.
According to this link (https://developer.chrome.com/native-client/devguide/devcycle/vs-addin) I can only use Visual Stuio 2010 SP1 to integrate Native Client SDK with Visual Studio?
On Wednesday, 18 June 2014 12:21:44 UTC+1, khim wrote:On Wed, Jun 18, 2014 at 2:44 PM, Sheikh Khalil <sheikh...@gorillabox.net> wrote:
Hello,I am trying to compile simple app (testappconsole.cpp) with PNacl and I get this error given below ( SDKDDKVer.h is included by Visual Studio when I built the wizard application)Command that I usepnacl-clang++ testappconsole.cpp -I nacl_sdk\pepper_35/include -LC: nacl_sdk\pepper_35/lib/pnacl/Release -o testappconsole.pexe -g -O2 -lppapi_cpp -lppapiErrorIn file included from testappconsole.cpp:4:In file included from ./stdafx.h:8:./targetver.h:8:10: fatal error: 'SDKDDKVer.h' file not found#include <SDKDDKVer.h>^1 error generated.Also whole Idea is to port Visual Studio client application (written in Visual C++) responsible for decoding and streaming audio and video over LAN and WAN. The application is running fine on windows operating system, We need to port it for chrome, Is PNacl a good, stable tool for this?Depends on your code. PNaCl is quite stable today, but of couse it could not provide and does not provide proprietary Windows APIs (they are not portable by definition). Your program must use PPAPI ( https://developer.chrome.com/native-client/pepper_stable/index ) instead. If your programs has MacOS or Linux ports then you could be interested in nacl_io which supports subset of POSIX APIs ( https://developer.chrome.com/native-client/devguide/coding/nacl_io ).If you need/want to use dynamic libarries, code generation or low-level assembler tricks then you'll need to use NaCl, not PNaCl, but then your applications will be limited to Chrome Web Store.Regards,Sheikh
I think you misunderstand: porting to Chrome means it'll work on all other platforms within Chrome.
Ok I am confused now, Let me reiterate what I want.
- (1) I have a Client application developed in Visual Studio 2013 Express that decodes (live streaming data
containing Server desktop) and shows it on client window, encoder used are FFmpeg, AMF etc.
- (2) Mainly Client application decode and renders the stream. Decoding and streaming are done by third party
DLL that are used in simple test client App.
- (3) I want to run same client application in chrome browser with same operating system(Windows)- (4) How do I port it for browser using google API. solution needs to be quickest and easiest
On Wednesday, 18 June 2014 12:39:19 UTC+1, JF Bastien wrote:I think you misunderstand: porting to Chrome means it'll work on all other platforms within Chrome.You can use Visual Studio as an IDE, but the Windows APIs aren't supported as-is. You can see the PPAPIs that Victor pointed at to see which APIs are available from within Chrome.
Hello,I am trying to compile simple app (testappconsole.cpp) with PNacl and I get this error given below ( SDKDDKVer.h is included by Visual Studio when I built the wizard application)Command that I usepnacl-clang++ testappconsole.cpp -I nacl_sdk\pepper_35/include -LC: nacl_sdk\pepper_35/lib/pnacl/Release -o testappconsole.pexe -g -O2 -lppapi_cpp -lppapiErrorIn file included from testappconsole.cpp:4:In file included from ./stdafx.h:8:./targetver.h:8:10: fatal error: 'SDKDDKVer.h' file not found#include <SDKDDKVer.h>^1 error generated.Also whole Idea is to port Visual Studio client application (written in Visual C++) responsible for decoding and streaming audio and video over LAN and WAN. The application is running fine on windows operating system, We need to port it for chrome, Is PNacl a good, stable tool for this?
Depends on your code. PNaCl is quite stable today, but of couse it could not provide and does not provide proprietary Windows APIs (they are not portable by definition). Your program must use PPAPI ( https://developer.chrome.com/native-client/pepper_stable/index ) instead. "So where I am using windows APIs, I need to use PPAPI API for my client application to be portable" ?
Hello,I am trying to compile simple app (testappconsole.cpp) with PNacl and I get this error given below ( SDKDDKVer.h is included by Visual Studio when I built the wizard application)Command that I usepnacl-clang++ testappconsole.cpp -I nacl_sdk\pepper_35/include -LC: nacl_sdk\pepper_35/lib/pnacl/Release -o testappconsole.pexe -g -O2 -lppapi_cpp -lppapiErrorIn file included from testappconsole.cpp:4:In file included from ./stdafx.h:8:./targetver.h:8:10: fatal error: 'SDKDDKVer.h' file not found#include <SDKDDKVer.h>^1 error generated.Also whole Idea is to port Visual Studio client application (written in Visual C++) responsible for decoding and streaming audio and video over LAN and WAN. The application is running fine on windows operating system, We need to port it for chrome, Is PNacl a good, stable tool for this?Depends on your code. PNaCl is quite stable today, but of couse it could not provide and does not provide proprietary Windows APIs (they are not portable by definition). Your program must use PPAPI ( https://developer.chrome.com/native-client/pepper_stable/index ) instead. "So where I am using windows APIs, I need to use PPAPI API for my client application to be portable" ?
If your programs has MacOS or Linux ports then you could be interested in nacl_io which supports subset of POSIX APIs ( https://developer.chrome.com/native-client/devguide/coding/nacl_io ).If you need/want to use dynamic libarries, code generation or low-level assembler tricks then you'll need to use NaCl, not PNaCl, but then your applications will be limited to Chrome Web Store.Regards,Sheikh
So I need to rewrite my client application and whereever I am using windows API I need to replace it with PAPPI or posix?
So I need to rewrite my client application and whereever I am using windows API I need to replace it with PAPPI or posix?
--
Programs would not be portable if they used such APIs.
Regards,
-Darin
The goal is portability, we can't offer Windows APIs on other platforms.Not even for chrome running on windows platform?