An open API service indexing awesome lists of open source software.

https://github.com/xaliphostes/cpp-py

Course on C++ and Python binding
https://github.com/xaliphostes/cpp-py

Last synced: 2 months ago
JSON representation

Course on C++ and Python binding

Awesome Lists containing this project

README

        

# Initiation to C++ and python binding

drawing
Display of Szz around a point source

## Compilation and testing

### 1) C++

Read the [**README**](./cpp/README.md) file in the `cpp` folder

### 2) Python binding

Read the [**README**](./py/README.md) file in the `py` folder

### 3) Other useful info

- [Packaging](https://pybind11.readthedocs.io/en/stable/compiling.html#modules-with-cmake) with CMake




## To look at the dependencies of libs and bins
Go the bin directory

**Macos**
```sh
otool -L pyalgo.so # or app
```

**Linux**
```sh
ldd pyalgo.so # or app
```

**Win**
```sh
dumpbin /dependents pyalgo.dll # or app.exe
```