Search
 
SCRIPT & CODE EXAMPLE
 

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.
Comment

PREVIOUS NEXT
Code Example
Shell :: composer drush 
Shell :: To install mailutils to send mail from linux centos terminal 
Shell :: mac m1 error running pod install 
Shell :: install letsencrypt ubuntu 20.04 nginx 
Shell :: git orphan branch and remove all data 
Shell :: echo aws profile 
Shell :: ubuntu trash folder 
Shell :: libpng12.so.0 ubuntu 18.04 
Shell :: Ports are not available: listen tcp 0.0.0.0/50070: bind: An attempt was made to access a socket in a way forbidden by its access permissions 
Shell :: ubuntu server virtualbox check if guest additions installed 
Shell :: random 6 digit number c# 
Shell :: install composer wsl 
Shell :: space in dock mac 
Shell :: install docker compose 
Shell :: delete distro 
Shell :: convert all file names to lowercase linux 
Shell :: setting the upstream for a fork github 
Shell :: how to remove windows service 
Shell :: show saved wifi password windows 11 
Shell :: django runserver no reload 
Shell :: git ignore vendor folder not working 
Shell :: docker restart 
Shell :: ubuntu 20.04 powerlevel10 vs code 
Shell :: Brew was unable to install [php@7.1]. 
Shell :: how to add path in ubuntu 
Shell :: could not install packages due to an oserror 
Shell :: upgrading composer globally on windows 
Shell :: powershell get ip from computer name 
Shell :: arch linux remove nodejs 
Shell :: how to install .deb file ubuntu 
ADD CONTENT
Topic
Content
Source link
Name
4+3 =