library

What would be a good open source lightweight c library with basic utility functionality to use in an embedded system

I'm thinking of something like glib, but possibly a slim version with a minimal foot print. It would need basic utilities such as linked lists, vectors and hash tables. It should also have a minimal runtime footprint. ...

Xcode PCH issue - Items in PCH Not Included in Source Files

I just created a "C++ Standard Dynamic" library project using Xcode and compiled using LLVM 2.0. I notice that the PCH file contains the line #include <iostream> but the file Test.cp also includes that #include <iostream> statement. The strange thing is that by removing the statement in Test.cp, the build fails with the error Semantic ...

two shared libraries ( have some same source code ) can not be loaded at the same tine?

Development Tool : Sun Studio 11 Flags : CXXFLAGS=-O2 -g I have two shared libraries, libA.so libB.so : /A/root.cpp /A/a.cpp are used to generate libA.so /B/root.cpp /B/b.cpp are used to generate libB.so /A/root.cpp and /B/root.cpp is identifical libA.so and libB.so will be dynamically loaded during main program running when load...

Mac: How to export symbols from an executable?

Hello. I am writing an executable which uses dlopen() (LoadLibrary() on Windows) to dynamically load a shared library. The shared library uses symbols from the executable. In Windows this is possible. Executables can export symbols: declspec(dllexport) and .def files both work. The linker, when creating the .exe, also creates the .lib ...

Saving H.264 RTP stream without re-encoding ?

My C++ application receives a H.264 RTP video stream. Right now it decodes the stream, saves it into a YUV file and later I use ffmpeg to re-ecode the file into something suitable to watch on a Windows PC (eg. Mpeg4 AVI). Shouldn't it be possible to save the H.264 stream into a AVI (or similar) container without having to decode and re...

c#: instantiating an excel function

Everywhere I look for how to use excel function inside of a C# application tells me to do the following: From the COM TabAdd the following using statement:using IExcel = Microsoft.Office.Interop.Excel Then declare and initialise a IWorkSheetFunction objectIExcel.IWorksheetFunction iwf = new IExcel.IWorksheetFunction(); Now you can use ...

Failed to find library 'powerlib' matlab. Simulink program executing

When I tried to run a Simulink program under my R2009a Matlab, it showed an error message as follows: Failed to find library 'powerlib' referenced by 'dcmotor_openloop/Armature Current '. This library must be on your MATLAB path. I'm wondering where I can find this powerlib. ...

Class library or not?

I have two projects; A and B, where B needs to use some classes that are in project A. Hence, I added B to A's solution, and in B I added a reference to project A. Is that sensible? Or should I rather put those classes in a class library? I see that if I further want to open form/program B from a menu option in project A, then A ne...

The application has failed to start because its side-by-side configuration is incorrect

Unhandled Exception: System.IO.FileLoadException: Could not load file or assembl y 'TheLibrary, Version=1.2.3905.36284, Culture=neutral, PublicKeyToken=14 04827c3a8f2601' or one of its dependencies. The application has failed to start because its side-by-side configuration is incorrect. Please see the application event log for more detai...

iOS Design: Using the delegate pattern in a library

I have a library project that uses ASIHTTPRequest to make URL requests and parse the responses. The library will be used by a separate iPhone app project. If my iPhone controller code responds to a touch event, then calls into the library to make URL requests, how do I best perform the requests asynchronously? In the library, if I use ...

Is there an open source diff library for .NET (for text)?

Possible Duplicates: C# compare algorithms Any decent text diff/merge engine for .NET ? The question title pretty much says it all. I'm looking for a way to programmatically diff two text files. ...

Header-only libraries and multiple definition errors

I want to write a library that to use, you only need to include one header file. However, if you have multiple source files and include the header in both, you'll get multiple definition errors, because the library is both declared and defined in the header. I have seen header-only libraries, in Boost I think. How did they do that? ...

Searching portable C/++ COM-port library, freely licensed

As title says, I've been trying to find a portable library with C/++ bindings for doing basic COM-port communication for an application I'm servicing. Windows/Linux support is a minimum. As I'm not the original author of the software, and I'm not allowed to alter the details of the contract, the library has to be licensed so that I will...

How to see library name loaded with R6034 error?

I am getting R6034 error, but can't see the related library/executable since it's name is shortened (see the picture below). Is there any way I can see the full name? ...

Oscilloscope api for compact framework

Few days ago I where searching for human interface for mobile devices. but all bluetooth devices are pretty messy and hard to implement. Question are: "Is there open source, or free library for making Oscilloscope on WinMobile platform. As my interface is not going to be human, I will try to make some kind of buzzer which is going to ...

C# Class library within Class Library

I have a C# solution in VS2010 that contains three projects. This solution has a client project (A) and a server project (B) which both build into applications. The third project (C) is where my classes that are common to both projects go (like a utility library) and this is built into a class library, which I reference in both the clien...

Are there any C# facial recognition libraries that work?

Are there any C# facial recognition libraries that work? I would like to locate people in my data base by having them stare in a camera :-). This is not used for security or authentication just to help with a quick lookup so if it is good enough to narrow down a list of people that would be a win. ...

What is the need of randomizing memory addresses for loading libraries?

ldd displays the memory addresses where the shared libraries are linked at runtime $ cat one.c #include<stdio.h> int main() { printf ("%d", 45); } $ gcc one.c -o one -O3 $ ldd one linux-gate.so.1 => (0x00331000) libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0x00bc2000) /lib/ld-linux.so.2 (0x006dc000) $ From this answer...

C++ database communication library

Hello, I'm looking for a well designed, efficient and robust C++ cross-database and cross-platform database communication library. I need support for Oracle MySQL PostgreSQL Firebird (optional) MSSQL (optional) When I say cross-platform I really mean cross-platform, I need something similar to boost. Currently I'm researching soci,...

Problem with iplots library which prevents JGR to start on macos

I want to install (and run) JGR on my macos to develop R scripts. To do so, I have installed R-2.12.0. (dmg), neccessary libraries for JGR and JGR (ui for R) following these instructions: install.packages(c("rJava","JavaGD","iplots")) install.packages("JGR") Unfortunately I can not load JGR library, because I got an error within iplo...