Git Product home page Git Product logo

minilibx_installer's Introduction

Minilibx_Installer

Run in your project folder : ./mlx_install.sh

minilibx_installer's People

Contributors

binarybenji avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

minilibx_installer's Issues

Minilibx on ubuntu

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?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.