Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ------------------------------------------
- - FICHIER WAVREADER.c OU IL Y A LA PARTIE LECTURE DU FICHIER .WAV, J'AI RIEN CHANGé SAUF L'AJOUT DES BIBLI -
- #include "WAVEStruct.h"
- #include <stdio.h>
- #include <stdlib.h>
- -----
- TU CONNAIS LA SUITE
- -----------------------------------------
- -----------------------------------------
- - FICHIER WAVEStruct.h
- RIEN CHANGé
- -----------------------------------------
- - FICHIER MAIN.C ------------------------
- #include "wavreader.c"
- int main(){
- WAVE *structureWAVE;
- char *path = "/home/majorgrubert/Documents/music_source.wav";
- Read_Wav (path,structureWAVE);
- return 0;
- }
- ----------------------------------------
- L'ERREUR DE COMPILATION
- gcc main.c WAVEStruct.h wavreader.c -o Programme
- /tmp/cc1lnKdA.o: In function `Read_Wav':
- wavreader.c:(.text+0x0): multiple definition of `Read_Wav'
- /tmp/cc7KOdOv.o:main.c:(.text+0x0): first defined here
- collect2: ld returned 1 exit status
- ---------------------------------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement