Libraries

Failing to create library file from object at last step

Hello. I've been given a private source of a final OS4 version of software which includes the main program and support libraries. Although it once compiled on OS4 the final version I received needed many changes to makefiles and missing or incomplete headers files just to compile. After some weeks work I finally got to the point where I could compile the main code but am now stuck in a support library.

Forums: 

Datatypes picture class with alpha

Hi all,

I am trying to load an image 128x128 with an alpha channel ilbm format made with sketchblock into a piece of code using datatypes library. I have never done anything before with datatypes, and thus I am at lack of knowledge of how to make it look and work properly. The problem is, if I load an image without alpha channel, it is displayed correctly, but the alpha image I want is displayed with solid alpha and just as a black box. The image is a black to white gradient with alpha corresponding, so that could be the issue here.

Forums: 

SDL_mixer and required static libraries

Hello,

The static SDL_mixer library seems to have built with a bunch of other static libraries. It looks like that in order to use the SDL_mixer functions I need to link SDL_mixer library and all those other libraries to my program.

The question is what are those other libraries?

I'm using CodeBench and I've added the following linker objects to my project:


Some libraries are still missing from the list because I get a lot of linker errors.

Forums: 

Automatic opening and closing of Libraries?

Hi everybody,

currently I do all my AOS-coding in a (hopefully) AOS3.x compatible way. Thus I use OpenLibrary() and CloseLibrary() in order to make use of Lib-Functions for example from asl.library, graphics.library, intuition.library, gadtools.library, diskfont.library, layers.library and so on. I'm also always set __USE_INLINE__ as a Compiler flag (-D for GCC). I don't use IFaces or sth. else special in AOS4 at all.

Forums: 

C++ shared libs?

Hey,

As you may know I'm working on wxWidgets for Amiga. It's a C++ lib and can get pretty big, so making it shared is clearly desirable. OS 4 shared objects should be straightforward enough, but I'm wondering about normal resident libraries:

Has anyone done a resident C++ library before?

I'd be interested in experiences and sample code if possible. Both for ppc and m68k.

Are people using C++ on Amiga to any extent btw? Or is it still mainly C and other languages?

//A.

Forums: 

Pages

Subscribe to RSS - Libraries