Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

how to install minilibx in linux

git clone https://github.com/42Paris/minilibx-linux
&& cd minilibx-linux
&& sudo apt-get install libxext-dev libxrandr-dev libx11-dev libbsd-dev libssl-dev
&& make
&& sudo mv man/man1 /usr/local/man/
&& sudo mv libmlx.a /usr/local/lib/
&& sudo mv mlx.h /usr/local/include/


# now go to test/ and run tests and check if things gose well
cd test/
./run_tests.sh

# compile example 
# clang -Wall -Wextra -Werror main.c -lbsd -lmlx lXext -lX11

#upvot to help other developers.
 
PREVIOUS NEXT
Tagged: #install #minilibx #linux
ADD COMMENT
Topic
Name
1+3 =