Skip to content

eschmar/kth-id1019

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

kth-id1019

Mandelbrot

mandelbrot c compilation

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

% cd ../helper
c(color).
c(debug).

% cd ../mandelbrot
c(theme).
c(ppm).
c(complex).
c(complex_nif).
c(brot).
c(mandel).

mandel:whole().

About

Course programming exercises.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published