Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Linking Librairie #3

Closed
Morgadegit opened this issue Feb 29, 2020 · 3 comments
Closed

Linking Librairie #3

Morgadegit opened this issue Feb 29, 2020 · 3 comments

Comments

@Morgadegit
Copy link

Morgadegit commented Feb 29, 2020

Salut !

Je lance le .sh, ça compile en utilisant mon makefile, ça crée bien ma librairie libprintf.a avec ft_printf dedans, mais juste après ça me dit

Generating mains of 1000 tests (1/20)
ld: library not found for -lftprintf
clang: error: linker command failed with exit code 1 (use -v to see invocation)
ld: library not found for -lftprintf
clang: error: linker command failed with exit code 1 (use -v to see invocation)
/bin/sh: ./tests_ftprintf: No such file or directory
/bin/sh: ./tests_printf: No such file or directory

Le problème vient sûrement de mon côté mais je ne vois pas ce qu'il est ?

Merci d'avance pour ton aide !

@t0mm4rx
Copy link
Owner

t0mm4rx commented Feb 29, 2020

Hello !
Le binaire doit s'appeler libftprint.a

@t0mm4rx
Copy link
Owner

t0mm4rx commented Mar 2, 2020

@Morgadegit Est-ce que ca fonctionne maintenant ? Peut-tu lock l'issue si c'etait ca ? Merci :)

@Morgadegit
Copy link
Author

Oui, ça fonctionne une fois le nom changé, merci !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants