Hi, I have an iOS C++ static lib (xxx.a), which I want to use it in Titainium project. I have known titanium modules can include iOS static library, which I have successfully used to include C static library several times. But this time, the only difference is, there is C++ file(xxx.mm) and C++ syntax in the lib. I made a simple test titanium project with module and c++ static lib inside. Below is Titanium build Error Log… Does anybody know how to solve it?
Linking Error message: Titanium Compile Error Message [INFO] One moment, building ... [INFO] Detected third-party module: dsg.lib_xphone_core/0.1 [INFO] Detected third-party module: dsg.lib_xphone_core/0.1 [INFO] Titanium SDK version: 2.1.2 (08/24/12 14:46 ed7f777) [INFO] iPhone Device family: universal [INFO] iPhone SDK version: 6.0 [INFO] iPhone simulated device: iphone [INFO] Performing full rebuild. This will take a little bit. Hold tight... [INFO] Minimum iOS version: 4.0 [INFO] Performing clean build [INFO] Compiling localization files [ERROR] clang: error: linker command failed with exit code 1 (use -v to see invocation) [ERROR] [ERROR] Error: Traceback (most recent call last): File "/Users/chjonline/Library/Application Support/Titanium/mobilesdk/osx/2.1.2.GA/iphone/builder.py", line 1309, in main execute_xcode("iphonesimulator%s" % link_version,["GCC_PREPROCESSOR_DEFINITIONS=LOG__ID=%s DEPLOYTYPE=development TI_DEVELOPMENT=1 DEBUG=1 TI_VERSION=%s %s %s" % (log_id,sdk_version,debugstr,kroll_coverage)],False) File "/Users/chjonline/Library/Application Support/Titanium/mobilesdk/osx/2.1.2.GA/iphone/builder.py", line 1215, in execute_xcode output = run.run(args,False,False,o) File "/Users/chjonline/Library/Application Support/Titanium/mobilesdk/osx/2.1.2.GA/iphone/run.py", line 41, in run sys.exit(rc) SystemExit: 65
Hi Ivan, Can you provide solution for these two questions?
1:is this library is being used for module development?
2: can you provide the build.log file for more information in case of module development?
one possible solution could be updating your python markdown parser.
Think you can help? Login to answer this question!