Hello
I want to test meson to build my new project. For now, I want a shared library (for Windows, UNIX and Mac OS X). I have only one file for now.
Right now, I am on Windows, using MSYS2 as terminal.
1) Here is the tree structure
echart2/
meson.build
src/
lib/
echart_main.c
echart_main.h
Echart.h
2) meson.build content is :
project('echart', 'c')
shared_library('libechart', 'src/lib/echart_main.c)
3) I have installed python3 in the folder E:/Documents/programmes_x64/python3 that I have added to the PATH, and I have decompressed
meson-0.40.1.tar.gz (found here
https://github.com/mesonbuild/meson/releases) in ~/python3. So here here the tree in python:
python-3/
python.exe
meson-0.40.1/
meson.py
4) ninja is in another folder
Now in echart2 (the top level dir of my project), I run
mkdir build
cd build
python.exe /e/Documents/programmes_x64/python-3/meson-0.40.1/meson.py ..
I get the following messages :
Traceback (most recent call last):
File "E:/Documents/programmes_x64/python-3/meson-0.40.1/meson.py", line 17, in <module>
from mesonbuild import mlog, mesonmain, mesonlib
ModuleNotFoundError: No module named 'mesonbuild'
does someone see where my error is ? Did I miss something ?
thank you
Vincent Torri