libraries

How to I find the filename of a library via the library name?

How to I find the filename of a library via the library name? In otherwords, when I use "-lc", I know it is /lib/libc.so.6 (or something similar.) I want to be able to type some command where "-lc" is the input and "/lib/libc.so.6" is the output. To extend this idea futher, I wanted to specify my own search path so I can use this librar...

How should I make a library (.dll) file for other devs to use in their projects using C#?

Sure, there's a type of project in Visual Studio that outputs a DLL that people can use. I know that. I'm just wondering what are some of the standards that devs will expect when using my DLL file. I'll be providing a class that searches for movies in IMDB and returns results for a dev to consume. Not a webservice, but a local DLL file...

What crossplatform libraries do you recommend for Haxe?

Hi, I have already investigated. I found nme,neash...Physaxe Do you know others? ...

Hello world without using libraries

Hi, This was an onsite interview question and I was baffled. I was asked to write a Hello world program for linux.. That too without using any libraries in the system. I think I have to use system calls or something.. The code should run using -nostdlib and -nostartfiles option.. It would be great if someone could help.. ...

Dynamic libraries with local and static variables

Can Dynamic libraries have global, local and static variables in linux? If yes, then where will each of these variables get stored in the memory? In my view, Globals and Static will be along with the code section of the Dynamic libraries while the locals should get declared in the stack of the executable making calls to the functions o...

Can (Should) I put 3rd party libraries in version control?

Hi all.. I've met quite a few people lately who says that 3rd party libraries doesn't belong in version control. These people haven't been able to explain to me why they shouldn't yet, so I hoped you guys could come to my rescue :) Personally, I think that when I check the trunk of a project out, it should just work - No need to go to ...

-isystem for MS Visual Studio C++ Compiler

I usually like to have a lot of warnings enabled when programming. However, some libraries contains code that easily causes warnings (.., python, Qt, ..). When compiling with gcc I can just use -isystem instead of -I to silence that. How can I do the same with the MS compiler? I know of the warning #pragma, but I would like a solution th...

MathML and Java

Hi all. I've been doing some research for a mathematical Android related project I'd like to embark upon and I stumbled across for the first time MathML. Does anyone know of any Java libraries which can do any (preferably all) of the following things? Parse MathML Output MathML by parsing standard mathematical notation Render MathML...

Java Math(s) Parsing API

Following on from my previous question, I was wondering if anyone knew of any free (as in beer, as in freedom would be nice but not essential) math(s) parsing libraries for Java. I found one called Jep which used to be open-source (ie: written by the community), but now costs $300 upwards (is this even legal?). Any help appreciated! ...

Modifying Qt core components/widgets, best practices?

Hello everyone, I'm trying to enhance Qt's QPrintPreviewWidget by allowing it to display page numbers (in the footer somewhere). Unfortunately, I can't quite figure out how to go about it without hacking up Qt's source. I see a great spot for this additional code (in qpaintengine_preview.cpp, in newPage() method) but that means I'm goin...

How to share variables among libraries in Delphi 2009?

Hi dudes, I'm trying to divide my monolithic, Delphi-Win32 app in libraries, so I get some questions around how to share global variables and object among my libraries using Delphi 2009. For example, I have 3 global objects (derived from TObject): for user info, for current session info, and for storing the active database connection and...

How to master Document Object Model (DOM) ?

Been using Javascript libraries like Prototype and jQuery for development, for a while now. While its a boon using those libraries, the one downside is that using such libraries probably doesn't help in understanding what happens under the hood. So how does one master DOM? Will understanding DOM be of more help when using Javascript...

What does 4j mean?

I notice a number of java libraries use this as a suffix: log4j, couchdb4j, neo4j, launch4j, etc.. ...

OpenCV C++ error in Xcode

I have built the OpenCV libraries using the cmake build system as described here and have added the header, '.a' and '.dylib' files to my terminal c++ project. However when I run the code below (got it from http://iphone-cocoa-objectivec.blogspot.com/2009/01/using-opencv-for-mac-os-in-xcode.html), it gives me the errors below. Has anyone...

Calling static pointer to a list from a shared library in c++

Hi, I have a static class member class bar {...} class foo { public: static QHash<qint64,bar>* barRepHash; } Now I call a function which accesses this member within a shared library, I get a memory error whereas when I access the function through the main program, it works fine. I've tested this under a number of circu...

Is there any platform-independent way to access the clipboard?

I have a small side project I want to write and have yet to decide on a language. Ultimately, I want a way to access and/or modify the clipboard in a platform-independent way. I'd like to learn a new language to do this, preferably something that: I'll learn a lot from. Will look good on my resume. ...and I'm leaning towards a fu...

Good PHP Email Library?

Hello There, I would like to know which is the good opensource php email library to incorporate in my next project? Thanks ...

NetBeans importing libraries on its own

I am having a problem with NetBeans projects. It affects everyone on my team, for every project. Whenever a project is opened, or even sometimes seemingly at random, NetBeans (6.1) will add two libraries to the compile-time list. Normally this would go unnoticed, but the inclusion of these libraries causes JBoss to unceremoniously grenad...

Best practices for creating libraries that use .NET namespaces

Is it bad practice to write a library that defines an interface dependent on another library? I know tight coupling is bad, but does this still apply when using .NET classes? For example, in .NET, if I have a library that returns a Color object, it would force a dependancy on System.Drawing on anything that uses my library. Would I be...

what language/libraries an app that has a video preview window?

I want to make a simple assistant for putting together AviSynth scripts. This would be a windows desktop application that would have a "preview" screen of an avi movie, which would give you a timeline, play, fast-forward, rewind, advance and go back frame-by-frame. The program would need to know the frame number of the current frame in t...