4

Is there a plugin for eclipse IDE where I can run my SWIG module. I'm trying to work in Windows, so can anyone tell me any available plugins for working with SWIG inside Eclipse?

Also I need to run C/C++ programs, so an IDE is the best way to work.

I don't want to use Microsoft Visual C++.

SWIG code:

   %module test
    %{
      int fact(int num);
    %}

Java code:

class Runme{
       public static void main(String argv[])
            {

              test.fact(100);
             }
          }
Flexo
  • 87,323
  • 22
  • 191
  • 272
Mahesh Nayak
  • 208
  • 4
  • 14

1 Answers1

2

I assume you want to add something like:

$ swig -java interface.i

to the eclipse build process. maybe take a look at:

Eclipse adding your own build command

I think eclipse should be fine for C/C++ dev

I use emacs instead for everything (C, Java, Android projects) but there's a bit of a learning curve involved

Community
  • 1
  • 1
bph
  • 10,728
  • 15
  • 60
  • 135