c source code

  • yousuck
    6th Mar 2017 Member 0 Permalink

    ok i went to github and downloaded the entire c sourcecode and extraced it and then used a c compiler to compile it into the exe

    but i got an error while compiing it

    config.h no such file or directory

    heres a picture

    if the html dosnt work

    https://imgur.com/a/Itt9i

    EDIT:yup, the html glitched

    Edited once by yousuck. Last: 6th Mar 2017
  • jacob2
    6th Mar 2017 Member 0 Permalink
    If you want to use code blocks, you'll have to set it up yourself and really understand what you are doing. For this problem at least, you'll need to set up include directories.

    I would recommend following this guide instead: https://powdertoy.co.uk/Wiki/W/Compiling_for_Windows_with_scons.html

    In the end, you can tell code blocks to use scons as an external build system
    Edited once by jacob1. Last: 9th Mar 2017
  • yousuck
    6th Mar 2017 Member 0 Permalink

    how do i do that

  • jacob2
    6th Mar 2017 Member 0 Permalink
    Either follow the guides on the wiki, or learn how codeblocks / other IDEs work. I've never used code blocks so I don't know how to make TPT compile in it.
  • yousuck
    6th Mar 2017 Member 0 Permalink

    google codeblocks download and then try it

    mabye you can find somthing for me

  • LBPHacker
    6th Mar 2017 Developer 0 Permalink

    Why not just follow the dang wiki article though? Everyone uses that and it works perfectly.

     

    (Also, I don't like throwing in comments that don't help at all, but jacob has already given you a pointer: include directories. It really is your task to google those, not his.)

  • yousuck
    6th Mar 2017 Member 0 Permalink

    ho w do i set up include dirrectoreis

  • jacob2
    6th Mar 2017 Member 0 Permalink
    No idea. The only reason I commented in the first place is because this is a useful question, and maybe some day someone will search the site for how to compile in code blocks, and get to this thread.

    All I can say is you need to set up include directories. That is just one step out of many (you'll also need to do the libraries later). You will need to Google yourself to figure out how to do this. If you find the answer, feel free to post it here so that future people will know.


    I still recommend following the wiki article though, and once scons is set up make code blocks use it as an external build system.
  • yousuck
    6th Mar 2017 Member 0 Permalink

    NO

    ittAkes too much work'

    the wiki artic;e takes too much work

    Edited once by yousuck. Last: 6th Mar 2017
Locked by jacob1: this thread isn't going anywhere