Skip to content
This repository was archived by the owner on Dec 21, 2019. It is now read-only.
This repository was archived by the owner on Dec 21, 2019. It is now read-only.

Problem with the compilation #18

Description

@lironsam

Hi,

I did everything you mentioned about the installation of the python-ios-template.
However, once I click on the xcodeproj file, and want to build I got some errors that I'm not able to solve. I just show you some errors I have :

error: implicit declaration of function '_Py_char2wchar' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
wpython_home = _Py_char2wchar([python_home UTF8String], NULL);
error: implicit declaration of function '_Py_char2wchar' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
python_argv[0] = _Py_char2wchar(main_script, NULL);
Undefined symbols for architecture x86_64:
"_BZ2_bzCompress", referenced from:
_compress in Python(_bz2module.o)
"_BZ2_bzCompressEnd", referenced from:
_BZ2Compressor_dealloc in Python(_bz2module.o)
"_BZ2_bzCompressInit", referenced from:
__bz2_BZ2Compressor___init__ in Python(_bz2module.o)
"_BZ2_bzDecompress", referenced from:
__bz2_BZ2Decompressor_decompress in Python(_bz2module.o)
"_BZ2_bzDecompressEnd", referenced from:
_BZ2Decompressor_dealloc in Python(_bz2module.o)
"_BZ2_bzDecompressInit", referenced from:
__bz2_BZ2Decompressor___init__ in Python(_bz2module.o)
"_lzma_alone_decoder", referenced from:
__lzma_LZMADecompressor___init__ in Python(_lzmamodule.o)
"_lzma_alone_encoder", referenced from:
_Compressor_init in Python(_lzmamodule.o)
"_lzma_auto_decoder", referenced from:
__lzma_LZMADecompressor___init__ in Python(_lzmamodule.o)
"_lzma_check_is_supported", referenced from:
__lzma_is_check_supported in Python(_lzmamodule.o)
"_lzma_code", referenced from:
_compress in Python(_lzmamodule.o)
__lzma_LZMADecompressor_decompress in Python(_lzmamodule.o)
"_lzma_easy_encoder", referenced from:
_Compressor_init in Python(_lzmamodule.o)
"_lzma_end", referenced from:
_Compressor_dealloc in Python(_lzmamodule.o)
_Decompressor_dealloc in Python(_lzmamodule.o)
"_lzma_get_check", referenced from:
__lzma_LZMADecompressor_decompress in Python(_lzmamodule.o)
"_lzma_lzma_preset", referenced from:
_lzma_filter_converter in Python(_lzmamodule.o)
_Compressor_init in Python(_lzmamodule.o)
"_lzma_properties_decode", referenced from:
__lzma__decode_filter_properties in Python(_lzmamodule.o)
"_lzma_properties_encode", referenced from:
__lzma__encode_filter_properties in Python(_lzmamodule.o)
"_lzma_properties_size", referenced from:
__lzma__encode_filter_properties in Python(_lzmamodule.o)
"_lzma_raw_decoder", referenced from:
__lzma_LZMADecompressor___init__ in Python(_lzmamodule.o)
"_lzma_raw_encoder", referenced from:
_Compressor_init in Python(_lzmamodule.o)
"_lzma_stream_decoder", referenced from:
__lzma_LZMADecompressor___init__ in Python(_lzmamodule.o)
"_lzma_stream_encoder", referenced from:
_Compressor_init in Python(_lzmamodule.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

I have Python 2.7.12 and Python 3.5. I tried with both and got the same things. I precise that I have added all the framework inside the directory.

Could you please help me ?

Thank,
Regards

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions