Run in your project folder :
./mlx_install.sh
binarybenji / minilibx_installer Goto Github PK
View Code? Open in Web Editor NEWMinilibx installer for lazy people
Minilibx installer for lazy people
Hey This is what i have when i try to compile minilibx.
Package libbsd was not found in the pkg-config search path.
Perhaps you should add the directory containing `libbsd.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libbsd', required by 'mlx', not found
gcc -o mlx-test main.o
main.o : Dans la fonction « expose_win2 » :
main.c:(.text+0x3f) : référence indéfinie vers « mlx_put_image_to_window »
main.o : Dans la fonction « color_map_1 » :
main.c:(.text+0x219) : référence indéfinie vers « mlx_pixel_put »
main.o : Dans la fonction « color_map_2 » :
main.c:(.text+0x38f) : référence indéfinie vers « mlx_get_color_value »
main.o : Dans la fonction « expose_win1 » :
main.c:(.text+0x1b) : référence indéfinie vers « mlx_put_image_to_window »
main.o : Dans la fonction « expose_win2 » :
main.c:(.text+0x62) : référence indéfinie vers « mlx_put_image_to_window »
main.o : Dans la fonction « key_win3 » :
main.c:(.text+0x168) : référence indéfinie vers « mlx_destroy_window »
main.o : Dans la fonction « main » :
main.c:(.text.startup+0x45) : référence indéfinie vers « mlx_init »
main.c:(.text.startup+0xa8) : référence indéfinie vers « mlx_new_window »
main.c:(.text.startup+0x12b) : référence indéfinie vers « mlx_clear_window »
main.c:(.text.startup+0x174) : référence indéfinie vers « mlx_new_image »
main.c:(.text.startup+0x1a1) : référence indéfinie vers « mlx_get_data_addr »
main.c:(.text.startup+0x274) : référence indéfinie vers « mlx_put_image_to_window »
main.c:(.text.startup+0x2b0) : référence indéfinie vers « mlx_destroy_image »
main.c:(.text.startup+0x2f9) : référence indéfinie vers « mlx_new_image »
main.c:(.text.startup+0x32a) : référence indéfinie vers « mlx_get_data_addr »
main.c:(.text.startup+0x3fd) : référence indéfinie vers « mlx_put_image_to_window »
main.c:(.text.startup+0x450) : référence indéfinie vers « mlx_string_put »
main.c:(.text.startup+0x47a) : référence indéfinie vers « mlx_string_put »
main.c:(.text.startup+0x4c4) : référence indéfinie vers « mlx_xpm_file_to_image »
main.c:(.text.startup+0x4f3) : référence indéfinie vers « mlx_get_data_addr »
main.c:(.text.startup+0x575) : référence indéfinie vers « mlx_put_image_to_window »
main.c:(.text.startup+0x59a) : référence indéfinie vers « mlx_put_image_to_window »
main.c:(.text.startup+0x5e0) : référence indéfinie vers « mlx_new_window »
main.c:(.text.startup+0x5fd) : référence indéfinie vers « mlx_new_image »
main.c:(.text.startup+0x62c) : référence indéfinie vers « mlx_get_data_addr »
main.c:(.text.startup+0x691) : référence indéfinie vers « mlx_new_window »
main.c:(.text.startup+0x6ad) : référence indéfinie vers « mlx_expose_hook »
main.c:(.text.startup+0x6c2) : référence indéfinie vers « mlx_mouse_hook »
main.c:(.text.startup+0x6d7) : référence indéfinie vers « mlx_key_hook »
main.c:(.text.startup+0x6ec) : référence indéfinie vers « mlx_expose_hook »
main.c:(.text.startup+0x701) : référence indéfinie vers « mlx_mouse_hook »
main.c:(.text.startup+0x716) : référence indéfinie vers « mlx_key_hook »
main.c:(.text.startup+0x72b) : référence indéfinie vers « mlx_key_hook »
main.c:(.text.startup+0x74b) : référence indéfinie vers « mlx_hook »
main.c:(.text.startup+0x763) : référence indéfinie vers « mlx_loop »
collect2: error: ld returned 1 exit status
Makefile.gen:20: recipe for target 'mlx-test' failed
make[1]: *** [mlx-test] Error 1
make[1] : on quitte le répertoire « /home/teowned/Bureau/fractol/mlx_cust_lib/minilibx/test »
Makefile:17: recipe for target 'do_configure' failed
make: *** [do_configure] Error 2
But still i actually tryed:
export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
export PKG_CONFIG_PATH=/usr/lib/pkgconfig
then i tryed to modify the makefile to not use minilibx macos but minilibx.
Do you have an idea of what i did wrong?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.