Giter Club home page Giter Club logo

ps's Introduction

This is the official account for open source projects from WarmPlace.ru

ps's People

Contributors

pixicoder avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

ps's Issues

Compile to Windows, got the command-line

Hi, i've compiled this source on windows-32bit, but some modifications are needed:

Replacing the line:
#include <unistd.h>

with:

//header swap, using unistd.h in *n*x, 
//windows users will use windows.h with sleep() function overrride
#ifdef __unix__
# include <unistd.h>
#elif defined _WIN32
# include <windows.h>
#define sleep(x) Sleep(1000 * (x))
#endif

And for compiling, i've used this config:
Instructions used for Dev-C++:
-IDE used: Dev-C++ Orwell 5.2.0.0 32bit
-Compiler parameters used: -std=gnu99
-Linker parameters used: -static-libstdc++ -static-libgcc -lmingw32 -lSDL2main -lSDL2

Instructions used for MinGW:
-Version: MinGW-w64 v8.1.0
-Command line used:

gcc ps.c ^
	-Ic:\MinGW\mingw32\include ^
	-IC:\MinGW\mingw32\i686-w64-mingw32\include ^
	-Lc:\MinGW\mingw32\lib ^
	-LC:\MinGW\mingw32\i686-w64-mingw32\lib ^
	-static-libstdc++ ^
	-static-libgcc ^
	-lmingw32 ^
	-lSDL2main ^
	-lSDL2 ^
	-Os ^
	-o ps.exe

-Make sure SDL2 is placed correctly

P.D.: Tested the executable, and the exported wav and sounds identical to the youtube video about this project.

Repository Basics

Some suggestions for basic repository settings:

  • Disable unused widgets ( Releases , Packages )

  • Disable unused tabs ( Actions , Projects )

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.