Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/eschmar/kth-id1019
Course programming exercises.
https://github.com/eschmar/kth-id1019
erlang kth
Last synced: 3 days ago
JSON representation
Course programming exercises.
- Host: GitHub
- URL: https://github.com/eschmar/kth-id1019
- Owner: eschmar
- Created: 2017-01-19T21:03:31.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2021-09-08T09:39:24.000Z (over 3 years ago)
- Last Synced: 2024-12-16T03:30:50.335Z (about 2 months ago)
- Topics: erlang, kth
- Language: Erlang
- Size: 42 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# kth-id1019
## mandelbrot c compilation
```sh
gcc -std=c99 -fPIC -shared -o complex_nif.so complex_nif.c -I /usr/local/lib/erlang/erts-8.2/include/ -flat_namespace -undefined
suppress
```* Add the absolute path to the erlang `erl_nif.h`
* Add `-flat_namespace -undefined suppress` on macOS## run mandelbrot
```erl
% cd ../helper
c(color).
c(debug).% cd ../mandelbrot
c(theme).
c(ppm).
c(complex).
c(complex_nif).
c(brot).
c(mandel).mandel:whole().
```