Compile issue

  • BLISax
    17th Jun 2011 Member 0 Permalink
    I am aware of the problems with the source code. the problem is that the creaters don't give a full tutorial on how to compile the powder toy. and lack some information about header files. Like the fact that you need "regex.h", "cdefs.h" and other system .h files for complation on windows. Now im not trying to put down their work am aware that they are very busy, but it would be helpfull to know these things. I am making a sugestion to have an updated wiki page with more information about how to compile in diferent operating systems.
  • vanquish349
    17th Jun 2011 Member 0 Permalink
    how about when you learn how to compile you update the wiki
  • jalfor
    17th Jun 2011 Member 0 Permalink
    @BLISax (View Post)
    They seemed to give perfectly good information on how to compile for me.

    The one thing I think could be fixed though, is putting some more comments in the code to make it a bit easier to understand.
  • BLISax
    17th Jun 2011 Member 0 Permalink
    I apologize for for bwing rude. i was frusterated. What i would like to know now is for a windows exe what OS do they use, if windows, windows what? XP? Vista? 7? 98 lol
  • me4502
    17th Jun 2011 Member 0 Permalink
    @BLISax (View Post)
    I added pthread link to wiki
  • MasterMind555
    17th Jun 2011 Member 0 Permalink
    Compiling is EASY, you press the Build Button
    Setting up the project isn't really easy, I tried twice and failed both times >.<
  • cctvdude99
    17th Jun 2011 Member 0 Permalink
    @BLISax
    Go on the IRC channel and ask for help then...

    http://webchat.freenode.net/?channels=#powder
  • BLISax
    17th Jun 2011 Member 0 Permalink
    so i tried again to start the project and get these errors
    1>------ Build started: Project: The Powder Toy BLISax's mod, Configuration: Debug Win32 ------
    1> misc.c
    1>src\misc.c(4): fatal error C1083: Cannot open include file: 'regex.h': No such file or directory
    1> main.c
    1>C:\Users\Gage\Desktop\The Powder Toy Source\Includes\pthread.h(288): fatal error C1083: Cannot open include file: 'sched.h': No such file or directory
    1> interface.c
    1>src\interface.c(19): fatal error C1083: Cannot open include file: 'dirent.h': No such file or directory
    1> editor.c
    1>font\editor.c(116): error C2065: 'SCALE' : undeclared identifier
    1>font\editor.c(116): error C2065: 'SCALE' : undeclared identifier
    1>font\editor.c(116): error C2065: 'SCALE' : undeclared identifier
    1>font\editor.c(130): warning C4018: '<' : signed/unsigned mismatch<br />1>font\editor.c(131): error C2065: 'SCALE' : undeclared identifier
    1>font\editor.c(131): warning C4018: '<' : signed/unsigned mismatch<br />1>font\editor.c(132): error C2065: 'SCALE' : undeclared identifier
    1>font\editor.c(132): warning C4018: '<' : signed/unsigned mismatch<br />1>font\editor.c(133): error C2065: 'SCALE' : undeclared identifier
    1>font\editor.c(152): warning C4018: '<' : signed/unsigned mismatch<br />1>font\editor.c(153): warning C4018: '<' : signed/unsigned mismatch<br />1>font\editor.c(219): error C2065: 'SCALE' : undeclared identifier
    1>font\editor.c(220): error C2065: 'SCALE' : undeclared identifier
    1> Generating Code...
    ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

    EDIT:
    so re did the project everything else looks normal but i get an error about dirent.h? in interface.c
    Edited by BLISax, 2011-06-17 02:12:04