[mephi-hpc] Модифицированные функции Бесселя

Andrew A. Savchenko bircoph at ut.mephi.ru
Sat Apr 26 16:52:09 MSK 2014


On Sat, 26 Apr 2014 15:02:12 +0400 Vasili Sukharev wrote:
> Большое спасибо.
> Происходит странная вещь при компиляции mpic++ -lgsl main.cpp -o
> main . можете что-то посоветовать? ошибка начала происходить
> совсем недавно, ни с того, ни с сего.
> 
> 
> /usr/include/wchar.h:151:38: error: Б─≤size_tБ─≥ has not been
> declared /usr/include/wchar.h:159:38: error: Б─≤size_tБ─≥ has not
> been declared /usr/include/wchar.h:166:63: error: Б─≤size_tБ─≥
> has not been declared /usr/include/wchar.h:176:4: error:
> Б─≤size_tБ─≥ has not been declared /usr/include/wchar.h:186:6:

Добавьте
#include <ctype.h>

--- main.cpp.orig       2014-04-26 16:44:10.317956440 +0400
+++ main.cpp    2014-04-26 16:35:18.458094997 +0400
@@ -3,6 +3,7 @@
 #include <complex.h>
 #include <iostream>
 #include <math.h>
+#include <ctype.h>
 #include <gsl/gsl_sf_bessel.h>
 
 #define _USE_MATH_DEFINES

Best regards,
Andrew Savchenko
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://lists.ut.mephi.ru/pipermail/hpc/attachments/20140426/1f722173/attachment.sig>


More information about the hpc mailing list