Plug-in development?

View: New views
5 Messages — Rating Filter:   Alert me  

Plug-in development?

by Howard Larson :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I wish to develop a plug-in build capability using MS Visual C++
Express.  I have tortoise svn and cvs, and cmake installed. I have
found some dated info on setting up using MingW32. What packages do I
need if I wish to use the MS tools?

Thanks,

hbl


Re: Plug-in development?

by Jernej Simončič-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Sun, 10 Aug 2008 18:27:46 -0000, Howard Larson wrote:

> I wish to develop a plug-in build capability using MS Visual C++
> Express.  I have tortoise svn and cvs, and cmake installed. I have
> found some dated info on setting up using MingW32. What packages do I
> need if I wish to use the MS tools?

First, if you wish to use VS Express, you will have to use GIMP and GTK+
compiled with VS, such as the one offered by <http://gimp-vs.sf.net/>,
because the C runtime used by MinGW and the one used by newer versions of
VS aren't compatible.

--
< Jernej Simončič >< http://deepthought.ena.si/ >
< Contact address: >< jernej simoncic at isg si >


Re: Plug-in development?

by Howard Larson :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

--- In gimpwin-users@..., Jernej Simončič
<jernej.listsonly@...> wrote:
>
> On Sun, 10 Aug 2008 18:27:46 -0000, Howard Larson wrote:
>
> > I wish to develop a plug-in build capability using MS Visual C++
> > Express.  I have tortoise svn and cvs, and cmake installed. I
have
> > found some dated info on setting up using MingW32. What packages
do I
> > need if I wish to use the MS tools?
>
> First, if you wish to use VS Express, you will have to use GIMP and
GTK+
> compiled with VS, such as the one offered by <http://gimp-
vs.sf.net/>,
> because the C runtime used by MinGW and the one used by newer
versions of
> VS aren't compatible.
>
> --
> < Jernej Simončič >< http://deepthought.ena.si/ >
> < Contact address: >< jernej simoncic at isg si >
>
One look at the gimp-vs site was enough to convince me I will need to
adopt the MinGW platform.  I shall start installing the tools.  In
the meantime, I would appreciate some tips on the neccessary
packgages to support plug-in development.



Re: Re: Plug-in development?

by Tor Lillqvist :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> First, if you wish to use VS Express, you will have to use GIMP and GTK+
> compiled with VS, [...] because the C runtime used by MinGW and the one
> used by newer versions of VS aren't compatible.

At first I was going to say that I don't necessarily think that is
absolutely required.

But then I actually tried building a simple GIMP plug-in with MSVC9
(i.e., the compiler from Visual Studio 2008), and although I did get a
.exe file, it failed oddly when attempting to run it, crashing in
__security_init_cookie, whatever that is. I didn't bother
investigating further.

If you happen to have the venerable MSVC6 still, with that it might be
much easier, as it uses the same C runtime as mingw-built code.

> such as the one offered by <http://gimp-vs.sf.net/>,

I think that website kinda speaks for itself...

--tml

Re: Plug-in development?

by Howard Larson :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

--- In gimpwin-users@..., "Tor Lillqvist" <tml@...> wrote:
>
> > First, if you wish to use VS Express, you will have to use GIMP
and GTK+
> > compiled with VS, [...] because the C runtime used by MinGW and
the one
> > used by newer versions of VS aren't compatible.
>
> At first I was going to say that I don't necessarily think that is
> absolutely required.
>
> But then I actually tried building a simple GIMP plug-in with MSVC9
> (i.e., the compiler from Visual Studio 2008), and although I did
get a
> .exe file, it failed oddly when attempting to run it, crashing in
> __security_init_cookie, whatever that is. I didn't bother
> investigating further.
>
> If you happen to have the venerable MSVC6 still, with that it might
be
> much easier, as it uses the same C runtime as mingw-built code.
>
> > such as the one offered by <http://gimp-vs.sf.net/>,
>
> I think that website kinda speaks for itself...
>
> --tml
>
I do have MSVC++ 6.0.  If that will do the job, I'll go that way.  I
put MinGW on my computer and realized it has been about 20 years
since I worked in a command line development environment.  No big
deal I suppose.  I still have my old Borland C book.

I suspect the gimp-vs site is about defunct.  All the forums were
full of porn spam.  No moderator...