Sayak | 20 May 2011 09:05
Picon
Favicon

Compiling GEGL in Windows

Hi All,
I am new in GEGL development. For some times, i was using OpenCV library in
Visual Studio 2010 to create an image manipulation application in Android. C ->
JNI -> Android. because of the limitation of the OpenCV library, i am interested
to use the GEGL library for a wider scope. Unfortunately, i didnt get any proper
guide about how to compile GEGL in visual studio. I would like to know the steps
that i need to do.
I know that for windows i need MSYS/MinGW. but how to use MSYS/MingGW? i have no
experience in that. also i have now clear idea about how to run ./configure. 
i also know that to use GEGL, i need GEGL, Babl, GTK+. how to compile?
after doing all these, how do i need to configure my visual studio projects?
at first i just want to try to compile this
#include <gegl.h>

int main(int argc, char **argv)
{
  gegl_init (&argc, &argv);
      // other GEGL code
  gegl_exit ();
}
Øyvind Kolås | 23 May 2011 14:06
Picon

Re: Compiling GEGL in Windows

On Fri, May 20, 2011 at 7:05 AM, Sayak <sayakdas@...> wrote:
> Hi All,
> I am new in GEGL development. For some times, i was using OpenCV library in
> Visual Studio 2010 to create an image manipulation application in Android. C ->
> JNI -> Android. because of the limitation of the OpenCV library, i am interested
> to use the GEGL library for a wider scope. Unfortunately, i didnt get any proper
> guide about how to compile GEGL in visual studio. I would like to know the steps
> that i need to do.

Personally, and as far as I know; most people on this mailinglist, do
not use visual studio and do not know how to integrate the libraries
with them, even though this should be possible as all of the code
should be cross platform and standards compliant. Please report back
if you figure out an easy way to do this.

/Øyvind K.
--

-- 
«The future is already here. It's just not very evenly distributed»
                                                 -- William Gibson
http://pippin.gimp.org/                            http://ffii.org/
Jasper van de Gronde | 23 May 2011 16:29
Picon

Re: Compiling GEGL in Windows

On 23-05-11 14:06, Øyvind Kolås wrote:
> On Fri, May 20, 2011 at 7:05 AM, Sayak <sayakdas@...> wrote:
>> Hi All,
>> I am new in GEGL development. For some times, i was using OpenCV library in
>> Visual Studio 2010 to create an image manipulation application in Android. C ->
>> JNI -> Android. because of the limitation of the OpenCV library, i am interested
>> to use the GEGL library for a wider scope. Unfortunately, i didnt get any proper
>> guide about how to compile GEGL in visual studio. I would like to know the steps
>> that i need to do.
> 
> Personally, and as far as I know; most people on this mailinglist, do
> not use visual studio and do not know how to integrate the libraries
> with them, even though this should be possible as all of the code
> should be cross platform and standards compliant. Please report back
> if you figure out an easy way to do this.

What about just plain MSYS/MingW? Has anyone ever managed to
successfully compile GEGL on Windows? I tried it quite a while back,
without much success. In the end I did manage to compile it, but then it
didn't work in some weird way.
Øyvind Kolås | 23 May 2011 16:37
Picon

Re: Compiling GEGL in Windows

On Mon, May 23, 2011 at 2:29 PM, Jasper van de Gronde
<th.v.d.gronde@...> wrote:
> What about just plain MSYS/MingW? Has anyone ever managed to
> successfully compile GEGL on Windows? I tried it quite a while back,
> without much success. In the end I did manage to compile it, but then it
> didn't work in some weird way.

GIMP does work on windows using GEGL, as far as I've understood
compiled both from windows and cross compiled from Linux.

/Øyvind K.
--

-- 
«The future is already here. It's just not very evenly distributed»
                                                 -- William Gibson
http://pippin.gimp.org/                            http://ffii.org/
Jasper van de Gronde | 24 May 2011 09:32
Picon

Re: Compiling GEGL in Windows

On 23-05-11 16:37, Øyvind Kolås wrote:
> On Mon, May 23, 2011 at 2:29 PM, Jasper van de Gronde
> <th.v.d.gronde@...> wrote:
>> What about just plain MSYS/MingW? Has anyone ever managed to
>> successfully compile GEGL on Windows? I tried it quite a while back,
>> without much success. In the end I did manage to compile it, but then it
>> didn't work in some weird way.
> 
> GIMP does work on windows using GEGL, as far as I've understood
> compiled both from windows and cross compiled from Linux.

Thanks for the tip, perhaps I'll have a look at their build procedures
in the near future.
Sayak | 25 May 2011 05:20
Picon
Favicon

Re: Compiling GEGL in Windows

Jasper van de Gronde <th.v.d.gronde <at> ...> writes:

> 
> On 23-05-11 16:37, Øyvind Kolås wrote:
> > On Mon, May 23, 2011 at 2:29 PM, Jasper van de Gronde
> > <th.v.d.gronde <at> ...> wrote:
> >> What about just plain MSYS/MingW? Has anyone ever managed to
> >> successfully compile GEGL on Windows? I tried it quite a while back,
> >> without much success. In the end I did manage to compile it, but then it
> >> didn't work in some weird way.
> > 
> > GIMP does work on windows using GEGL, as far as I've understood
> > compiled both from windows and cross compiled from Linux.
> 
> Thanks for the tip, perhaps I'll have a look at their build procedures
> in the near future.
> 

Thanks for the Tips. I also dont want to use Visual Studio. But, the purpose of
using GEGL library is to implement it later in Android programming. i use this
sequence c-> JNI-> Android. if i use plain MSYS/MinGW, i will have problem later
in debugging in eclipse. 

_______________________________________________
Gegl-developer mailing list
Gegl-developer <at> lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gegl-developer
Martin Nordholts | 25 May 2011 06:43
Picon
Gravatar

Re: Compiling GEGL in Windows

2011/5/25 Sayak <sayakdas@...>:
> Thanks for the Tips. I also dont want to use Visual Studio. But, the purpose of
> using GEGL library is to implement it later in Android programming. i use this
> sequence c-> JNI-> Android.

Hi

Just wanted to check if you are aware of the GEGL GObject
introspection file gegl/Gegl-0.1.gir that is generated during the GEGL
build? You probably want your JNI and Java code to be automatically
generated from that file.

Regards,
Martin

--

-- 

My GIMP Blog:
http://www.chromecode.com/
"GIMP 2.8 schedule on tasktaste.com"

Gmane