library

XCode : linking different libraries depending on architecture (cpu type)

I'm developing an iPhone app which needed voip support so i added the ARM version of pjsip libraries. But if I'm using the iPhone simulator i want to link the i386 version of the libraries. How can i do that? ...

I need a 2D bone engine for JavaScript

Hello. I'm looking for a way to define a Bone animation system, I need a basic one, since my objective is to apply it for inverse kinematics, much like Flash supports. The desirable feature is that: I can set bones (as position in 2D, defined by 2 dots) each having an ID. So I can make an animation based on frames, ie: ['l_leg', [10...

Should I use .NET 4.0 Tasks in a library?

I'm writing a .NET 4.0 library that should be efficient and simple to use. The library is used by referencing it and using its different classes. Should I use .NET 4.0 Tasks tot make things more efficient internally? I fear that it might make the usage of the library more complex and limited since the users might want to decide for the...

How do I go about including the Tortuga 22 NinePatch library to my XCode project?

Hello CocoaTouch experts! First of all, there is finally NinePatch support for the iPhone, BIG thanks to the Tortuga 22 team for that. Unfortunately for me I have not been able to add their library to my project. What is NinePatch? The Tortuga 22 blog post. The source code at git hub. If I just drag and drop the source-files into my...

Building a titanium module with xcode that uses other libraries

I have a Titanium module and i want to use it for voice over ip using pjsip. I have changed the project settings the following way: added to the other linker flags the libraries from pjsip added to the header search paths the headers from pjsip added to the library search paths the libraries from pjsip If i do these things for a norm...

Class Library public functions are not accessible in another class library as console application

Hello, I have one class library that have all functions declared as public under public class. Still When I am going to call one of those it gives linker errors. Do I need to export these methods explicitly from class library as we export from native dll. When I export with __declspec(dllexport) it says that function cannot be exported ...

Dyld: Library not Loaded Error Mac OS

Hoookay, So I know I'm about to get a dozen "load the lib dummy" answers to this, but here goes... junk.framework is exporting some objects of another project (junk.app) so I can use it on a remote.app node on a cluster. I can compile junk.framework (which I realize means nothing anymore with dynamic loading) and compile and link remo...

/usr/bin/ld: cannot find -lemu

I am attempting to install an application. During compilation it fails with the following error: /usr/bin/ld: cannot find -lemu I have installed the libemu library, and it now currently resides in /opt/libemu/. However, when I try and compile my application the library is not found. Is there any way to correct this? EDIT: It also l...

Alternatives to the --sysroot switch of gcc?

The --sysroot switch is useful when you don't want the headers/libraries in the standard paths affect your build. --sysroot=dir: Use dir as the logical root directory for headers and libraries. For example, if the compiler would normally search for headers in /usr/include and libraries in /usr/lib, it will instead search di...

Shared Documents on sub-site

I would like to show the Shared Documents on a sub-site of a main site. I have a main site with multiple sub-sites, and I would like to show the Shared Documents library of the Main site on every sub-site below it on their 'home' pages. I have tried adding Shared Documents as a web part, but of course that only shows the Shared Documen...

Boost singleton trouble

Hi guys, I have some class which uses boost singleton. It calls some function from own c++ library. This library is written in make file as dependence. Now I have another singleton class and it should call first singleton class. After this code I got linkers error about undefined references for functions which are used in first singleton...

How to build mach-0 for different architectures?

I have some dylibs to load from python with ctypes. I can load libbass.dylib without problem, but I can't load the self-compiled libmp3lame.dylib. Here is the error I get. OSError: dlopen(libmp3lame.dylib, 6): no suitable image found. Did find: libmp3lame.dylib: mach-o, but wrong architecture Then, I inspect the file typ...

C++ Image Processing Libraries

Hi, I am looking for a C++ library for image processing. I need the library to threshold a PPM photo (color photo). Should I write my own code? what do you guys think? Thanks in advance. ...

Render Flash (SWF) frame as image (PDF,PNG,JPG)

Hi! I would like to write a python script that takes a bunch of swf files and renders them to individual image files. Each swf file has just one frame (text, pictures etc.) and no animations at all. I have already tried the render command from the swftools toolset (The windows version), but the resolution of the resulting image is too ...

Linux shared library that uses a shared library undefined symbol

two shared libraries liba.so and libb.so. liba.so uses libb.so. All c files are compiled with -fPIC. Linking uses -shared. When we call dlopen on liba.so it cannot find symbols in libb.so...we get the "undefined symbol" error. We can dlopen libb.so with no errors. We know that liba is finding libb because we don't get a file not fo...

Is there any crossplatform C/C++ lib for files searching? (on hard drive)

Is there any crossplatform C\C++ lib for files searching? (on hard drive) What I need is simple - be able to find all images on users computer in all folders and subfolders with sise >= 200kb. How to do such thing? Can any one help me? Please. ...

Including external C++ libraries in version control

Possible Duplicate: Storing third-party libraries in source control I'm currently starting a project which is going to be developed on a few different computer and I'm keeping in sync with bzr. In the project I'm using a couple of 3rd party libraries, like SDL. In the past I've just pushed a copy of the compiled library to my ...

how to associate a custom Page with new doccument in doccument library,also the fields in rhe page will come to the columns.

Hey, I am onto a task in which i have to create a link in a doccument library either upload or new link,clicking on which a form/page "not infopath" will get open and allow to upload the doccument and along with that we have some text boxes on the same page which will be asking for the properties of the doccument(like "Customer of the do...

Analyzing bounced emails - Any free libraries for dotnet available?

Does anyone know of a free/open library to analyze bounced emails? ...

JavaScript helper libraries? No DOM or AJAX stuff

As I'm writing JavaScript I'm always missing some fairly basic language features that JavaScript just don't have. So is there any library that would bring such features as trim, sprintf, str.endwith and etc. functions to JavaScript ? I just have written those functions too many times and I'm also tired of copy/pasting them from my old...