Questions tagged [import-libraries]

47 questions
18
votes
6 answers

How to import a maven module to an Android Studio project

I would like to include retrofit as a module in my Android Studio project. The problem is that retrofit is a maven project and so Android Studio won't let me import it. Is there a way around this? A similar question has been asked before, but it…
W.K.S
  • 9,787
  • 15
  • 75
  • 122
11
votes
1 answer

b2 vs bjam for building Boost library

I built Boost for VS2013, 64-bit architecture using both b2.exe and bjam.exe. According to Boost documentation, b2 must be used over bjam. The differences I notice are: The size of .lib files from b2 differs from that of the respective bjam…
Aniruth
  • 155
  • 1
  • 2
  • 11
10
votes
5 answers

React import multiple components from a folder

I am trying to import 2 components from the components folder. Both components' class are export default . However, I got an error message that I should use the curly braces in my import statement. However, both components above are not using named…
Chong Onn Keat
  • 520
  • 2
  • 8
  • 19
9
votes
4 answers

Support libraries to add for Autosizing TextViews

I am confused about adding the correct support libraries in Android Studio to be able to use AutoSizing TextViews. https://developer.android.com/guide/topics/ui/look-and-feel/autosizing-textview.html The description of what support libraries to use…
7
votes
0 answers

Why are some dll static-linking stub libs (import libraries) so big?

I noticed while linking to the pcl (point cloud library) that some of the dll stub libs have more than 10MB where the dll themselves have less than half of that size (these are release builds!). Shouldn't the stub lib only contain minimal…
Oliver Zendel
  • 2,695
  • 34
  • 29
7
votes
1 answer

How to see what g++ command-lines Boost.Build invokes (1.33.1)

I'm scratching my head, trying to figure out why the import libraries are not generated when I build the Boost libraries on my machine. More specifically, building the DLLs works fine, but where I would previously (i.e. before I reinstalled my…
Carl Seleborg
  • 13,125
  • 11
  • 58
  • 70
6
votes
2 answers

How do I disable the generation of an import library?

I'm creating a COM DLL in Visual Studio. The linker generates an import library for the DLL. I don't need the import library. Is there any way to tell the linker not to generate it?
Roger Lipscombe
  • 89,048
  • 55
  • 235
  • 380
5
votes
5 answers

Suppress import library creation - Visual C++ linker

Is there, a perhaps undocumented way to prevent linker from creating IMPLIB for a DLL or an EXE, despite having __declspec(dllexport) directives within the source code? Specifying no /IMPLIB results in .LIB created with a default name. This is…
Pavel Radzivilovsky
  • 18,794
  • 5
  • 57
  • 67
5
votes
2 answers

Replacing imp with importlib maintaining old behavior?

I inherited some code that I need to rework since it is using deprecated imp module instead of importlib To test the functionality I have created a simple test script: # test.py def main(): print("main()") if __name__ == "__main__": …
Jonathan
  • 748
  • 3
  • 20
5
votes
5 answers

Android Showcase View how to use?

Well For Showcase View I using this: https://github.com/amlcurran/ShowcaseView After importing files it gives error. this is my errors and improted .jar files Errors says in java R cannot be resolved to a variable in style error: Error…
mehmet
  • 1,558
  • 5
  • 30
  • 41
4
votes
2 answers

create MSVC import library with MinGW tools

We are currently switching the W32 build-process of a cross-platform (linux, osx, w32) project from VisualStudio to mingw. One of the problems we are facing is, that our projects creates a dynamic library (foo.dll), against which 3rd party projects…
umläute
  • 28,885
  • 9
  • 68
  • 122
4
votes
2 answers

Cannot import urllib.request and urllib.parse

I will be grateful for any help. I use Python 3.4.1 and I try to import urllib.request and urllib.parse. Without success. I always receive: Traceback (most recent call last): File "", line 2218, in…
Legionista
  • 45
  • 1
  • 8
3
votes
1 answer

CMake: Generate import library from definition file

I am using CMake to build a project for MSVC. All I have is a .def file with exported functions from a dll library. My project doesn't have access to a dll or a source code. And I need an import library to eliminate unresolved externals. The SDK I'm…
3
votes
3 answers

How to add custom library to Android Studio 2.2.3

I just started using Android Studio and I would like to add an open source library to my project. I looked a lot over the internet, but I couldn't find a way to make my project compile and to make the library's classes visible. This is the library I…
Beriol
  • 646
  • 1
  • 10
  • 25
3
votes
4 answers

Android import library

In my project, I need to use external library. That library consists of .class files. I have added folder with this library to my project using properties -> Java Build Path -> Libraries -> Add class folder. I can compile project without any…
Buksy
  • 11,571
  • 9
  • 62
  • 69
1
2 3 4