I am currently attempting to set up xbig so that I may build the majority of the jni bindings with it for Ogre. Since the xbig project does not have a forum I figured I would ask here. I am almost set up with xbig but I received an error while compiling. If I could get help with this error that would be great. I will provide my finished product to the community once I debug it.
The error I am having is during the ant build of xbig. Here it is:
Execute failed: java.io.IOException: Cannot run program "mt.exe"
mt.exe comes with VisualStudio 2005 (and later versions) it is required to embed a XML-Manifest in .dll and .exe files. As you build with MinGW you can ignore that.
That is a more serious problem. t1 is the dll build through the first test case. For that lib a JNI binding is generated, compiled and tested with jUnit.
It seems that the ant script is not working with MinGW.
These are you options:
- fix the ant script
- use another compiler (like Visual Studio express)
- use another operating system (gcc is supported under Linux and OSX)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Sorry it has taken me so long to get back to this project. A lot has happened in the last few weeks.
I have successfully built xbig but I can't find anything on how to use it to generate c++ bindings. If someone could point me to some instructions or provide a short summary on usage and setting up projects I think I can get started.
Thanks.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am currently attempting to set up xbig so that I may build the majority of the jni bindings with it for Ogre. Since the xbig project does not have a forum I figured I would ask here. I am almost set up with xbig but I received an error while compiling. If I could get help with this error that would be great. I will provide my finished product to the community once I debug it.
The error I am having is during the ant build of xbig. Here it is:
mt.exe comes with VisualStudio 2005 (and later versions) it is required to embed a XML-Manifest in .dll and .exe files. As you build with MinGW you can ignore that.
That is a more serious problem. t1 is the dll build through the first test case. For that lib a JNI binding is generated, compiled and tested with jUnit.
It seems that the ant script is not working with MinGW.
These are you options:
- fix the ant script
- use another compiler (like Visual Studio express)
- use another operating system (gcc is supported under Linux and OSX)
Sorry it has taken me so long to get back to this project. A lot has happened in the last few weeks.
I have successfully built xbig but I can't find anything on how to use it to generate c++ bindings. If someone could point me to some instructions or provide a short summary on usage and setting up projects I think I can get started.
Thanks.
Thanks for the help kex347 I simply switched to Linux installed the prerequisites and it built right away
See the ant build.xml file in xbig/tests/t1 as an example.