[Mingw-users] error while using migw/msys for ibsimu

Back to archive index
MANJEET N/A manje****@ph*****
Fri Jul 3 03:58:52 JST 2020


Hello, I downloaded the mingw/msys.and I want to use ibsimu so I downloaded
the ibsimu and extracted it to a direction as per given instruction but
when I tried the make command for ibsimu it shows following error


In file included from C:/msys/1.0/home/manje/include/pthread.h:288,
                 from geometry.hpp:48,
                 from epot_field.hpp:47,
                 from epot_field.cpp:44:
C:/msys/1.0/home/manje/include/sched.h:152:47: warning: 'cdecl' attribute
only applies to function types [-Wattributes]
  152 | PTW32_DLLPORT int __cdecl sched_setscheduler (pid_t pid, int
policy);
      |                                               ^~~~~
C:/msys/1.0/home/manje/include/sched.h:152:27: error: definition of 'int
sched_setscheduler' is marked 'dllimport'
  152 | PTW32_DLLPORT int __cdecl sched_setscheduler (pid_t pid, int
policy);
      |                           ^~~~~~~~~~~~~~~~~~
C:/msys/1.0/home/manje/include/sched.h:152:47: error: 'pid_t' was not
declared in this scope
  152 | PTW32_DLLPORT int __cdecl sched_setscheduler (pid_t pid, int
policy);
      |                                               ^~~~~
C:/msys/1.0/home/manje/include/sched.h:152:58: error: expected
primary-expression before 'int'
  152 | PTW32_DLLPORT int __cdecl sched_setscheduler (pid_t pid, int
policy);
      |                                                          ^~~
C:/msys/1.0/home/manje/include/sched.h:152:68: error: expression list
treated as compound expression in initializer [-fpermissive]
  152 | PTW32_DLLPORT int __cdecl sched_setscheduler (pid_t pid, int
policy);
      |                                                                    ^
C:/msys/1.0/home/manje/include/sched.h:154:47: warning: 'cdecl' attribute
only applies to function types [-Wattributes]
  154 | PTW32_DLLPORT int __cdecl sched_getscheduler (pid_t pid);
      |                                               ^~~~~
C:/msys/1.0/home/manje/include/sched.h:154:27: error: definition of 'int
sched_getscheduler' is marked 'dllimport'
  154 | PTW32_DLLPORT int __cdecl sched_getscheduler (pid_t pid);
      |                           ^~~~~~~~~~~~~~~~~~
C:/msys/1.0/home/manje/include/sched.h:154:47: error: 'pid_t' was not
declared in this scope
  154 | PTW32_DLLPORT int __cdecl sched_getscheduler (pid_t pid);
      |                                               ^~~~~
make[2]: *** [epot_field.lo] Error 1
make[2]: Leaving directory `/home/manje/src/libibsimu-1.0.6/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/manje/src/libibsimu-1.0.6/src'
make: *** [all-recursive] Error 1


and when I tried to run the program it showed that fatal error no such file
or directory.I also asked the same to the ibsimu community but they are
saying it's because of msys. I am new to it so please guide me. thanks in
advance.

MANJEET
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.osdn.me/mailman/archives/mingw-users/attachments/20200703/74baa3f3/attachment.html>


More information about the MinGW-Users mailing list
Back to archive index