libraries

Compiling .java files from the command line - external libraries, classpath

女生的网名这么多〃 提交于 2019-12-04 04:21:36
问题 I made a project in Eclipse and am now trying to ensure that the .java files compile from the command line. I've been trying to compile using javac *.java in the folder with all my .java files. However, this results in errors due to a reference to a class from an external library, Joda-time. I have the following .classpath file that Eclipse made for the project but don't know what to do with it. <?xml version="1.0" encoding="UTF-8"?> <classpath> <classpathentry kind="src" path="src"/>

The right way to deal with external libraries in java (using eclipse)

寵の児 提交于 2019-12-04 04:12:55
This is in a way a follow-up of a previously unanswered question of mine ( link ) which excalated over the past weeks, and now it has come to a point where I cant really develop anymore... So here's the deal; I have more of a mathematics/engineering background than pure CS, so I dont have a lot of experience with proper/large-scale software development, but rather scripting and algorithms. Now that I am working on a large project, on my own, I am confused with some of the aspects of development. One of them being handling libraries/dependencies I have initially created a folder called lib

Visual Studio 2010: dll missing

[亡魂溺海] 提交于 2019-12-04 03:43:47
问题 I googled for a whole day and I'm goin' mad.. Well, that's my problem: I've written my vs project, I've specified all the "include" (by selecting project properties -> configuration properties -> VC++ directories) and all the extern libraries directories (in the same way). Then I specified all the additional libraries by selecting project properties -> Linker -> input -> Additional Dependencies and adding all the .lib files paths. I press F7, it compiles with no errors. I run the project and.

“No rule to make target” error in cmake when linking to shared library

倖福魔咒の 提交于 2019-12-04 03:17:28
问题 In Ubuntu, I have downloaded a third-party shared library, mylibrary.so , which I have placed in the directory /home/karnivaurus/Libraries . I have also placed the associated header file, myheader.h , in the directory /home/karnivaurus/Headers . I now want to link to this library in my C++ code, using cmake. Here is my CMakeLists.txt file: cmake_minimum_required(VERSION 2.0.0) project(DemoProject) include_directories(/home/karnivaurus/Headers) add_executable(demo demo.cpp) target_link

App OpenStreetMap for Android & iOS [closed]

眉间皱痕 提交于 2019-12-04 03:11:42
I would like to do a mobile native app (Android & iOS) with OpenStreetMap. I need to work with maps offline for trekking. I read about OSMDroid, MapsForge for Android, but I need to do in iOS too. Could you recommend me some libraries, tips etc for these mobile OS? Thank you The OSM "stackexchange like" help might be a better place for this question. See for example: https://help.openstreetmap.org/questions/8066/ios-android-sdk Check also the OSM wiki: https://wiki.openstreetmap.org/wiki/Frameworks for possible alleys to explore. If you are ok with a commercial library check out skobbler's OSM

Referencing the google-play-services library

人走茶凉 提交于 2019-12-04 01:51:06
I'm working on a project using the Google Maps Android API v2, and I have a problem when I start referencing google-play-services_lib. A red exclamation mark appears on my project icon, and I have an error message in the "Problems" tab (I'm using Eclipse) : The container 'Android Dependencies' references non existing library 'C:\Users\Labo FMS\Documents\Applications\04-adt-bundle-windows-x86_64\sdk\extras\google\google_play_services\libproject\google-play-services_lib\bin\google-play-services_lib.jar' And, indeed, if I go to that folder, I see that there is no "google-play-services_lib.jar"

How do I hide Referenced Libraries in Eclipse's Java EE perspective?

不羁的心 提交于 2019-12-03 22:12:34
Eclipse's normal Java perspective seems to hide Referenced Libraries just fine (in a "Referenced Libraries" folder in your project). Unfortunately, the Java EE perspective does not seem to have this same feature and enabling it is non-intuitive. Can anyone shed some light on this issue? The "Referenced Libraries" view is available in the Java perspective, in the Package Explorer view. In the Java EE perspective, the Project Explorer view is the default (as opposed to the Package Explorer view). Therefore, if you wish to view the Referenced Libraries, you must open the Package Explorer view in

Good Library for Creating E-mail Templates with Merge Ability

喜欢而已 提交于 2019-12-03 22:04:42
I'm looking for a really good library/component/framework for creating e-mail templates for my web application. We send out a number of e-mails on a regular basis: Activate Your Account Welcome Thanks for Your Order Etc. I'd like to give the non-technical administrators of my web app a way to: See the current e-mail template (HTML, WYSIWYG) Make some minor modifications to copy, colors, etc. Preview, Test, Save, and "deploy" a new version of the e-mail template. The tool needs to support "merge" fields. For an example, see MailChimp.com . They allow users to create e-mail templates and then

Cmake: linking shared library

我的梦境 提交于 2019-12-03 13:41:07
问题 I've done this before a couple of times, but somehow I'm stuck this time. I have an executable "myapp" and a own shared library "mylib". In my cmakelists I have the following: ADD_LIBRARY(mylib SHARED ${SOURCES_LIB}) INSTALL(TARGETS mylib DESTINATION .) ADD_EXECUTABLE(myapp ${SOURCES_APP}) TARGET_LINK_LIBRARIES(myapp ${QT_LIBRARIES} mylib) INSTALL(TARGETS myapp DESTINATION .) Everything compiles and links correctly, but when I start myapp, I get the following error: error while loading shared

ASIHTTPRequest equivalent for Android or any HTTP request manager/wrapper?

拈花ヽ惹草 提交于 2019-12-03 13:17:32
问题 I'm developing an app that will make extensive HTTP requests. I know for a fact that iOS has a third-party library called ASIHTTPRequest to manage and organize all these requests, making it much easier and less tedious. Is there a similar library available for Android? 回答1: According to this talk, if you're targeting pre-Gingerbread versions (<2.3) you should stick to Apache Http Client library. If however you're targeting Gingerbread or later, you will be safer to use the java.net