paragui-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[paragui-users] RE: paragui-users Digest, Vol 5, Issue 17


From: Aaron O Schweiger
Subject: [paragui-users] RE: paragui-users Digest, Vol 5, Issue 17
Date: Mon, 21 Apr 2003 12:18:15 -0400

> How can I compile paragui. I'm looking for freelords and you have a
specific
> makefile (makefile.win) but can you explain me how to compile paragui
under
> linux but for the win platform using mingw...

I did this using the latest mingw32/msys from http://www.mingw.org.  To use
mingw32, it is necessary to install msys - which is like an unix/linux
emulator for windows.  This will allow you to run "./configure" Unix scripts
to build proper makefiles under Windows.  Each of the support libraries must
also be installed.

While I got the library to build, not all of the examples compiled correctly
(layouttest crashed)... so I would have to agree that if you have the
ability to do cross-platform compilation (compile a windows exe under Linux)
then that is the way to go.  However, if somebody was successful in
compiling in this fashion - or if my efforts are useful to the developers,
I'd like to know about it.

Aaron Schweiger

-----Original Message-----
From: address@hidden
[mailto:address@hidden Behalf Of
address@hidden
Sent: Monday, April 21, 2003 12:04 PM
To: address@hidden
Subject: paragui-users Digest, Vol 5, Issue 17


Send paragui-users mailing list submissions to
        address@hidden

To subscribe or unsubscribe via the World Wide Web, visit
        http://mail.nongnu.org/mailman/listinfo/paragui-users
or, via email, send a message with subject or body 'help' to
        address@hidden

You can reach the person managing the list at
        address@hidden

When replying, please edit your Subject line so it is more specific
than "Re: Contents of paragui-users digest..."


Today's Topics:

   1. Re: Another question (Fabien Marchewka)
   2. Re: Another question (Michael Bartl)
   3. Re: Member callbacks: MSG_CALLBACK_OBJ cast (Alexander Pipelka)


----------------------------------------------------------------------

Date: Mon, 21 Apr 2003 14:32:48 +0200
From: "Fabien Marchewka" <address@hidden>
To: <address@hidden>
Subject: Re: [paragui-users] Another question
Message-ID: <address@hidden>
References:

<address@hidden><address@hidden
>
        <address@hidden> <address@hidden>
Content-Type: text/plain;
        charset="iso-8859-1"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Precedence: list
Reply-To: address@hidden
Message: 1

ok, I think I will try tonight.
How can I compile paragui. I'm looking for freelords and you have a specfic
makefile (makefile.win) but can you explain me how to compile paragui under
linux but for the win plateform using mingw...

----- Original Message -----
From: "Michael Bartl" <address@hidden>
To: <address@hidden>
Sent: Monday, April 21, 2003 11:51 AM
Subject: Re: [paragui-users] Another question


> On Mon, Apr 21, 2003 at 11:15:48AM +0200, Fabien Marchewka wrote:
> > Hi,
> > can you explain me how to cross-compile with mingw32. I have to make an
apps
> > which work both on linux and windows with all dll. Perhaps a tutorial
> > somewhere ?
> > thanks for your help,
> > Fabien.
>
> Hi!
>
> I'd say it's rather easy! It depends on the Linux distribution you are
> using. I'm using debian and just downloaded all mingw32 cross compiler
> packages. Then I compiled all libraries that I needed (SDL, paragui,
> libsigc++) with the cross compiler i586-mingw32msvc-g++. This built the
> *.a files. Then I compiled my game (www.freelords.org) with the cross
> compiler and it was done.
>
> If you don't have the mingw32 cross compiler packages for your
> distribution you can get it from the web.
>
> I tried the same thing with the Win32 native mingw32 compiler and didn't
> even suceed easily in getting ParaGUI to compile. With tricks I had been
> able todo that, but libsigc++ was completely out of control...
>
> Have fun,
>     Michael
>
>
> _______________________________________________
> paragui-users mailing list
> address@hidden
> http://mail.nongnu.org/mailman/listinfo/paragui-users
>



------------------------------

Date: Mon, 21 Apr 2003 16:32:58 +0200
From: Michael Bartl <address@hidden>
To: address@hidden
Subject: Re: [paragui-users] Another question
Message-ID: <address@hidden>
In-Reply-To: <address@hidden>
References: <address@hidden>
        <address@hidden> <address@hidden>
Content-Type: text/plain; charset=us-ascii
MIME-Version: 1.0
Precedence: list
Reply-To: address@hidden
Message: 2

On Mon, Apr 21, 2003 at 02:32:48PM +0200, Fabien Marchewka wrote:
> ok, I think I will try tonight.
> How can I compile paragui. I'm looking for freelords and you have a
specfic
> makefile (makefile.win) but can you explain me how to compile paragui
under
> linux but for the win plateform using mingw...

That's what I tried to explain! You download the cross compiler! The
mingw32 linux cross compiler for windows RUNS on linux, but compiles
exectuables for WIN32!

see the FAQ on http://www.mingw.org

prebuilt binaries for linux are there...

cu,
    Michael


------------------------------

Date: Mon, 21 Apr 2003 17:20:56 +0200
From: Alexander Pipelka <address@hidden>
To: address@hidden
Subject: Re: [paragui-users] Member callbacks: MSG_CALLBACK_OBJ cast
Message-ID: <address@hidden>
In-Reply-To: <address@hidden>
References: <address@hidden>
Content-Type: text/plain;
  charset="iso-8859-1"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Precedence: list
Reply-To: address@hidden
Message: 3

=46rom your explanation i see that you're using VisualC++. Right ?
Please take a look at the provided VisualC++ workspace. There are some=20
compiler settings that *have* to be set.

It's something like 'pointer to every class'. Can't remember any more.

Alex

Am Montag, 21. April 2003 08:23 schrieb Vovan:
> Hello,
>
> I am using ParaGUI for a little application, and here is the problem I am
> having: I want to register a member method of an object for some of its
> widgets' callbacks. So, I do everything like the tutorial says, but the
> thing doesn't seem to be working. Basically, the program dies with the
> following warning:
> "The value of ESP was not properly saved across a function call.
> This is usually a result of calling a function declared with one
> calling convention with a function pointer declared with a different
> calling convention."
>
> Now, upon closer investigation, it turns out that the compiler notices th=
at
> too, and complains giving the following warning: "warning C4407: cast
> between different pointer to member representations, compiler may generate
> incorrect code"
>
> So, at first I was thinking that the problem was in that I didn't declare
> or define the PARAGUI_CALLBACK method properly. But it turned out that the
> same error crops up when I try to compile and run the tutorials. So, I am
> thinking that the problem has something to do with the project settings (I
> am using Visual Studio, btw), namely, the default calling convention. It =
is
> set to __cdecl, but I think that is what it is supposed to be, isn't it?
>
> Any way, help would be greatly appreciated.
>
> Thanks in advance,
> Vovan
>
>
> _______________________________________________
> paragui-users mailing list
> address@hidden
> http://mail.nongnu.org/mailman/listinfo/paragui-users



------------------------------

_______________________________________________
paragui-users mailing list
address@hidden
http://mail.nongnu.org/mailman/listinfo/paragui-users


End of paragui-users Digest, Vol 5, Issue 17
********************************************





reply via email to

[Prev in Thread] Current Thread [Next in Thread]