Compile without SSE

  • fishkid257936
    30th Jul 2010 Member 0 Permalink
    bump. (still does not work with this version.)
  • garyyo
    30th Jul 2010 Member 0 Permalink
    bump for justice, as i have the same problem with my linux machine.
  • Felix
    30th Jul 2010 Member 0 Permalink
    garyyo:
    bump for justice, as i have the same problem with my linux machine.

    So? We can't do much if you don't tell what Processor you have...
  • garyyo
    30th Jul 2010 Member 0 Permalink
    oh, sorry I just want to see it done. I don't really need it, I switch to my windows if i want to play it
  • fishkid257936
    30th Jul 2010 Member 0 Permalink
    Could some one help me with this or could some one compile it without sse their self? Again my processor is AMD Athlon(tm) Processor 1050.057MHz (about 1.05GHz).

    EDIT: downloaded new version, now getting this error message:
    gcc -DINTERNAL -opowder -Wall -std=c99 -D_POSIX_C_SOURCE=200112L -O3 -ffast-math -ftree-vectorize -funsafe-math-optimizations -lSDL -lm -lbz2 -march=k8 -DX86 -DX86_SSE3 -msse3 powder.c http.c md5.c update.c -DLIN64
    powder.c: In function ‘file_load’:
    powder.c:5145: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
    powder.c: In function ‘stamp_init’:
    powder.c:5331: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
    powder.c: In function ‘load_string’:
    powder.c:9305: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
    powder.c:9312: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
    powder.c: In function ‘load_presets’:
    powder.c:9352: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
    powder.c: At top level:
    powder.c:607: warning: ‘TYPE_PART’ defined but not used
    powder.c:608: warning: ‘TYPE_LIQUID’ defined but not used
    powder.c:609: warning: ‘TYPE_SOLID’ defined but not used
    powder.c:610: warning: ‘TYPE_GAS’ defined but not used
    powder.c:611: warning: ‘PROP_CONDUCTS’ defined but not used
    icon.h:22: warning: ‘app_icon_w32’ defined but not used
    powder.c: In function ‘create_parts’:
    powder.c:1051: warning: array subscript is above array bounds
    powder.c: In function ‘update_particles_i’:
    powder.c:1368: warning: ‘x’ may be used uninitialized in this function
    powder.c:1368: warning: ‘y’ may be used uninitialized in this function


    Do i need to install any programs?
  • Simon
    30th Jul 2010 Administrator 0 Permalink
    fishkid257936
    Those are not errors, they are warnings. It should have successfully built.
  • fishkid257936
    30th Jul 2010 Member 0 Permalink
    Still says, Illegal Instruction.
  • Xenocide
    30th Jul 2010 Former Staff 0 Permalink
    Going to update the wiki page, all those warnings aren't important, the game still compiles and runs fine, from terminal run
    make && ./powder

    it will compile powder toy and then run it if its successful.
  • ssc4k
    30th Jul 2010 Member 0 Permalink
    fishkid257936:
    How would I compile without SSE?

    fishkid257936:
    gcc -DINTERNAL -opowder -Wall -std=c99 -D_POSIX_C_SOURCE=200112L -fgnu89-inline -O3 -ffast-math -ftree-vectorize -funsafe-math-optimizations -lSDL -lm -lbz2 -march=k8 -DX86 -DX86_SSE3 -msse3 powder.c http.c md5.c update.c -DLIN64

    I haven't used GCC but I believe that means you are compiling as sse3?
  • zc00gii
    30th Jul 2010 Banned 0 Permalink
    This post is hidden because the user is banned