I was going to do some converting of the OBJ files to the BFXM files for the master set. But then I found out mesher didn't even work. I recompiled a couple times to see if that were an issue, hasn't helped yet.
Anybody have a working mesher for linux? Mine seems to give me this error. I don't even have to enter an obj or bfxm filename. GCC version 4.1.2 if that makes a difference. SVN 12022
colemana@popeye:~/dev/vegastrike$ mesher
terminate called after throwing an instance of 'std::out_of_range'
what(): basic_string::erase
Aborted
colemana@popeye:~/dev/vegastrike$
just made mine for same reason you are Mine works fine...i guess one of the devs will be by. if you want, I can attach my binary and you can try it if you are using a fairly standard x86 linux install
Shouldn't you be doing "./mesher" and not "mesher", since the latter will use the global command which might be an older version.
Also, if you have vegastrike built with --enable-debug, you can do a "gdb ./mesher", "run" and "backtrace full" when you get the std::out_of_range so that it can be fixed.
As to supplying an elf binary I'm on 64-bit linux so I don't think it will work on your machine.
mesher in vegastrike directory gives me error
./mesher in vegastrike directory runs command perfectly
mesher in any other directory, and the executable is not run at all
Whatever, ./mesher got it to work. Guess I'll work with it
Typing "mesher" is using an old version in a system binaries directory.
you can also specify the full path (/home/user/vegastrike/mesher obc arg1 arg2)
Or a better solution would be to copy it as root to /usr/local/bin or /usr/bin (and/or delete the old version of mesher there) and then you can run it from anywhere
but I don't have a "mesher" anywhere else on the system! not in /bin nor /usr/bin nor /usr/local/bin. Its not in my path! And slocate cannot find any file by that name anywhere except in the vegastrike path.
I believe running "make install" (as root) after compilation copies all the executables to a system directory for you. Or you could just manually copy the file from the vegastrike path to the preferred location.
Whatever, the conversation doesn't need to be continued, it all works anyway. I'll figure out what it is sometime or another. It doesn't make sense to me yet.