How do I compile on Linux

  • swordslam46
    7th Oct 2010 Member 0 Permalink
    How do I compile source code on Linux Ubuntu? I can't follow the wiki's guide because I get errors often when trying to compile. If someone could just give me a simple walk through that would be great,
  • Xenocide
    7th Oct 2010 Former Staff 0 Permalink
    Complier output helps so I can pinpoint it, if you have an IRC client point it to irc.freenode.net #powder
  • swordslam46
    7th Oct 2010 Member 0 Permalink
    make: *** No rule to make target `powder-sse'. Stop.
  • Xenocide
    7th Oct 2010 Former Staff 0 Permalink
    ... wtf?! O_o

    thats new to me... what source are you using?
  • swordslam46
    7th Oct 2010 Member 0 Permalink
    the one I downloaded from github a few days ago. I did a manual download, could that be a problem?
  • Xenocide
    7th Oct 2010 Former Staff 0 Permalink
    Nope, thats working fine here...
    open the makefile with gedit and check if this is there:
    powder-sse3: $(SOURCES)
    $(COMPILER) -m32 -o$@ $(CFLAGS) $(OFLAGS) $(LFLAGS) $(MFLAGS_SSE3) $(SOURCES) -DLIN32
    strip $@
  • swordslam46
    7th Oct 2010 Member 0 Permalink
    It says it's not found. This looks like it though:

    powder-sse3: $(SOURCES)
    $(COMPILER) -m32 -o$@ $(CFLAGS) $(OFLAGS) $(LFLAGS) $(MFLAGS_SSE3) $(SOURCES) -DLIN32
    strip $@
    mv $@ build
  • Xenocide
    7th Oct 2010 Former Staff 0 Permalink
    try $ make powder-sse3
  • swordslam46
    7th Oct 2010 Member 0 Permalink
    make: *** No rule to make target `powder-sse3'. Stop.
  • Xenocide
    7th Oct 2010 Former Staff 0 Permalink
    is the terminal pointed at the right place? use cd to go into the powder directory then try it