Search found 47 matches

by Rozek
Tue Mar 30, 2010 6:16 am
Forum: Coding Questions
Topic: general rotation/scaling support for 2D drawings?
Replies: 4
Views: 3086

Re: general rotation/scaling support for 2D drawings?

Thanks for these examples!

To my current understanding, Cairo may also use OpenGL "under the hood" - am I right?

I've looked at Cairo and am quite impressed! I think, I'll go for that library - it's both powerful and easy to use
by Rozek
Mon Mar 29, 2010 5:28 am
Forum: Coding Questions
Topic: general rotation/scaling support for 2D drawings?
Replies: 4
Views: 3086

Re: general rotation/scaling support for 2D drawings?

That's an interesting idea (Cairo)

Thanks for the hint!
by Rozek
Sun Mar 28, 2010 9:20 am
Forum: Coding Questions
Topic: general rotation/scaling support for 2D drawings?
Replies: 4
Views: 3086

general rotation/scaling support for 2D drawings?

Hello!

This might be a dumb question (and should already have been answered somewhere else in this forum - but I could not find it):

To my understanding, the "2D Drawing" functions do not generically support translation/scaling/rotation of graphics contexts - am I right? There are some special ...
by Rozek
Wed Sep 30, 2009 8:42 pm
Forum: Mac OSX
Topic: [PB4.40_x86] really annoying editor behaviour
Replies: 5
Views: 2184

Re: [PB4.40_x86] really annoying editor behaviour

Hello again!

I might have found a workaround (which let's me use PB again, at least):

- configure two tools for the tools panel, at least (I chose "Procedure Browser" and "ASCII Table")
- after having used the "Procedure Browser" (e.g. by clicking on a procedure's name) immediately switch to the ...
by Rozek
Wed Sep 30, 2009 7:53 pm
Forum: Mac OSX
Topic: [PB4.40_x86] really annoying editor behaviour
Replies: 5
Views: 2184

Re: [PB4.40_x86] really annoying editor behaviour

Hello!

I just verified that I am using the latested version of PB (i.e. 4.40 beta 3).

Before installing it, I manually removed the old PureBasic folder to wipe out any previous installation.

The problem still appears...
by Rozek
Wed Sep 30, 2009 4:44 pm
Forum: Mac OSX
Topic: [PB4.40_x86] really annoying editor behaviour
Replies: 5
Views: 2184

[PB4.40_x86] really annoying editor behaviour

Hello!

From time to time I run into a really annyoing editor behaviour: whenever I press Return or try to position the mouse within the editor, it jumps to a fixed location within the code, e.g. the procedure I selected earlier in the "Procedures" list.

This behaviour is *really* annyoing! Does ...
by Rozek
Wed Sep 30, 2009 1:08 pm
Forum: Mac OSX
Topic: Is there a possibility to debug a shared object?
Replies: 1
Views: 1294

Re: Is there a possibility to debug a shared object?

By the way,

I solved my original problem:

if you want to use PB to build a "bundle" which is then used in other programs, please use ProcedureCDLL (mind the *C*!) rather than ProcedureDLL!

I now know again why I hate C and C++...
by Rozek
Wed Sep 30, 2009 12:33 pm
Forum: Mac OSX
Topic: Snow Leopard MUST READ!
Replies: 6
Views: 6214

Re: Snow Leopard MUST READ!

Hmmm,

is this a 32-bit vs. 64-bit issue? I did not yet have a chance to get my hands on a Mac with Snow-Leopard, but my MacBook Pro with Leopard claims to be a 32-bit machine ("uname -a" yields something with "i386" only)

This sounds strange as crash reports already mention 64-bit addresses - but ...
by Rozek
Wed Sep 30, 2009 11:56 am
Forum: Mac OSX
Topic: Is there a possibility to debug a shared object?
Replies: 1
Views: 1294

Is there a possibility to debug a shared object?

Hello!

I've just created a small .so file which I would like to use in another environment. Currently, that environment crashes after loading my library - presumably because it's always difficult to get all the pointer stuff right.

Is there a possibility to "debug" a .so library which was built ...
by Rozek
Wed Sep 30, 2009 11:53 am
Forum: Mac OSX
Topic: How does one build bundles for loadable modules
Replies: 2
Views: 1598

Re: How does one build bundles for loadable modules

Hmmm,

the library now seems to be loaded! Believe it or not, it seems that it is still not advisable to have spaces in a folder path! Even on a Macintosh (well, it's a UNIX underneath)

I found the problem because PB wasn't able to load the original .so after moving that into a folder with a space ...
by Rozek
Wed Sep 30, 2009 10:15 am
Forum: Mac OSX
Topic: How does one build bundles for loadable modules
Replies: 2
Views: 1598

Re: How does one build bundles for loadable modules

Just as a remark:
  • PB is able to load the original .so file
  • PB is also able to load the .so file after it has been "bundled" with the beforementioned Gnu libtool script (when one properly points into the bundle's subdirectory)
But I can't load the bundle as a whole...
by Rozek
Wed Sep 30, 2009 9:50 am
Forum: Mac OSX
Topic: How does one build bundles for loadable modules
Replies: 2
Views: 1598

How does one build bundles for loadable modules

Hello!

It's great to see that PB is now able to create shared object (.so) files under MacOS X - but how does one create complete "bundles" (for what is called "loadable modules") under MacOS X?

I've already tried a script that seems to come with the Gnu libtool: the result looked like a .bundle ...
by Rozek
Tue Apr 07, 2009 5:35 pm
Forum: Announcement
Topic: PureBasic 4.30 final released!
Replies: 67
Views: 37834

...but neither .dylibs nor .so's (I am not so sure about .so's, but generation of .dylibs is broken right now) Fred once wrote: "...dylib on OS X doesn't work for now. It's planned for 4.40." (see http://www.purebasic.fr/english/viewtopic.php?t=32890&highlight=)

And one of the outstanding features ...
by Rozek
Tue Apr 07, 2009 6:32 am
Forum: Announcement
Topic: PureBasic 4.30 final released!
Replies: 67
Views: 37834

Despite its flaws, PB is getting better with every release - especially when it comes to portability across platforms. In particular, 4.30 was a real milestone in that area!

Now, I'm looking forward to 4.40 with the ability to produce DLLs, .so's and DyLibs - that would be another milestone!
by Rozek
Sun Apr 05, 2009 7:09 pm
Forum: Mac OSX
Topic: [4.30 x86] any experiences with PB apps under MacOS X x86?
Replies: 4
Views: 2699

Thanks for the immediate response!

I will try the console debugger in the next few days.

Anyway, I did not expect any detailed help but rather general hints (as you actually offered) so I will now try to isolate the error locations - and probably post some more bug reports for MacOS X ;-)