Osmdroid recent repository not able to download - osmdroid

I am not able to download the 5.6.5 osmdroid library. It take me to this page .Which version should I use?
Thanks.

Follow instructions on osmdroid page https://osmdroid.github.io/osmdroid :
Add this to your gradle file:
repositories {
mavenCentral()
}
dependencies {
compile 'org.osmdroid:osmdroid-android:5.6.4'
}
Or if you cannot use gradle you can download it here: https://github.com/osmdroid/osmdroid/releases

Related

Adding binaries to other peoples conan recipes

I'm using given conan packages
gtest/1.8.0#bincrafters/stable
boost/1.66.0#conan/stable
log4cplus/2.0.2#bincrafters/stable`
and clang (version at least 6.0).
While first two packages has binaries for clang 6.0, log4cplus doesn't (last is clang 3.9). I don't like the idea that on each workstation I would need to build this package by hand.
How can I upload localy build binary with clang 6.0?
conan upload looks promising, however it suggest that it will be NEW package. Second question - wouldn't I interfere with package author in any way?
I do recommend open an issue for Bincrafters, requesting clang 3.9 support: https://github.com/bincrafters/community/issues/
Include a new package configuration is just one line in the Travis recipe.
How can I upload localy build binary with clang 6.0?
You could use JFrog Artifactory, there is a Community Edition with Conan support. Also, you could create a "mirror" for your packages locally with Artifactory, instead to download from Bintray:
https://docs.conan.io/en/latest/uploading_packages/artifactory_ce.html
However, Conan respects your remote list by it order, if your Conan client finds log4cplus first in Bincrafters' remote but the correct binary is only available in your local repository, Conan will ignore your local remote and will show a message error about missed binary package for log4cplus. Thus, in your case, you will need to copy ALL binaries to your local repository.
Regards!
You will find the conan packages installed on your Linux system at .conan/data/package_name/version/repo_name/tag. There will be a package folder inside it. If you want to manually add binaries to existing packages then you can add the binary in /bin folder in packages.
Or else you can look into the conan recipe in exports folder and look for the package, that from where it is getting its binaries from and add that binary in that path.

build opencv with extra modules error ocv_download

I try to build openCV with Extramodules. If I try to configure the projectfiles (vc14 x32 on windows 10) with cmake there's the error:
CMake Error at opencv_contrib-master/modules/xfeatures2d/cmake/download_vgg.cmake:13 (ocv_download):
Unknown CMake command "ocv_download".
Did anyone ever have this problem and knows how to solve it?
The simple answer is you are using incompatible versions of opencv and opencv_contrib, you might be installing current version of opencv_contrib on maybe opencv2.4.xx
Well, the download link for opencv contrib in CMake script https://raw.githubusercontent.com/opencv/opencv_3rdparty/fccf7cd6a4b12079f73bbfb21745f9babcd4eb1d now is 400: Invalid request.
From the commit https://github.com/opencv/opencv_contrib/commit/593e78c5d084aa0a29eb1e0459fc7f7a4dd52ea8 you can try to ignore the added line in CMakeLists include(cmake/download_vgg.cmake) and rebuild.
The below is basing on my experience, I'm not sure it will works for OpenCV 3.0.
Maybe you can try to clone opencv contrib from git, then copy it to somewhere (for example modules directory in opencv source code). Then use CMAKE to set OPENCV_EXTRA_MODULES_PATH. If the hash is correct then it won't download and use the offline package.
I have try and build success OpenCV 2.x with IPP.
Hope it help.
Just follow instructions here.
Make sure you have active internet connection while building Opencv with contrib module.
When you hit config button on cmake(gui), it downloads other files like
vgg_generated_...
boostdesc_binboost_...
boostdesc_lbgm.i
P.S: i compiled Opencv 3.1 with contrib. Cmake downloaded required files & configure was Done.

Can't find pocketsphinx gstreamer plugin

I tried to install pocketsphinx by
brew instal cmu-pocketsphinx
and
make install (followed instructions here: http://cmusphinx.sourceforge.net/wiki/gstreamer)
the pocketsphinx_continuous works properly, but I can't find a executable pocketsphinx for
gst-inspect pocketsphinx
could anyone tell me where to find it, please?
Many many thanks
pocketsphinx install log: http://pastebin.com/48QU0qjg
You need to check if plugin pocketsphinx.so is installed in
/usr/local/lib/gstreamer-<version>
If plugin is there you need to export GST_PLUGIN_PATH environment variable to update gstreamer search path.
If plugin is not there you need to check build log for the information why plugin was not created or installed properly. Most likely you didn't have required development headers so plugin compilation was disabled.
I had the same problem under Raspbian Jessie. The problem was that when I compiled Pocketsphinx the libgstreamer-plugins-base1.0-dev was missing, so no plugin could be compiled. I solved by installing the missing package then recompiling Pocketsphinx. Check this for more info https://sourceforge.net/p/cmusphinx/discussion/speech-recognition/thread/040066c7/
Hope it helps

Build package in Yeoman

I'm new to Yeoman and am trying to build the final package once the project is done.
I couldn't find any article or tutorial related to this. Ideas on how to do that?
After doing some more researches I found out that we just need to use a simple command: grunt build and that's it. Package done.

How to obtain an MRUnit 1.0.0-SNAPSHOT jar built using the hadoop1 classifier?

The latest release of MRUnit is 0.9. This release does not support DistributedCache.
This https://issues.apache.org/jira/browse/MRUNIT-98 shows that 1.0.0 supports DistributedCache. I want to get ahold of an MRUnit 1.0.0 jar that is built for hadoop1, but I cannot find one. So I tried to build it myself, but the required jars are missing from the maven repo.
Here is the command I'm using:
mvn package -DenvClassifier=hadoop1 -DspecificHadoopVersion=1.0.3
It fails with dependency errors. I can get ahold of the required jars manually, but I don't know how to get the build to use them.
How can I get ahold of the jar I want (either build it myself, or download it)?
I figured this out after I posted the question.
The answer is simple. Checkout the hadoop1 branch, and build that:
$ git checkout -b local/trunk-hadoop1 remotes/origin/trunk-hadoop1
$ mvn package