Closed cesarforteslima closed 6 years ago
Hi Cesar,
I think it might have something to do with the compiler that you are using.
Can I get you to write, in your linux terminal: g++ --version
And post me back the result. I can say that for me it works with the g++ compiler version 5.4.0.
Thanks so much for your prompt reply. I'm currently using this version.
g++ --version g++ (Ubuntu 7.2.0-8ubuntu3.2) 7.2.0
Best, Cesar
g++ --version g++ (Ubuntu 7.2.0-8ubuntu3.2) 7.2.0
Thanks for your help.
Best, Cesar
On 10 March 2018 at 09:31, e-jorsboe notifications@github.com wrote:
Hi Cesar,
I think it might have something to do with the compiler that you are using.
Can I get you to write, in your linux terminal: g++ --version
And post me back the result. I can say that for me it works with the g++ compiler version 5.4.0.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/e-jorsboe/fastNGSadmix/issues/1#issuecomment-372013238, or mute the thread https://github.com/notifications/unsubscribe-auth/ANsdzKVZx0WaFZHHbMNNGUZsYemNmbMxks5tc49ggaJpZM4SkXb9 .
-- César A. FORTES-LIMA, PhD. CNRS Postdoctoral Recherche
Equipe "Anthropologie Evolutive", Laboratoire d’Eco-Anthropologie et Ethnobiologie, UMR 7206 MNHN-CNRS, Université Paris 7 Diderot, Musée de l'Homme. 17, place du Trocadéro 75016 Paris, France. Tel: +33 01 44 05 73 54 E-mail: cesar@eurotast.eu
Hi,
I have changed the code slightly, addressing the issues you posted. I hope this has solved the issue.
Thanks so much for your help.
All the best, Cesar
On 12 March 2018 at 21:38, e-jorsboe notifications@github.com wrote:
Hi,
I have changed the code slightly, addressing the issues you posted. I hope this has solved the issue.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/e-jorsboe/fastNGSadmix/issues/1#issuecomment-372454303, or mute the thread https://github.com/notifications/unsubscribe-auth/ANsdzCMk93MfQ9X5HrjXfktdMse-D1FAks5tdty4gaJpZM4SkXb9 .
-- César A. FORTES-LIMA, PhD. CNRS Postdoctoral Recherche
Equipe "Anthropologie Evolutive", Laboratoire d’Eco-Anthropologie et Ethnobiologie, UMR 7206 MNHN-CNRS, Université Paris 7 Diderot, Musée de l'Homme. 17, place du Trocadéro 75016 Paris, France. Tel: +33 01 44 05 73 54 E-mail: cesar@eurotast.eu
cd fastNGSadmix make g++ fastNGSadmix.cpp ./readplinkV3.cpp -O3 -lz -lpthread -o fastNGSadmix fastNGSadmix.cpp: In function ‘int main(int, char*)’: fastNGSadmix.cpp:1430:16: error: invalid conversion from ‘char’ to ‘char’ [-fpermissive] char* pops = '\0'; ^~~~ fastNGSadmix.cpp:1515:12: error: ISO C++ forbids comparison between pointer and integer [-fpermissive] if(pops=='\0'){ ^~~~ Makefile:15: recipe for target 'fastNGSadmix' failed make: *** [fastNGSadmix] Error 1
Thanks in advance for your reply. Best, Cesar