Resolving Bonjour Discovery Dependencies - c++

I have developed the a library to discover Device Using Bonjour Discovery Api.
I have installed bonjour sdk in my system so the Unit Test for it is working fine in my machine.
But When we run on fresh machine it is crashing.The reason for this Bonjour is not installed on that system.This library is going to be used in Some application.
My assumption is to run this library we not run mDNResponder.exe and mdnsNSP.dll.
One way to solve the problem is install the Bonjour SDk manually.
I am wanted to do it programatically.Please help me do this.

I guess need to run Bonjour.msi only Instead of SDK.

Related

Deploying a C++ application developed on Mac OS in a Ubuntu environment

I have developed a small web server based on Crow, link.
I'm pretty new to developing in C++ so all advices are greatly appreciated.
I'm developing the application on my Mac and intend to deploy it to a Ubuntu server.
I use Make to build the application so that I can run it on the Mac. The application is depending on two libraries, pqxx and png++. None of those are installed on the server.
I'd like to know how to run this application on the Ubuntu server. Mainly I guess the issue is, can I make a specific build on the Mac that is targeted for running on the Ubuntu server? Or do I have to build the application on the server?
Easiest way is to install Ubuntu on a VM on your Mac and deploy there your application.
Less easy solution: move source files on server, deploy the application, delete the sources from server.
Theoretically, both system are linux, so as long as you are using standard c++ libraries the code should run anyway.
In any case, the dependencies on Linux and Mac for Crown are different, so (most probabily) you have to install some libraries on your server.

How Remote Development of C++ works in Netbeans?

Hi we want to use remote development features of netbeans but while trying out on our setup its very slow. I want to understand its feasibility of integrating our build environment with netbeans.
Our setup would be normally:
1. Windows 7 Professional 64bit where we install netbeans
2. RHEL 5.5 64bit linux where we have tools and sources
Normally we directly connect to that machine through PuTTY and use VIM to edit sources and gmake to compile and build projects. Now when I created the "New Remote Project with existing sources" and try to use it It took more time to load the project.
So Can anybody tell me how actually this remote compilation works??
Because we have some GBs of sources here on linux box and I want to know is it possible for smooth development with this big data??
Simple steps. Read this tutorial. You just need a SSH-server on your Linux.
The process is easy, your Netbeans connects to the SSH-server and searches for compilation tools then uses them to build your projects.
The second issue is creating a shared folder that your Windows and Linux able to access to it. I suggest you first create a shared folder on your Windows and use Samba client on your Linux.

pion-network library installation

I have downloaded and installed the pion network library.
I am trying to build the sample web services (HelloService etc). However, I cannot find instructions on how to build the examples.
I am developing on windows7
Check This for build instructions on Windows.
You might also want to see here the compatibility of your windows.

Getting started with pion network library

I have downloaded and installed the pion network library.
I am trying to build the sample web services (HelloService etc). However, I cannot find instructions on how to build the examples. Running make in the directory returns 'Nothing to be done for all'
Has anyone ever managed to build the pion network library web service examples?
I am developing on Ubuntu 10.x
There is an interesting tutorial here : http://prog-xp.blogspot.fr/2011/01/creating-simple-web-server-with-pion.html

Google chrome, native client support and development

I would like to write a small C++ app and run it on chrome using the native client API.
I have a few questions though:
1) I compiled the examples on Ubuntu and ran the code on firefox but can't run it on chrome (using version 5.0.342.7 beta)
Do I need to install something? An extension/plugin?
2) I can't find a single online application I could run? Links anyone, I want to see the power of this thing without having to compile the code locally.
Thanks for your help,
-hbt
PS:
I don't know what's the policy with asking multiple questions. If it's a problem, let me know and I will create multiple threads.
More details:
Already read doc at
http://code.google.com/p/nativeclient/wiki/NativeClientInGoogleChrome
Running with --enable-nac from the command line and I have this error
.mozilla/plugins/sel_ldr_bin.trace: cannot dynamically load executable
I already built and installed sel_ldr
./scons -c --mode=opt-linux sel_ldr
./scons -c --mode=nacl
./scons run_all_tests
./scons --mode=opt-linux npGoogleNaClPlugin
./scons --verbose firefox_install
Works in firefox! not in chrome
Double checked about:plugins in chrome
Native Client Plugin is enabled and pointing to
.mozilla/plugins/libnpGoogleNaClPlugin.so
Please advise
Thanks
Did you launch Chromium with the following parameter --enable-nac.
1) Firefox is not supported now(maybe in the future it will be supported again). It seems that you are not using the latest SDK.
2) You need to use newer Chrome browser(yes Chrome is running nativeclient module now as well). In Ubuntu, you may use the google repository for testing
deb http://dl.google.com/linux/deb/ stable non-free main
deb http://dl.google.com/linux/deb/ testing non-free main
and the package of the chrome in dev channel is named 'google-chrome-unstable'. For more information of google linux repository, refer to: www.google.com/linuxrepositories/
3) Native Client's SDK is separated into nativeclient-sdk. It's easy to use. Here is the guide: http://code.google.com/p/nativeclient-sdk/wiki/HowTo_GetStarted
Have Fun!