It looks like you're new here. If you want to get involved, click one of these buttons!
Mac-Admin:~ admin$ /Users/admin/Desktop/luajit-source/build-ios.command ; exit;I changed line "#cd /Applications/Xcode/5.0.2/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin" to "#cd /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin" cause I thought this would help and I have xCode 6. Same error.
make: *** No rule to make target `clean'. Stop.
make: *** No targets specified and no makefile found. Stop.
cp: src/libluajit.a: No such file or directory
make: *** No rule to make target `clean'. Stop.
make: *** No targets specified and no makefile found. Stop.
cp: src/libluajit.a: No such file or directory
make: *** No rule to make target `clean'. Stop.
make: *** No targets specified and no makefile found. Stop.
cp: src/libluajit.a: No such file or directory
fatal error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/lipo: can't open input file: libluajit-armv7.a (No such file or directory)
make: *** No rule to make target `clean'. Stop.
rm: libluajit-armv7.a: No such file or directory
rm: libluajit-armv7s.a: No such file or directory
rm: libluajit-i386.a: No such file or directory
logout
Comments
https://deluxepixel.com
Once we finally get something working on iOS then I'll look at making a version for Windows Mobile.
https://deluxepixel.com
However I didn't figure out how to build working luajit even for OSX :-(
My steps for OSX luajit:
1) make TARGET_CFLAGS="-I../../libgvfs" TARGET_LIBS="-L../../libgvfs -lgvfs"
It seems this thing doesn't work as expected. No difference with simple make. Output files are same.
2) clang -dynamiclib [list of .o files after previous make] -current_version 1.0 -compatibility_version 1.0 -o liblua.1.dylib
3) replace liblua.1.dylib in Gideros Player
Of course I am getting error:
https://deluxepixel.com
Yes, I googled that (2) is one of ways. dylib can be compiled from sources too. It is .so library in many aspects.
Between step 2 and 3 must be very important thing:
install_name_tool -change libgvfs.1.dylib @executable_path/../Frameworks/libgvfs.1.dylib src/libluajit.so
But it doesn't help with error.
I found some info about MacOS paths and now I can compile iOS libraries.
One line from build-ios.sh must be changed:
ISDKP=$IXCODE/Toolchains/XcodeDefault.xctoolchain/usr/bin/ISDKP=/usr/bin/
I compiled luajit iOS lib for arm7 and got errors for arm7s and arm64. I replaced lib in Gideros Player project and got 3 errors while building in xCode: After that I downloaded and pasted luajit iOS library compiled for Love. Same error.
I think question is how to link libgvfs to luajit.
https://deluxepixel.com