library

Call C++ from an assembly bootloader

Hello, I have a small assembly bootloader that I got from this Tutorial. The code for the boot loader can be found here. I want to know if its possible to run c++ from this boot loader. I want to run a simple thing like this: #include <iostream> using namespace std; int main () { cout << "Hello World!\n"; return 0; } But as I can se...

Library files in C

Are library files .o or .exe files in C? ...

Gridview Tutorial problems

Hey guys thanks for reading! I'm trying to get into android development and I'm going through the tutorials, however I'm really stuck on the HelloGridView tutorial and I'm surrounded by apple developers, so have nobody with any android experience to ask! I've attempted to do the HelloGridView tutorial and I get 17 Errors but cant see w...

Symbol hiding in static libraries built with Xcode/gcc

I'm trying to figure out whether I can build a static library that hides all of its internal objects and functions, etc, except for the interfaces I want to export. I'm experimenting with Xcode (gcc 4.2). I've used the __attribute__((visibility("hidden"))) attribute on some C++ classes per this documentation. I've also defined little he...

Problems importing a .lib into another project.

I'm using Visual Studio 2008 under Windows 7. I have a .lib and accompanying .h files (which make use of wxWidgets if that makes a difference) which compile without any issues. I'm trying to import that library into a GUI project but when I do, the main class I'm interested in doesn't appear to be there? I've added #include "MyLib.h" ...

C# Parallel Task methods that return value using Func<>

I want to use TASK for running parallel activities.This task returns a value.How do i use a FUNC inside the task for returning a value?.I get an error at Func. Task<Row> source = new Task<Row>(Func<Row> Check = () => { var sFields = ( from c in XFactory.Slot("IdentifierA") where c["SlotID"] == "A100" select n...

DllNotFoundException libpjsipDll Mono

Hi everybody, I've a problem to execute a program with Mono in the terminal, (mono program.exe). An error appears : "System.DllNotFoundException : libpjsipDll.so " however my library exists and I've setted my 2 environment variables : LD_LIBRARY_PATH and MONO_PATH in the directory where the file is. I don't understand why this error o...

specifed architecture type (arm) for file does not match it's cputype (7) and cpusubtype (3)

Hi there, I tried to use openLdap for my iphone app I'm developing at the moment. To compile openLdap I'm using the fat_build.sh from link text. I'm also developing with the Simulator 3.1.3 and under OS X 10.6.0. But at the last step $DEVROOT/usr/bin/lipo -arch arm lnsout/$LIBLDAP_NAME_static.arm -arch i386 lnsout/$LIBLDAP_NAME_sta...

Clojure: No implementation of method in protocol

I am trying to load the Clojure library for RDF clj-plaza in Clojure REPL like so: user=> (use 'plaza.rdf.core) nil I have a folder named plaza, and a subfolder named rdf and the file core.clj available and as far as I can tell, Clojure REPL loads the library as it should. Now, if I do user=> (alter-root-rdf-ns “http://www.example.o...

Objective-C library for accessing SVN

Are there any Objective-C libraries available for accessing SVN repositories. It is a very difficult thing to Google for due to the high correlation on the words involved. I would like to use one in an OSX 10.6 application. ...

Python treemap infograph

What is the easiest way to draw such graph in python ? Is there any library that suports it and I need only to provide data ? link: http://upload.wikimedia.org/wikipedia/commons/9/95/Heatmap_incito.png ...

Xcode: setting to enable C++ even when no C++ sources are in the project?

I have an Objective-C/Cocoa project that incorporates a static library. That static library has some object files that have C++ in them. I've found that if the project that I'm using the library in contains no other C++ in it, the link fails (can't link new/delete/etc). But simply adding a single (empty) .cpp file to the project causes...

Why am I getting error LNK2001 when linking to zlib.lib?

I'm working on a project that already contains the gzip library as follows: zlib\zlib.h zlib\zlib.lib zlib\zconf.h I would like to use the gzip functions from this .lib but am getting the following errors: Compress.cpp Linking... Compress.obj : error LNK2001: unresolved external symbol _gzclose Compress.obj : error LNK2001: unr...

android Library media_jni not found

I'm trying to replicate this class called MediaMetadataRetriever in my own android project. You can see the class here: http://android.git.kernel.org/?p=platform/frameworks/base.git;a=blob;f=media/java/android/media/MediaMetadataRetriever.java;h=681751b4d15115ffceb2c1d812b5d0f68b11a5ab;hb=HEAD In line # 37 you can see: System.loadLibra...

is there an api for something like this?

i have seen this and i wanted to know if there is any open source web based thing, which has similar functionality. cool would be a JS api/library :-) thanks in advice UPDATE sorry for that, didn't know that German sites are so awful to you :-D it's about a tool where you can place peaces of furniture into a taken photo, as if it wou...

Tips on creating a reusable library

I recently started transforming all tables from our Oracle production into models so I can start using an ORM. I chose Castle Active Record and can really start to see its potential in making my life easier. Since many of the applications I work with utilize the same tables. I figure it would be nice to create a separate library. My thi...

QR code reader for BlackBerry

Is there a BlackBerry library/component (open source or commercial) for integration in my own application that acts as QR code reader? I'd like to fully integrate it in my application. Or alternatively: is there a way to use the open source ZXing library in combination with the camera, ideally with live detection of the code? ...

Where is a reference to regex header on MSDN?

I can include this file directly now without tr1 in VS 2010 but can't find description of this file anywhere on MSDN. Where is a reference to regex header on MSDN? ...

How to write a JIT library?

I've browsed through many JIT libraries. But I'd like to learn how to write one. Softwire looked like nice. Though what the emitter interface should do? Can I do something better than existing libraries? How do I support inline caching? ...

Any Multi-Format Document Reading Lib for Python /or C?

Is there any good Document Parsing Lib , in C or Python? I am trying to Parse Strings from Documents - PDF, Word Doc/Docx , Excel xls/x , PPT, ODF, and also Mac Formats. Please Recommand Solutions that would also work in Linux/Unix enviorment. ...