33d / gbsim-win Goto Github PK
View Code? Open in Web Editor NEWAn obsolete environment for building gbsim with Windows - use https://github.com/33d/gbsim instead
An obsolete environment for building gbsim with Windows - use https://github.com/33d/gbsim instead
Help
Hi,
Another error:
make[3]: Entering directory `/gbsim-win/gbsim/simavr'
sim/sim_avr.c: In function 'avr_callback_sleep_raw':
sim/sim_avr.c:305:3: error: 'usleep' is deprecated (declared at c:\mingw\include\unistd.h:129) [-Werror=deprecated-declarations]
usleep(usec);
^
cc1.exe: all warnings being treated as errors
make[3]: *** [obj-mingw32/sim_avr.o] Error 1
Is there a workaround ?
Would this be interesting ?
http://stackoverflow.com/questions/5801813/c-usleep-is-obsolete-workarounds-for-windows-mingw
Hi,
Maybe my praying skills are not sharp enough, I got this after following the build instructions and trying a make
.
gcc -c -o pthread.o -g -O0 -DPTW32_BUILD_INLINED -DPTW32_STATIC_LIB -I. -DHAVE_CONFIG_H -Wall pthread.c
In file included from pthread.h:288:0,
from pthread.c:39:
./sched.h:152:47: error: unknown type name 'pid_t'
PTW32_DLLPORT int __cdecl sched_setscheduler (pid_t pid, int policy);
^
./sched.h:154:47: error: unknown type name 'pid_t'
PTW32_DLLPORT int __cdecl sched_getscheduler (pid_t pid);
^
In file included from implement.h:76:0,
from pthread.c:40:
semaphore.h:149:8: error: unknown type name 'mode_t'
mode_t mode,
^
make[2]: *** [pthread.o] Error 1
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.