Freeglut () failed to open display

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
0
down vote

favorite












I'm new to coding, running a software called Madagascar within Cygwin.
I have made a SConscript file and then run the command scons, which works. But when I run the command scons view, which is supposed to plot/display a graph made in the SConscript file, I get the error:



freeglut (/home/madagascar/bin/sfpen): failed to open display ''
scons: *** [first.view] Error 1
scons: building terminated because of errors.


Can somebody help me out? I am not sure what to do about this freeglut thing.







share|improve this question





















  • Are you running the X server ?
    – matzeri
    Jun 21 at 20:21










  • Hi, I am attempting to but it's flawed. The XWin Server does not open for me from the Start menu. The command startx works to open some sort of plotting window but can only plot one figure there. If I try to run the multi-window version (command is startxwin), nothing opens. Another thing is I have run the command "export DISPLAY =:0.0" in hopes that that is setting my display environment variable correctly - maybe this is actually incorrect though and this is the cause for the error
    – Mike
    Jun 21 at 22:11











  • Startxwin does not open anything. It shows an X icon on the menu toolbar and from that you can start the Xterminal or other programs.
    – matzeri
    Jun 22 at 5:07














up vote
0
down vote

favorite












I'm new to coding, running a software called Madagascar within Cygwin.
I have made a SConscript file and then run the command scons, which works. But when I run the command scons view, which is supposed to plot/display a graph made in the SConscript file, I get the error:



freeglut (/home/madagascar/bin/sfpen): failed to open display ''
scons: *** [first.view] Error 1
scons: building terminated because of errors.


Can somebody help me out? I am not sure what to do about this freeglut thing.







share|improve this question





















  • Are you running the X server ?
    – matzeri
    Jun 21 at 20:21










  • Hi, I am attempting to but it's flawed. The XWin Server does not open for me from the Start menu. The command startx works to open some sort of plotting window but can only plot one figure there. If I try to run the multi-window version (command is startxwin), nothing opens. Another thing is I have run the command "export DISPLAY =:0.0" in hopes that that is setting my display environment variable correctly - maybe this is actually incorrect though and this is the cause for the error
    – Mike
    Jun 21 at 22:11











  • Startxwin does not open anything. It shows an X icon on the menu toolbar and from that you can start the Xterminal or other programs.
    – matzeri
    Jun 22 at 5:07












up vote
0
down vote

favorite









up vote
0
down vote

favorite











I'm new to coding, running a software called Madagascar within Cygwin.
I have made a SConscript file and then run the command scons, which works. But when I run the command scons view, which is supposed to plot/display a graph made in the SConscript file, I get the error:



freeglut (/home/madagascar/bin/sfpen): failed to open display ''
scons: *** [first.view] Error 1
scons: building terminated because of errors.


Can somebody help me out? I am not sure what to do about this freeglut thing.







share|improve this question













I'm new to coding, running a software called Madagascar within Cygwin.
I have made a SConscript file and then run the command scons, which works. But when I run the command scons view, which is supposed to plot/display a graph made in the SConscript file, I get the error:



freeglut (/home/madagascar/bin/sfpen): failed to open display ''
scons: *** [first.view] Error 1
scons: building terminated because of errors.


Can somebody help me out? I am not sure what to do about this freeglut thing.









share|improve this question












share|improve this question




share|improve this question








edited Jun 22 at 8:08









Thomas

3,38941023




3,38941023









asked Jun 21 at 17:54









Mike

1




1











  • Are you running the X server ?
    – matzeri
    Jun 21 at 20:21










  • Hi, I am attempting to but it's flawed. The XWin Server does not open for me from the Start menu. The command startx works to open some sort of plotting window but can only plot one figure there. If I try to run the multi-window version (command is startxwin), nothing opens. Another thing is I have run the command "export DISPLAY =:0.0" in hopes that that is setting my display environment variable correctly - maybe this is actually incorrect though and this is the cause for the error
    – Mike
    Jun 21 at 22:11











  • Startxwin does not open anything. It shows an X icon on the menu toolbar and from that you can start the Xterminal or other programs.
    – matzeri
    Jun 22 at 5:07
















  • Are you running the X server ?
    – matzeri
    Jun 21 at 20:21










  • Hi, I am attempting to but it's flawed. The XWin Server does not open for me from the Start menu. The command startx works to open some sort of plotting window but can only plot one figure there. If I try to run the multi-window version (command is startxwin), nothing opens. Another thing is I have run the command "export DISPLAY =:0.0" in hopes that that is setting my display environment variable correctly - maybe this is actually incorrect though and this is the cause for the error
    – Mike
    Jun 21 at 22:11











  • Startxwin does not open anything. It shows an X icon on the menu toolbar and from that you can start the Xterminal or other programs.
    – matzeri
    Jun 22 at 5:07















Are you running the X server ?
– matzeri
Jun 21 at 20:21




Are you running the X server ?
– matzeri
Jun 21 at 20:21












Hi, I am attempting to but it's flawed. The XWin Server does not open for me from the Start menu. The command startx works to open some sort of plotting window but can only plot one figure there. If I try to run the multi-window version (command is startxwin), nothing opens. Another thing is I have run the command "export DISPLAY =:0.0" in hopes that that is setting my display environment variable correctly - maybe this is actually incorrect though and this is the cause for the error
– Mike
Jun 21 at 22:11





Hi, I am attempting to but it's flawed. The XWin Server does not open for me from the Start menu. The command startx works to open some sort of plotting window but can only plot one figure there. If I try to run the multi-window version (command is startxwin), nothing opens. Another thing is I have run the command "export DISPLAY =:0.0" in hopes that that is setting my display environment variable correctly - maybe this is actually incorrect though and this is the cause for the error
– Mike
Jun 21 at 22:11













Startxwin does not open anything. It shows an X icon on the menu toolbar and from that you can start the Xterminal or other programs.
– matzeri
Jun 22 at 5:07




Startxwin does not open anything. It shows an X icon on the menu toolbar and from that you can start the Xterminal or other programs.
– matzeri
Jun 22 at 5:07















active

oldest

votes











Your Answer







StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
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',
convertImagesToLinks: false,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);








 

draft saved


draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f451161%2ffreeglut-failed-to-open-display%23new-answer', 'question_page');

);

Post as a guest



































active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes










 

draft saved


draft discarded


























 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f451161%2ffreeglut-failed-to-open-display%23new-answer', 'question_page');

);

Post as a guest













































































Popular posts from this blog

How to check contact read email or not when send email to Individual?

Bahrain

Postfix configuration issue with fips on centos 7; mailgun relay