error while using migw/msys for ibsimu

"MANJEET N/A" <[email protected]> Fri, 3 Jul 2020 00:28:52 +0530
Newsgroups gmane.comp.gnu.mingw.user
Message-ID <CAGzdXa0L-1i_sm1CqA51Ra73QwF-ka8Wk-i=6E7Vk1TqdzpYGA@mail.gmail.com>
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

_______________________________________________
MinGW-Users mailing list
[email protected]

This list observes the Etiquette found at
http://www.mingw.org/Mailing_Lists.
We ask that you be polite and do the same.  Disregard for the list etiquette may cause your account to be moderated.

_______________________________________________
You may change your MinGW Account Options or unsubscribe at:
https://lists.osdn.me/mailman/listinfo/mingw-users
Also: mailto:[email protected]?subject=unsubscribe