BlueCove library bluecove not available - Error using Bluecove/Java - bluetooth

How do I install Bluecove in Ubuntu 11/Eclipse IDE?
As far as i was aware, all I had to do was add the bluecove.jar and bluecove-gpl.jar to the Build-Path of the project within Eclipse.
I'm using some sample Bluecove code found here: http://bluecove.sourceforge.net/bluecove/apidocs/overview-summary.html#DeviceDiscovery
When I compile it, I'm getting an error: Native Library bluecove_x64 not available
Exception in thread "main" javax.bluetooth.BluetoothStateException: BlueCove library bluecove not available
Obviously, my Bluetooth USB dongle is plugged in when I do this...
I definitely have BlueZ protocol stack installed.
What am I doing wrong? Is Bluecove supported by 64-bit Linux? I've also been trying to get it installed on a CentOS 5.5 machine as well, but with no luck.
Any help would be greatly appreciated. Thank-you

I found an solutution to the problem.
for ubuntu version
sudo apt-get install libbluetooth-dev
for fedora version
yum install bluez-libs-devel
should do the trick
Source: http://bluecove.org/bluecove-gpl/
Source: http://yasir03.online.fr/?p=267
The package has a differant name in CentOS 5.5... it is
bluez-libs-devel-3.7-1.1.x86_64 <---64-bit
bluez-libs-devel-3.7-1.1.i386 <---32-bit

Related

Install MonoDevelop IDE for Redhat Linux

I am trying to install and configure MonoDevelop on my Oracle VM Virtual Box. The Operating System that running on the VM is RedHat Linux.
With the help of the below link, I have installed the mono-2.10.8 and also I was able to compile and run the sample c# source code on Linux through the shell.
Here
Now, I am trying to install or configure the IDE, please advise me for the good IDEs.
Thanks for your help
Installed Monodeveloper from the below link. I chose the Operating System as CentOS
MonoDevelop
This will also install mono-opt from the home:tpokorra repo
mono-opt is the latest stable version (3.6) on mono available from Mono Project
I found this way much easier for installing mono on redhat / centos 6

adding Doxygen plugin to qtcreator in linux

I want to add Doxygen plugin to QtCreator.
I am using QtCreator 2.5.2 in ubuntu 12.10 and the latest Doxygen version for QT is 2.4.0.
I've changed the doxygen.pluginspec file to get rid of version error.
But now I've got another error:
can not load library libdoxygen.so (libQtconcurrent.so can not open shared object file:No such file or directory)
Any suggestion would be appreciated.
I hope you are no longer stuck, but if not, I will still try to help.
Yes, the quick install binaries are available only for QtCreator 2.4, but the plugin stays easy to install without it : you have to download the sources and build them yourself, as written in the wiki.
Moreover, you have to build it with the same version of Qt4 as the one that was used for build your QtCreator (have a look here)
It became compatible with QtCreator 2.7 and Qt5 at the end of March, and I succeeded in installing in in QtCreator2.8-beta.
If you have any other question, I guess it would be better to ask them in the plugin forum where developpers always answer to people in need.
Hope this helps (you and other people in need).
You can install Doxywizard wich provides an user interface to use Doxygen.
I'm not shure I'm using fedora to install I used.
yum install doxygen-doxywizard.x86_64.
For Ubuntu it should be if the package name is the same.
apt-get install doxygen-doxywizard.x86_64
(as root)

installing headers for 3.5 kernel in debian wheezy?

Yesterday, I compiled the 3.5 kernel in debian wheezy (testing), in a thinkpad edge S430 (i5). I did it following this blog, with all the default options. It seems succesful, but then, I tried to install the proprietary nvidia driver with m-a auto-install nvidia-kernel. The install is not able to proceed until the correct headers are installed. However, I have tried both manually to install linux-headers-3.5.0-18 and the linux-headers-amd64 package, but module assistant is not able to see them, showing the following message:
Bad luck, the kernel headers for the target kernel version could not be found and you did not specify other valid kernel headers to use.
There are other ways to install the driver, but I think that the problem with headers is broader.
Although I have been a Debian user for some years, I am far from being an expert, and I am not clear with the problems that I might face when compiling a 3.5 kernel on a Debian testing, so any help and explanation will be much appreciated.
First run
sudo m-a prepare
Getting source for kernel version: 3.8.5-ck1
Kernel headers available in /usr/src/linux-headers-3.8.5-ck1
Creating symlink..
Then do
sudo m-a a-i nvidia
and it should work.
Note that I did this on 3.8.5-ck1, but I built and installed that kernel in a similar fashion to how I wrote up the 3.5 build that you followed.

How to upgrade Qt installed in linux from one version to higher

While porting Qt project from windows to linux(ubuntu) i faced with the following issue:
on windows Qt version 4.8.1 is installed
on linux 4.6.3 in which some functionalities availiable in higer version 4.8.1 don`t yet implemented (ex. QUdpSocket::joinMultiCastGroup).
I see only one solution to this problem: upgrade Qt version on linux to 4.8.1.
How can I do this?
On linux I got installed libqt4-dev, qmake.
Solved: I changed repository from squeeze (stable) to wheezy(testing), in wheezy latest Qt version is 4.8.1, which is perfectly suits my needs.
Using package manager I found package libqt4-dev and selected it for update.
That is all, the whole process took 5 minutes.
Disadvantages:
- As I run Debian on Virtual Box after changing repository I had to reinstall guest additions
- wheezy is less stable than squeeze (I haven`t faced yet with stablilty problem)
I guess you can use Upgrade option in the Qt Creator.
Or you can download latest version from Download Qt, the cross-platform application framework
Or you could try to update using something like apt-get install(upgrade) libqt4-dev if you using Debian based system.
This depends on the distro you are using. If there are binary packages for your distro you can update through your package manager. Otherwise you have to download the source of your prefered Qt version and build it yourself.
I'm not sure if this will help in your situation, but you can download the Qt Online Installer at the following link:
https://www.qt.io/download-qt-installer

Hard time installing ia32-lib on mac osx

I'm trying to install the ia32-lib on my mac leopard osx 10.5.8 in order to be able to create some Android components like the SD card, the issue is that i get the following error:
E: Couldn't find package ia32-libs
so i thought it was an update issue and thus updated with:
sudo apt-get update
But still i get the same error,
another thing that i have noticed is that by running a cache scan like:
sudo apt-cache search ia32-libs
Nothing is returned, so the update actually did not fetch this library,
Have you ever experienced this? have some hints?
Unfortunately by looking around the web i have only found hints for Debian and Ubuntu.
Thank you,
OK:
1) You've got two threads open on the same question:
Hard time installing ia32-lib on mac osx
Android: Failed to create SD card
2) More to the point, I honestly think you're barking up the wrong tree.
I don't think you somehow need to get ia32-libs installed on Mac OSX. Heck, I don't even know if there is an ia32-libs for Mac OSX. Yes, It's necessary on some 64-bit Linux platforms. AFAIK, it is not necessary on 64-bit Mac OSX. Honest!
3) Please look at these links:
http://www.buzztouch.com/files/howtos/Setting_Up_Your_Android_Development_Environment_For_MacOSX_v1.0.pdf
android dev on 64-bit mac
http://relentlessinquiry.com/2011/03/02/how-i-built-my-mac-os-x-android-development-environment/
http://marakana.com/support/android_setup.html

Resources