cross-platform

Embedding data inside a c++ application

Is there a platform-independent method to embed file data into a c++ program? For instance, I am making a game, and the levels are stored in text format. But I don't want to distribute those text files with the game itself. What are my options? ...

Is there a python library which provides system information crossplatform?

I need a python system information library which a) is written in python (no C extensions, may use ctypes) b) is crossplatform (min. Linux, Windows, MacOSX - everything else is bonus) c) provides at least amount of physically installed RAM, number of CPUs, size of maximum usable shared memory) Is there such a library, or do I have to...

POSIX threads experience? (Or recommend better one)

I am looking for lightweight multi-threading framework for C++. I found POSIX Threads. Please, share you practical experience with POSIX threads: before I start with it I want to know its pros and cons from real people, not from wiki. If you practically compared it with anything (maybe, better), it would be interesting to know either. ...

Fast Cross-Platform C/C++ Image Processing Libraries

What are some cross platform and high performance image libraries for image processing (resizing and finding the color/hue histograms). No gui needed. This is for C/C++. So far I have looked in to OpenCV GIL as part of Boost DevIL CImg My questions How's the performance of the ones I have listed above What are some other librari...

Fast Cross-Platform C/C++ Hashing Library

What's a high performance hashing library that's also cross platform for C/C++. For algorithms such as MD5, SHA1, CRC32 and Adler32. I initially had the impression that Boost had these, but apparently not (yet). The most promising one I have found so far is Crypto++, any other suggestions? http://www.cryptopp.com/ This seems to be qui...

Roll 64-bit and 32-bit versions of an app into the same binary?

Hi, We have an application we're trying to deploy on both 64 bit and 32 bit platforms. Is there a way to put both compiled versions of the code in the same binary, a la Apple and NeXT's fat binaries? Ideally we could ship one .exe that decides upon execution which version of the code to execute. We're targeting Windows XP and later. ...

What did Kylix do wrong?

With all the talk about the Delphi team working on cross-platform development, one sentiment that keeps coming up is, "I hope they do it right this time, not like Kylix." I didn't really notice Kylix when it was around, because Linux wasn't nearly as mature back then as it is now and it just wasn't an OS I had any interest in. So now t...

WxPython: Cross-Platform Way to Conform Ok/Cancel Button Order

I'm learning wxPython so most of the libraries and classes are new to me. I'm creating a Preferences dialog class but don't know the best way to make sure the OK/Cancel (or Save/Close) buttons are in the correct order for the platform. This program is intended to run both on GNOME and Windows, so I want to make sure that the buttons are...

Cross platform programming

I need to write a small program for the university. The problem is, it has to be in C/C++ under linux, and I've never used linux, I anticipate having a lot of problems with the IDE, compilation, and all that. Is it possible to code it under windows and then "copy/paste" the code and compile it under linux? What are limitations I should ...

Are there any platform agnostic SQL query builders with syntax, logic formatting etc.?

Are there any lightweight tools that allow easy-to-read crafting of SQL independently of the main apps/utilities associated with a particular database? I lately find myself working with MySQL, Access & now MS-SQL and use Notepad++ to build queries as it provides basic syntax highlighting that helps my unfamiliar eyes, but no logic forma...

Practical GUI toolkit?

I am thinking about cross-platform with nice programming language bindings (Java, Ruby and Python). What would be the "flattest" learning curve but yet enough powers to perform most of the standard GUI features? What would you guys/gals recommend; FOX, wx, Tk or Qt? ...

Is there a way to automatically make a library either static or dynamic?

I know this might be a long shot, but here it goes. I have several active projects and each has sub project library which gets compiled when the main project compiles. These libraries are dynamic ones, but recently there was an issue that might arise a need for those libraries (most of them are shared between projects) to be static inste...

Cross-platform way of getting temp directory in Python

Hi all, Is there a cross-platform way of getting the path to the temp directory in Python 2.6? For example, under Linux that would be /tmp, while under XP C:\Documents and settings\\[user]\Application settings\Temp. Thanks! ...

Porting to which gaming platforms?

I'm developing a pretty portable indie game engine and also a "demo" game to go with that. In the future I would however like to make a more comprehensive game to deploy on some different platforms. The details on the future game is less important, I'm more into the "how" than the "what" -- genre and content is irrelevant to me. So what...

LLVM what is it and how can i use it to cross platform compilations

I was reading here and there about llvm that can be used to ease the pain of cross platform compilations in c++ , i was trying to read the documents but i didn't understand how can i use it in real life development problems can someone please explain me in simple words how can i use it ? ...

non-scripting no-install cross-platform development: which way to go, keeping an eye about the future?

scripting/dynamic languages aside, what choices do i have (for a foss project) to find an environment that is: - quite efficient - allow me to develop applications that can be installed simply unzipping a directory (that is, if a vm is needed, it should be already installed in the vast majority of cases, especially for windows machines) ...

Building Linux packages for multiple distributions and versions

My company has a software product that's written in C for a Linux platform, built with autotools and distributed via binary packages. To make the binaries, we first produce a source RPM and then compile the source from the SRPM. Currently we only provide RPM packages for 64-bit Fedora 10, but we want to start providing packages for mul...

Is WCF platform independent?

Hello, I just need to know if WCF is platform independent like Webservices? Can the functions in WCF be accessed by Java and Php? Thanks ...

Does JBoss Messaging support non-Java clients?

For enterprise integration projects, a non-Java access to message brokers like JJBoss Messaging can be very helpful. For the Apache ActiveMQ and the GlassFish Open Message Queue products there are many different client implementations available, using native or standard protocols like Stomp. JBoss Messaging has a task "Implement STOMP p...

How to deal with the most common classes missing on J2ME

I'm trying to code an application which runs un different java platforms like J2SE, J2ME, Android, etc. I already know that I'll have to rewrite most of the UI for each platform, but want to reuse the core logic. Keeping this core portable involves three drawbacks that I know of: Keeping to the old Java 1.4 syntax, not using any of th...