MAC 下添加lua-rapidjson 按文档操作 碰下面的问题
➜ build git:(master) ✗ ./make_osx_lua53.sh CMake Deprecation Warning at CMakeLists.txt:7 (cmake_minimum_required): Compatibility with CMake < 2.8.12 will be removed from a future version of CMake.
Update the VERSION argument
CMake Warning (dev) at CMakeLists.txt:62 (set): implicitly converting 'NUMBER' to 'STRING' type. This warning is for project developers. Use -Wno-dev to suppress it.
-- Configuring done -- Generating done -- Build files have been written to: /Users/three.zhang/Projects/Unity/LJD/Unity/xLua-2.1.12/build/build_osx Command line invocation: /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -project XLua.xcodeproj build -target ALL_BUILD -parallelizeTargets -configuration Release -hideShellScriptEnvironment
User defaults from command line: HideShellScriptEnvironment = YES IDEPackageSupportUseBuiltinSCM = YES
note: Using new build system note: Planning Analyze workspace
Create build description Build description signature: 37ecfd26557cf57ae6cc804ded95f626 Build description path: /Users/three.zhang/Projects/Unity/LJD/Unity/xLua-2.1.12/build/build_osx/build/XCBuildData/37ecfd26557cf57ae6cc804ded95f626-desc.xcbuild
note: Build preparation complete note: Building targets in parallel error: The i386 architecture is deprecated. You should update your ARCHS build setting to remove the i386 architecture. (in target 'ZERO_CHECK' from project 'XLua') error: The i386 architecture is deprecated. You should update your ARCHS build setting to remove the i386 architecture. (in target 'xlua' from project 'XLua') error: The i386 architecture is deprecated. You should update your ARCHS build setting to remove the i386 architecture. (in target 'ALL_BUILD' from project 'XLua')
Same here, any solutions ?
我master测试没报这错
可以参考这个:https://github.com/chexiongsheng/build_xlua_with_libs