Problems building Jirr on Linux

Discussion about Irrlicht's Java wrapper
Post Reply
RavenMokel
Posts: 1
Joined: Wed Aug 22, 2007 4:20 pm

Problems building Jirr on Linux

Post by RavenMokel »

Hi,
i am currently trying to build Jirr on my Linux machine and after changing the irrlicht path in the makefile and running "make" i ran into the following problem:

Code: Select all

raven@ineluki:~/code/game/irrlicht-1.3/jirr-cvs/jirr-dev$ make
rm -rf src/native/*
rm -rf src/java/net/sf/jirr/*
rm -rf classes/*
rm -rf lib/*
rm -rf javadoc/*
rm -f 
mkdir -p src/java/net/sf/jirr
mkdir -p src/native
mkdir -p classes
mkdir -p lib
swig -v  -package net.sf.jirr -c++ -I../../include -java -outdir src/java/net/sf/jirr -o src/native/irrlicht_wrap.cxx irrlicht.i
LibDir: java
   ./
   ../../include/
   /usr/share/swig1.3/java/
   ./swig_lib/java/
   /usr/share/swig1.3/config/
   ./swig_lib/config/
   /usr/share/swig1.3/
   ./swig_lib/
Preprocessing...
irrlicht.i:12: Error: Macro 'SWIGWARN_TYPEMAP_THREAD_UNSAFE_MSG' redefined,
/usr/share/swig1.3/swigwarnings.swg:50: Error: previous definition of 'SWIGWARN_TYPEMAP_THREAD_UNSAFE_MSG'.
../../include/IAnimatedMeshMD3.h:82: Error: CPP #error "compiler not supported". Use the -cpperraswarn option to continue swig processing.
make: [src/java/net/sf/jirr/Irrlicht.java] Error 1 (ignored)
"/usr/lib/jvm/java-1.5.0-sun/"/bin/javac -sourcepath src/java -d classes 
javac: no source files
Usage: javac <options> <source files>
where possible options include:
  -g                         Generate all debugging info
  -g:none                    Generate no debugging info
  -g:{lines,vars,source}     Generate only some debugging info
  -nowarn                    Generate no warnings
  -verbose                   Output messages about what the compiler is doing
  -deprecation               Output source locations where deprecated APIs are used
  -classpath <path>          Specify where to find user class files
  -cp <path>                 Specify where to find user class files
  -sourcepath <path>         Specify where to find input source files
  -bootclasspath <path>      Override location of bootstrap class files
  -extdirs <dirs>            Override location of installed extensions
  -endorseddirs <dirs>       Override location of endorsed standards path
  -d <directory>             Specify where to place generated class files
  -encoding <encoding>       Specify character encoding used by source files
  -source <release>          Provide source compatibility with specified release
  -target <release>          Generate class files for specific VM version
  -version                   Version information
  -help                      Print a synopsis of standard options
  -X                         Print a synopsis of nonstandard options
  -J<flag>                   Pass <flag> directly to the runtime system

make: *** [classes/net/sf/jirr/Irrlicht.class] Error 2
I'm using SWIG 1.3.28, could that be the problem?

-Raven
Post Reply