How do I install The Powder Toy?












0















I've been trying to install The Powder Toy. I am using the instructions shown on the wiki. I've performed the installation of all the stuff and did the required commands with git, but when I got to scons and ran it (I was in the proper directory,) it gave me a bunch of errors. Did I do something wrong in the installation process?



The errors are shown here:



s: Reading SConscript files ... Checking whether the C compiler works...
(cached) yes Checking whether the C++ compiler works... (cached) yes
Checking if 64 bit... (cached) yes Adding 64 bit compile flags Checking
for C library SDL2... (cached) yes Checking for C header file
SDL2/SDL.h... (cached) yes Checking for C library lua5.1... (cached) yes
Checking for C library dl... (cached) yes Checking for C library
fftw3f... (cached) yes Checking for C library bz2... (cached) yes
Checking for C header file bzlib.h... (cached) yes Checking for C
library z... (cached) yes Checking for C library pthread... (cached) yes
Checking for C library m... (cached) yes Checking for C library X11...
(cached) yes Checking for C library rt... (cached) yes scons: done
reading SConscript files. scons: Building targets ... g++ -o
build/src/PowderToySDL.o -c -std=c++11 -U__STRICT_ANSI__
-Wno-invalid-offsetof -Wno-unused-result -msse -msse2 -D_64BIT
-D_REENTRANT -DSDL_INC -DLUA_R_INCL -DLIN -DX86 -DX86_SSE -DX86_SSE2
-DGRAVFFT -DLUACONSOLE -Ibuild/src -Isrc -Ibuild/data -Idata
-Ibuild/generated -Igenerated -I/usr/include/SDL2 -I/usr/include/lua5.1
src/PowderToySDL.cpp scons: building terminated because of errors.



(This is the result of scons | nano foo and then copy-pasting the stuff from foo into this editor. This may not be the correct way to do it.)










share|improve this question

























  • "A bunch of errors" is too vague for us to be helpful. Give us the exact text of the error messages, and a link to the instructions you have been following.

    – Jos
    4 hours ago











  • Okay. I'll edit it.

    – Blue-Maned Hawk
    3 hours ago






  • 1





    Usual with builds there's a log file created on error? Perhaps you can repeat the g++ -o build/src/PowderToySDL.o -c [...] -Idata -Ibuild/generated -Igenerated -I/usr/include/SDL2 -I/usr/include/lua5.1 src/PowderToySDL.cpp command (the whole thing, not just this bit) with 2>&1 | tee build.log at the end to send all stderr and stdout to a log file? All that says is "building terminated because of errors", which isn't helpful.

    – pbhj
    3 hours ago













  • I don't think I did the nano part right. All the errors are completely different.

    – Blue-Maned Hawk
    2 hours ago


















0















I've been trying to install The Powder Toy. I am using the instructions shown on the wiki. I've performed the installation of all the stuff and did the required commands with git, but when I got to scons and ran it (I was in the proper directory,) it gave me a bunch of errors. Did I do something wrong in the installation process?



The errors are shown here:



s: Reading SConscript files ... Checking whether the C compiler works...
(cached) yes Checking whether the C++ compiler works... (cached) yes
Checking if 64 bit... (cached) yes Adding 64 bit compile flags Checking
for C library SDL2... (cached) yes Checking for C header file
SDL2/SDL.h... (cached) yes Checking for C library lua5.1... (cached) yes
Checking for C library dl... (cached) yes Checking for C library
fftw3f... (cached) yes Checking for C library bz2... (cached) yes
Checking for C header file bzlib.h... (cached) yes Checking for C
library z... (cached) yes Checking for C library pthread... (cached) yes
Checking for C library m... (cached) yes Checking for C library X11...
(cached) yes Checking for C library rt... (cached) yes scons: done
reading SConscript files. scons: Building targets ... g++ -o
build/src/PowderToySDL.o -c -std=c++11 -U__STRICT_ANSI__
-Wno-invalid-offsetof -Wno-unused-result -msse -msse2 -D_64BIT
-D_REENTRANT -DSDL_INC -DLUA_R_INCL -DLIN -DX86 -DX86_SSE -DX86_SSE2
-DGRAVFFT -DLUACONSOLE -Ibuild/src -Isrc -Ibuild/data -Idata
-Ibuild/generated -Igenerated -I/usr/include/SDL2 -I/usr/include/lua5.1
src/PowderToySDL.cpp scons: building terminated because of errors.



(This is the result of scons | nano foo and then copy-pasting the stuff from foo into this editor. This may not be the correct way to do it.)










share|improve this question

























  • "A bunch of errors" is too vague for us to be helpful. Give us the exact text of the error messages, and a link to the instructions you have been following.

    – Jos
    4 hours ago











  • Okay. I'll edit it.

    – Blue-Maned Hawk
    3 hours ago






  • 1





    Usual with builds there's a log file created on error? Perhaps you can repeat the g++ -o build/src/PowderToySDL.o -c [...] -Idata -Ibuild/generated -Igenerated -I/usr/include/SDL2 -I/usr/include/lua5.1 src/PowderToySDL.cpp command (the whole thing, not just this bit) with 2>&1 | tee build.log at the end to send all stderr and stdout to a log file? All that says is "building terminated because of errors", which isn't helpful.

    – pbhj
    3 hours ago













  • I don't think I did the nano part right. All the errors are completely different.

    – Blue-Maned Hawk
    2 hours ago
















0












0








0








I've been trying to install The Powder Toy. I am using the instructions shown on the wiki. I've performed the installation of all the stuff and did the required commands with git, but when I got to scons and ran it (I was in the proper directory,) it gave me a bunch of errors. Did I do something wrong in the installation process?



The errors are shown here:



s: Reading SConscript files ... Checking whether the C compiler works...
(cached) yes Checking whether the C++ compiler works... (cached) yes
Checking if 64 bit... (cached) yes Adding 64 bit compile flags Checking
for C library SDL2... (cached) yes Checking for C header file
SDL2/SDL.h... (cached) yes Checking for C library lua5.1... (cached) yes
Checking for C library dl... (cached) yes Checking for C library
fftw3f... (cached) yes Checking for C library bz2... (cached) yes
Checking for C header file bzlib.h... (cached) yes Checking for C
library z... (cached) yes Checking for C library pthread... (cached) yes
Checking for C library m... (cached) yes Checking for C library X11...
(cached) yes Checking for C library rt... (cached) yes scons: done
reading SConscript files. scons: Building targets ... g++ -o
build/src/PowderToySDL.o -c -std=c++11 -U__STRICT_ANSI__
-Wno-invalid-offsetof -Wno-unused-result -msse -msse2 -D_64BIT
-D_REENTRANT -DSDL_INC -DLUA_R_INCL -DLIN -DX86 -DX86_SSE -DX86_SSE2
-DGRAVFFT -DLUACONSOLE -Ibuild/src -Isrc -Ibuild/data -Idata
-Ibuild/generated -Igenerated -I/usr/include/SDL2 -I/usr/include/lua5.1
src/PowderToySDL.cpp scons: building terminated because of errors.



(This is the result of scons | nano foo and then copy-pasting the stuff from foo into this editor. This may not be the correct way to do it.)










share|improve this question
















I've been trying to install The Powder Toy. I am using the instructions shown on the wiki. I've performed the installation of all the stuff and did the required commands with git, but when I got to scons and ran it (I was in the proper directory,) it gave me a bunch of errors. Did I do something wrong in the installation process?



The errors are shown here:



s: Reading SConscript files ... Checking whether the C compiler works...
(cached) yes Checking whether the C++ compiler works... (cached) yes
Checking if 64 bit... (cached) yes Adding 64 bit compile flags Checking
for C library SDL2... (cached) yes Checking for C header file
SDL2/SDL.h... (cached) yes Checking for C library lua5.1... (cached) yes
Checking for C library dl... (cached) yes Checking for C library
fftw3f... (cached) yes Checking for C library bz2... (cached) yes
Checking for C header file bzlib.h... (cached) yes Checking for C
library z... (cached) yes Checking for C library pthread... (cached) yes
Checking for C library m... (cached) yes Checking for C library X11...
(cached) yes Checking for C library rt... (cached) yes scons: done
reading SConscript files. scons: Building targets ... g++ -o
build/src/PowderToySDL.o -c -std=c++11 -U__STRICT_ANSI__
-Wno-invalid-offsetof -Wno-unused-result -msse -msse2 -D_64BIT
-D_REENTRANT -DSDL_INC -DLUA_R_INCL -DLIN -DX86 -DX86_SSE -DX86_SSE2
-DGRAVFFT -DLUACONSOLE -Ibuild/src -Isrc -Ibuild/data -Idata
-Ibuild/generated -Igenerated -I/usr/include/SDL2 -I/usr/include/lua5.1
src/PowderToySDL.cpp scons: building terminated because of errors.



(This is the result of scons | nano foo and then copy-pasting the stuff from foo into this editor. This may not be the correct way to do it.)







command-line software-installation






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited 3 hours ago







Blue-Maned Hawk

















asked 4 hours ago









Blue-Maned HawkBlue-Maned Hawk

64




64













  • "A bunch of errors" is too vague for us to be helpful. Give us the exact text of the error messages, and a link to the instructions you have been following.

    – Jos
    4 hours ago











  • Okay. I'll edit it.

    – Blue-Maned Hawk
    3 hours ago






  • 1





    Usual with builds there's a log file created on error? Perhaps you can repeat the g++ -o build/src/PowderToySDL.o -c [...] -Idata -Ibuild/generated -Igenerated -I/usr/include/SDL2 -I/usr/include/lua5.1 src/PowderToySDL.cpp command (the whole thing, not just this bit) with 2>&1 | tee build.log at the end to send all stderr and stdout to a log file? All that says is "building terminated because of errors", which isn't helpful.

    – pbhj
    3 hours ago













  • I don't think I did the nano part right. All the errors are completely different.

    – Blue-Maned Hawk
    2 hours ago





















  • "A bunch of errors" is too vague for us to be helpful. Give us the exact text of the error messages, and a link to the instructions you have been following.

    – Jos
    4 hours ago











  • Okay. I'll edit it.

    – Blue-Maned Hawk
    3 hours ago






  • 1





    Usual with builds there's a log file created on error? Perhaps you can repeat the g++ -o build/src/PowderToySDL.o -c [...] -Idata -Ibuild/generated -Igenerated -I/usr/include/SDL2 -I/usr/include/lua5.1 src/PowderToySDL.cpp command (the whole thing, not just this bit) with 2>&1 | tee build.log at the end to send all stderr and stdout to a log file? All that says is "building terminated because of errors", which isn't helpful.

    – pbhj
    3 hours ago













  • I don't think I did the nano part right. All the errors are completely different.

    – Blue-Maned Hawk
    2 hours ago



















"A bunch of errors" is too vague for us to be helpful. Give us the exact text of the error messages, and a link to the instructions you have been following.

– Jos
4 hours ago





"A bunch of errors" is too vague for us to be helpful. Give us the exact text of the error messages, and a link to the instructions you have been following.

– Jos
4 hours ago













Okay. I'll edit it.

– Blue-Maned Hawk
3 hours ago





Okay. I'll edit it.

– Blue-Maned Hawk
3 hours ago




1




1





Usual with builds there's a log file created on error? Perhaps you can repeat the g++ -o build/src/PowderToySDL.o -c [...] -Idata -Ibuild/generated -Igenerated -I/usr/include/SDL2 -I/usr/include/lua5.1 src/PowderToySDL.cpp command (the whole thing, not just this bit) with 2>&1 | tee build.log at the end to send all stderr and stdout to a log file? All that says is "building terminated because of errors", which isn't helpful.

– pbhj
3 hours ago







Usual with builds there's a log file created on error? Perhaps you can repeat the g++ -o build/src/PowderToySDL.o -c [...] -Idata -Ibuild/generated -Igenerated -I/usr/include/SDL2 -I/usr/include/lua5.1 src/PowderToySDL.cpp command (the whole thing, not just this bit) with 2>&1 | tee build.log at the end to send all stderr and stdout to a log file? All that says is "building terminated because of errors", which isn't helpful.

– pbhj
3 hours ago















I don't think I did the nano part right. All the errors are completely different.

– Blue-Maned Hawk
2 hours ago







I don't think I did the nano part right. All the errors are completely different.

– Blue-Maned Hawk
2 hours ago












0






active

oldest

votes











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1120964%2fhow-do-i-install-the-powder-toy%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded




















































Thanks for contributing an answer to Ask Ubuntu!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1120964%2fhow-do-i-install-the-powder-toy%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

GameSpot

日野市

Tu-95轟炸機