Skip to content

Instantly share code, notes, and snippets.

Undefined symbols for architecture x86_64:
"llvm::sys::getDefaultTargetTriple[abi:cxx11]()", referenced from:
setTriple(Options&) in Detect.cxx.o
runClangImpl(char const* const*, char const* const*, Options const&) in RunClang.cxx.o
"llvm::sys::fs::getMainExecutable[abi:cxx11](char const*, void*)", referenced from:
GetMainExecutable(char const*) in Utils.cxx.o
"clang::CompilerInstance::CompilerInstance(std::shared_ptr<clang::PCHContainerOperations>, bool)", referenced from:
runClangImpl(char const* const*, char const* const*, Options const&) in RunClang.cxx.o
"std::__1::error_code::message() const", referenced from:
clang::CompilerInstance::createDiagnostics(clang::DiagnosticOptions*, clang::DiagnosticConsumer*, bool, clang::CodeGenOptions const*) in libclangFrontend.a(CompilerInstance.cpp.o)
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
import logging
from pygccxml import parser
from pygccxml import utils
from pygccxml import declarations