Open CinLH opened 4 years ago
I am trying to build the plugin on Ubuntu 18.04. After I install the plugin by runing "make plugin", I trying to run the example as follow:
./gcc-with-python examples/show-docs.py test.c
This output
cc1: error: cannot load plugin /home/cin/python/temp/gcc-python-plugin/python.so /home/cin/python/temp/gcc-python-plugin/python.so: undefined symbol: gcc_location_get_start
Environment Ubuntu: 18.04 GCC: 7.4 I install the dependencies by runing:
apt install gcc-7-plugin-dev python-dev python-six python-pygments graphviz
In my case, LD_LIBRARY_PATH=gcc-c-api ./gcc-with-python ... would load the plugin correctly.
LD_LIBRARY_PATH=gcc-c-api ./gcc-with-python ...
I am trying to build the plugin on Ubuntu 18.04. After I install the plugin by runing "make plugin", I trying to run the example as follow:
This output
Environment Ubuntu: 18.04 GCC: 7.4 I install the dependencies by runing: