How do I compile on Linux

  • swordslam46
    7th Oct 2010 Member 0 Permalink
    I just got a load of error when I used make again. How do I check if it successfully compiled?
  • Xenocide
    7th Oct 2010 Former Staff 0 Permalink
    ./build
    or
    ./powder-sse
    or
    ./powder-sse2
  • swordslam46
    7th Oct 2010 Member 0 Permalink
    I get bash: ./powder-sse2: No such file or directory errors when I try the above. Am I still in the same directory?
  • Xenocide
    7th Oct 2010 Former Staff 0 Permalink
    you tried all of them? only one will work
  • swordslam46
    7th Oct 2010 Member 0 Permalink
    It didn't compile. Which directory do I need to be in? includes or src?
  • swordslam46
    7th Oct 2010 Member 0 Permalink
    (To compile the source.)
  • Xenocide
    7th Oct 2010 Former Staff 0 Permalink
    neither. example:

    antb@netbook:/sources/TPT$ ls
    includes Makefile powder-res.o README roadmap src LICENSE script.sh stamps
    antb@netbook:/sources/TPT$ make powder-sse3
    [crap loads of output]
    antb@netbook:/sources/TPT$ ls
    includes Makefile powder-res.o build README roadmap src LICENSE script.sh stamps
    antb@netbook:/sources/TPT$ ./build
  • swordslam46
    7th Oct 2010 Member 0 Permalink
    The last thing in the terminal after the errors is make: *** [powder-sse3] Error 1

    I read somewhere the last thing is supposed to say something different.
  • swordslam46
    7th Oct 2010 Member 0 Permalink
    here are my contents in case it help:

    christian@christian-desktop:~/Desktop/Powder$ ls
    includes LICENSE Makefile README roadmap script.sh src
  • Xenocide
    7th Oct 2010 Former Staff 0 Permalink
    use

    $ cat Makefile

    make sure its all there