Questions tagged [libs]

It's a special folder in Java projects. It's used to store compiled libraries (jar files)

It's a special folder in Java projects.
It's used to store compiled libraries (jar files).
These libraries contain common blocks of code that may be reused inside an app.

189 questions
2
votes
2 answers

C - Using shared library

I have made makefile which is creating shared library of two C code files (I used gcc). Makefile is also creating runnable main C file. Now I need to know how to tell main C file to use my shared library - because I need to use functions which are…
ondrousn
  • 57
  • 5
2
votes
1 answer

ActiveAndroid lib and foreign keys

I'm using active android to work with SQLite on Android. For example, I have the following Pets table with this structure: @Table(name = "Pets") public class Pet extends Model { @Column(name = "Name") public String name; @Column(name =…
StupidFox
  • 376
  • 3
  • 19
2
votes
3 answers

Android Studio - Build Failed after import project with facebook sdk and jsoup 1.7.2 sources.jar

I just moved from Eclipse to Android Studio. In Eclipse I had a project running with facebook and jsoup libraries properly configured and working. But when I imported the project into Android Studio I got build failed. I searched a lot here but I…
Totalys
  • 445
  • 2
  • 10
  • 25
2
votes
2 answers

Is CQL JDBC 1.2.5 compatible with cassandra-thrift-2.0.1 and cassandra-clientutil-2.0.1?

Just getting into Cassandra. Set up version 2.0.1 and server is running fine and cqlsh connects and properly executes various commands so I know the infrastructure is OK. I have a small Java test program. I am using a recent Java 7 JDK on OS X…
Buzz Moschetti
  • 7,057
  • 3
  • 23
  • 33
2
votes
0 answers

How do I resolve "undefined reference to 'std::basic_ostream"?

Well I'm trying to install SFML for C++ and it's giving me horrific log crashes... I linked and put all the paths for the compiler and the linker and Buid Log is giving me that: GLCheck.cpp||undefined reference to `std::basic_ostream
Seazoux
  • 621
  • 1
  • 5
  • 28
2
votes
1 answer

How to configure Boost in QtCreator project?

I've tried something like this in my *.pro file: INCLUDEPATH += "C:\Stuff\boost_1_53_0" LIBS += -L/C:\Stuff\boost_1_53_0\lib\32-bit -lqtmaind LIBS += -L/C:\Stuff\boost_1_53_0\lib\32-bit -lQt5PrintSupportd LIBS += -L/C:\Stuff\boost_1_53_0\lib\32-bit…
NPS
  • 6,003
  • 11
  • 53
  • 90
2
votes
3 answers

Adding a JAR into the Android project's /libs folder

There are tons of questions about this, but none gives a clear solution to this problem (is it really so difficult?) I'm trying to add a jar to my Android project. Since r17, Google says we should add the jars to /libs folder, and that the andriod…
Twinone
  • 2,949
  • 4
  • 28
  • 39
2
votes
1 answer

CANNOT LINK EXECUTABLE error with required libs loaded. How to link them properly?

edit: I'm aware of the possible duplicate, but the answer it's not directly applicable. I'm using ProcessBuilder and not Runtime.getRuntime().exec: public int execProcess(List cmds, ShellUtils.ShellCallback sc) { StringBuilder cmdlog…
dentex
  • 3,223
  • 4
  • 28
  • 47
2
votes
2 answers

Android, Eclipse, Put .jar in "lib"&"add to build path" vs Put .jar in "libs"

I was trying to add the loopj .jar library into my project, in Eclipse v3.7.2 First I added the .jar into the "lib" directory, right clicked on it and picked "add to build path". It compiles fine but when executing I get an error "Could not find…
jptsetung
  • 9,064
  • 3
  • 43
  • 55
2
votes
1 answer

Failure migrating Android project from IDEA 11 to DEA 12 with libs

I have an Android project which I have been working on using IDEA 11 without any problem. Switching to IDEA 12 I have a weired problem when importing classes from jars in my lib folder. Package names are resolved, but classes names aren't. Here is a…
2
votes
1 answer

Visual Studio 2010 C++ - How to wrap .lib files for reuse

I am using C++ with Visual Studio 2010. I am trying to build a client-server architecture where both client and server rely on the same 'Engine' Following is a diagram which explains this: image…
oom
  • 23
  • 2
1
vote
0 answers

Android Studio - Lib Folder not showing up (libs/ lib)?

enter image description here This is everything I am getting upon creating a flutter project. Please HELP! I tried switching to "Project", look at the image and it shows all of the below. Nothing has changed. (I also don't have a "Android" option,…
StableTor
  • 11
  • 1
1
vote
0 answers

golang with imported c lib problems

I use a USB Device wit a single Button and LED inside. I tested software to change color of the device, API for the hardware is only implemented in c: https://github.com/katie-snow/Ultimarc-linux To run it at golang, the c-code was embedded in…
1
vote
1 answer

how to use environment variables in nx monorepo libs, exporting to multiple Nextjs apps

I'd like to load some environment variables into functions within my libs, and then be able to re-export this to several different Nextjs applications. i.e. Within libs/api export const getDatabaseConnection = () => { const host =…
reeslabree
  • 127
  • 13
1
vote
1 answer

Importing python script from some directory with dependent scripts

I have the following problem and would like to ask you what is the best way to solve it. I the following structure of files: Main Folder 1.1 Subfolder1 1.1.1 SubSubfolder1 I have main python script in main folder, and other sripts in subfolders,…
NairB
  • 9
  • 3