-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwprogramh-not-found.html
145 lines (118 loc) · 17.9 KB
/
wprogramh-not-found.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!-- template base.html -->
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Problem compiling sketches, Wprogram.h not found - Gameduino Q&A Forum</title><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><meta name="description" content="Hi everyone,
While I was trying to compile the example sketches on the arduindo IDE 1.0 I got a missing Wprogram.h file"><meta name="keywords" content="compiling,arduino,sketches,Gameduino,Arduino,forum,community"><link rel="shortcut icon" href="http://answers.gameduino.com/m/default/media/images/favicon.gif?v=1"><link href="wprogramh-not-found_files/style.css" rel="stylesheet" type="text/css"><link rel="canonical" href="http://answers.gameduino.com/question/94/problem-compiling-sketches-wprogramh-not-found"><link rel="stylesheet" type="text/css" href="wprogramh-not-found_files/wmd.css"><style type="text/css">
body { margin-top:2.4em; }
</style><script type="text/javascript">
var askbot = {};
askbot['data'] = {};
askbot['urls'] = {};
askbot['settings'] = {};
askbot['messages'] = {};
</script></head> <body class="two-col question-page"> <div class="notify" style=""> <p class="darkred">First time here? Check out the <a href="http://answers.gameduino.com/faq/">FAQ</a>!</p> <a id="close-notify" onclick="notify.close(true)">×</a> </div> <!-- template header.html --> <div id="ab-header"> <div class="content-wrapper"> <a id="ab-logo" href="http://answers.gameduino.com/questions/?start_over=true"><img src="wprogramh-not-found_files/answers.png" title="back to home page" alt="Gameduino logo"></a> <div id="ab-meta-nav"> <a href="http://answers.gameduino.com/account/signin/">Hi, there! Please sign in</a> <a href="http://answers.gameduino.com/about/">about</a> <a href="http://answers.gameduino.com/faq/">faq</a> </div> <div id="ab-main-nav"> <a id="nav_questions" href="http://answers.gameduino.com/questions/" class="on">questions</a> <a id="nav_tags" href="http://answers.gameduino.com/tags/">tags</a> <a id="nav_users" href="http://answers.gameduino.com/users/">people</a> <a id="nav_badges" href="http://answers.gameduino.com/badges/">badges</a> <a id="nav_ask" href="http://answers.gameduino.com/questions/ask/" class="special">ask a question</a> </div> </div> </div> <!-- end template header.html --> <div class="content-wrapper"> <div id="CALeft"> <div id="searchBar"><form action="/questions/" method="get"><input class="searchInput" autocomplete="off" name="query" id="keywords" type="text"><input value="search" name="search" class="searchBtn" type="submit"></form></div> <h1><a href="http://answers.gameduino.com/question/94/problem-compiling-sketches-wprogramh-not-found">Problem compiling sketches, <span class="hilite1">Wprogram</span>.<span class="hilite2">h</span> not found</a></h1> <div id="askform"> <table style="width: 100%;" id="question-table"> <tbody><tr> <td style="width: 30px; vertical-align: top;"> <div class="vote-buttons"> <img id="question-img-upvote-94" class="question-img-upvote" alt="i like this post (click again to cancel)" src="wprogramh-not-found_files/vote-arrow-up.png" title="i like this post (click again to cancel)"> <div id="question-vote-number-94" class="vote-number" title="current number of votes">
2
</div> <img id="question-img-downvote-94" class="question-img-downvote" src="wprogramh-not-found_files/vote-arrow-down.png" alt="i dont like this post (click again to cancel)" title="i dont like this post (click again to cancel)"> <img class="question-img-favorite" src="wprogramh-not-found_files/vote-favorite-off.png" alt="remove favorite mark from this question (click again to restore mark)" title="remove favorite mark from this question (click again to restore mark)"> <div id="favorite-number" class="favorite-number"> </div> <a title="Share this question on twitter" class="twitter-share" alt="Share this question on twitter"></a> <a title="Share this question on facebook" class="fb-share" alt="Share this question on facebook"></a> </div> </td> <td> <div class="question-body"> <p>Hi everyone,</p> <p>While I was trying to compile the example sketches on the arduindo IDE 1.0 I got a missing <span class="hilite1">Wprogram</span>.<span class="hilite2">h</span>
file referenced in the gameduino cpp code, some googling found the
solution. In Arduino 1.0 IDE the file was renamed to Arduino.<span class="hilite2">h</span> so rename the header file <span class="hilite1">WProgram</span>.<span class="hilite2">h</span> in the GD.cpp to Arduino.<span class="hilite2">h</span> to fix the problem.</p> <p>The compiling was successful and I enjoyed the Gameduino examples live on the Uno.</p> <p>Regards</p> <p>Luc De pauw</p> <p>Htpp://vintagegamer.wordpress.com</p> </div> <ul id="question-tags" class="post-tags tags"> <li class="tag-left"><a class="tag tag-right post-tag" href="http://answers.gameduino.com/questions/?tags=compiling" title="see questions tagged 'compiling'" rel="tag">compiling</a></li> <li class="tag-left"><a class="tag tag-right post-tag" href="http://answers.gameduino.com/questions/?tags=arduino" title="see questions tagged 'arduino'" rel="tag">arduino</a></li> <li class="tag-left"><a class="tag tag-right post-tag" href="http://answers.gameduino.com/questions/?tags=sketches" title="see questions tagged 'sketches'" rel="tag">sketches</a></li> </ul> <div id="question-controls" class="post-controls"> </div> <div class="post-update-info-container"> <div class="post-update-info"> <p style="line-height:12px;">
asked
<strong>Dec 30 '11</strong> </p> <a style="text-decoration: none;" href="http://answers.gameduino.com/users/87/lucdepauw/"><img class="gravatar" src="wprogramh-not-found_files/274ad3d9cd278b427c7a9057100c5e7d.png" title="LucDePauw" alt="LucDePauw gravatar image" height="32" width="32"></a> <a href="http://answers.gameduino.com/users/87/lucdepauw/">LucDePauw</a><br> <span class="reputation-score" title="">21</span> <span title=""> <span class="badge1">●</span> <span class="badgecount">1</span> <span class="badge2">●</span> <span class="badgecount">1</span> <span class="badge3">●</span> <span class="badgecount">4</span> </span> <br> </div> </div> <div class="comments" id="comments-for-question-94"><div class="content"></div><div class="controls"><script type="text/javascript">
askbot['data']['comments-for-question-94'] = {
can_post: false,
truncated: false
};
</script></div></div> <!--/div--> </td> </tr> </tbody></table> <form id="fmanswer" action="/questions/94/answer/" method="post"> <p style="padding-left:3px"> <input class="nomargin" disabled="disabled" type="checkbox"> <label><span class="strong">Here</span> (once you log in) you will be able to sign up for the periodic email updates about this question.</label> </p> <div style="clear:both"> </div> <div style="padding:10px 0 0 0;"> <h2>
Be the first one to answer this question!
</h2> </div> <div class="message"><span class="strong big">Please start posting your answer anonymously</span>
- your answer will be saved within the current session and published
after you log in or create a new account. Please try to give a <strong>substantial answer</strong>, for discussions, <strong>please use comments</strong> and <strong>please do remember to vote</strong> (after you log in)!</div> <div id="wmd-button-bar" class="wmd-panel"><ul id="wmd-button-row"><li style="background-position: 0px 0px;" title="bold <strong> Ctrl-B" id="wmd-bold-button" class="wmd-button"></li><li style="background-position: -20px 0px;" title="italic <em> Ctrl-I" id="wmd-italic-button" class="wmd-button"></li><li id="wmd-spacer1" class="wmd-spacer"></li><li style="background-position: -40px 0px;" title="link <a> Ctrl-L" id="wmd-link-button" class="wmd-button"></li><li style="background-position: -60px 0px;" title="quote <blockquote> Ctrl-." id="wmd-quote-button" class="wmd-button"></li><li style="background-position: -80px 0px;" title="preformatted text <pre><code> Ctrl-K" id="wmd-code-button" class="wmd-button"></li><li style="background-position: -100px 0px;" title="image <img> Ctrl-G" id="wmd-image-button" class="wmd-button"></li><li style="background-position: -120px 0px;" title="attachment Ctrl-F" id="wmd-attachment-button" class="wmd-button"></li><li id="wmd-spacer2" class="wmd-spacer"></li><li style="background-position: -140px 0px;" title="numbered list <ol> Ctrl-O" id="wmd-olist-button" class="wmd-button"></li><li style="background-position: -160px 0px;" title="bulleted list <ul> Ctrl-U" id="wmd-ulist-button" class="wmd-button"></li><li style="background-position: -180px 0px;" title="heading <h1>/<h2> Ctrl-H" id="wmd-heading-button" class="wmd-button"></li><li style="background-position: -200px 0px;" title="horizontal bar <hr> Ctrl-R" id="wmd-hr-button" class="wmd-button"></li><li id="wmd-spacer3" class="wmd-spacer"></li><li style="background-position: -220px -20px;" title="undo Ctrl-Z" id="wmd-undo-button" class="wmd-button"></li><li style="background-position: -240px -20px;" title="redo - Ctrl+Shift+Z" id="wmd-redo-button" class="wmd-button"></li></ul></div> <div class="form-item"> <div class="resizable-textarea"><span><textarea class="processed" rows="10" cols="40" name="text" id="editor"></textarea><div style="margin-right: 2px;" class="grippie"></div></span></div> <label for="editor" class="form-error"></label> </div> <div class="preview-toggle"> <span id="pre-collapse" title="Toggle the real time Markdown editor preview">[hide preview]</span> </div> <div id="previewer" class="wmd-preview"></div> <input value="Login/Signup to Post" class="submit after-editor" style="float: left;" type="submit"> <div class="checkbox" title="if you choose community wiki option, the question and answer do not generate points and name of author will not be shown"> <input name="wiki" id="id_wiki" type="checkbox"> <label for="id_wiki">community wiki (karma is not awarded & many others can edit wiki post)</label> </div> </form> </div> </div> <div id="CARight"> <div class="boxC"> <p>
Tags:
</p> <ul id="related-tags" class="tags"> <li> <div class="tag-left"><a class="tag tag-right" href="http://answers.gameduino.com/questions/?tags=arduino&start_over=true" title="see questions tagged 'arduino'" rel="tag">arduino</a></div><span class="tag-number">× 5</span> </li> <li> <div class="tag-left"><a class="tag tag-right" href="http://answers.gameduino.com/questions/?tags=compiling&start_over=true" title="see questions tagged 'compiling'" rel="tag">compiling</a></div><span class="tag-number">× 1</span> </li> <li> <div class="tag-left"><a class="tag tag-right" href="http://answers.gameduino.com/questions/?tags=sketches&start_over=true" title="see questions tagged 'sketches'" rel="tag">sketches</a></div><span class="tag-number">× 1</span> </li> </ul> <p style="clear:left">
Asked: <strong title="2011-12-30 03:30:46.172412">Dec 30 '11</strong> </p> <p>
Seen: <strong>1,258 times</strong> </p> <p>
Last updated: <strong title="2011-12-30 03:30:46.172412">Dec 30 '11</strong> </p> </div> <div class="boxC"> <h2>Related questions</h2> <div class="questions-related"> <p> <a href="http://answers.gameduino.com/question/51/sound-api">Sound API?</a> </p> <p> <a href="http://answers.gameduino.com/question/84/gameduino-enclosure">GameDuino Enclosure?</a> </p> <p> <a href="http://answers.gameduino.com/question/97/is-my-gameduino-working-properly">Is my Gameduino working properly?</a> </p> <p> <a href="http://answers.gameduino.com/question/116/analog-clock">Analog clock</a> </p> </div> </div> </div> </div> <!-- template footer.html --> <div id="ground"> <div> <div class="footerLinks"> <a href="http://answers.gameduino.com/about/">about</a><span class="link-separator"> |</span> <a href="http://answers.gameduino.com/faq/">faq</a><span class="link-separator"> |</span> <a href="http://answers.gameduino.com/privacy/">privacy policy</a><span class="link-separator"> |</span> <a href="http://answers.gameduino.com/feedback/?next=/question/94/problem-compiling-sketches-wprogramh-not-found">
give feedback
</a> </div> <p> <a href="http://askbot.org/" target="_blank">
powered by ASKBOT version 0.6.76
</a><br>Copyright Gameduino.com, 2011. Some rights reserved under creative commons license.
</p> </div> <div id="licenseLogo"> <a href="http://creativecommons.org/licenses/by/3.0/"> <img src="wprogramh-not-found_files/cc-wiki.png" title="Creative Commons: Attribution - Share Alike" alt="cc-wiki" height="68" width="50"> </a> </div> </div> <!-- end template footer.html --> <script type="text/javascript">
var i18nLang = 'en';
var scriptUrl = '/'
var askbotSkin = 'default';
var enableMathJax = false;
askbot['data']['userIsAuthenticated'] = false;
askbot['urls']['mark_read_message'] = '/messages/markread/';
askbot['urls']['get_tags_by_wildcard'] = '/get-tags-by-wildcard/';
askbot['urls']['get_tag_list'] = '/get-tag-list/';
</script> <script type="text/javascript" src="wprogramh-not-found_files/jquery.js"></script> <script type="text/javascript" src="wprogramh-not-found_files/i18n.js"></script> <script type="text/javascript" src="wprogramh-not-found_files/jquery_002.js"></script> <script type="text/javascript" src="wprogramh-not-found_files/a"></script> <script type="text/javascript" src="wprogramh-not-found_files/utils.js"></script> <script type="text/javascript">
$(document).ready(function(){
$('#nav_ask').click(
function(){
var starting_title = $('#keywords').attr('value');
var new_url = $(this).attr('href') + '?title=' + encodeURIComponent(starting_title);
window.location.href = new_url;
return false;
}
);
//
$('#keywords').focus();
});
$('#validate_email_alert').click(function(){notify.close(true)})
notify.show();
</script> <script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script><script src="wprogramh-not-found_files/ga.js" type="text/javascript"></script> <script type="text/javascript">
try {
var pageTracker = _gat._getTracker('UA-19722717-2');
pageTracker._trackPageview();
} catch(err) {}
</script> <script type="text/javascript" src="wprogramh-not-found_files/editor.js"></script> <script type="text/javascript">
var codeFriendlyMarkdown = false;
var maxCommentLength = 300;
askbot['urls']['postComments'] = '/post_comments/';
askbot['urls']['editComment'] = '/edit_comment/';
askbot['urls']['deleteComment'] = '/comment/delete/';
askbot['urls']['getComment'] = '/comment/get_text/';
askbot['urls']['question_url_template'] = scriptUrl + 'question/{{QuestionID}}/{{questionSlug}}';
askbot['urls']['user_signin'] = '/account/signin/';
askbot['urls']['vote_url_template'] = scriptUrl + 'questions/{{QuestionID}}/vote/';
askbot['messages']['addComment'] = 'post a comment';
askbot['settings']['saveCommentOnEnter'] = true;
</script> <script type="text/javascript" src="wprogramh-not-found_files/showdown.js"></script> <script type="text/javascript" src="wprogramh-not-found_files/wmd.js"></script> <script type="text/javascript" src="wprogramh-not-found_files/jquery_003.js"></script> <script type="text/javascript" src="wprogramh-not-found_files/post.js"></script> <script type="text/javascript">
// define reputation needs for comments
var repNeededForComments = 50;
$().ready(function(){
$("#nav_questions").attr('className',"on");
var answer_sort_tab = "votes";
$("#" + answer_sort_tab).attr('className',"on");
Vote.init(94, 'problem-compiling-sketches-wprogramh-not-found', '87','None');
initEditor();
lanai.highlightSyntax();
$('#btLogin').bind('click', function(){window.location.href='/account/signin/'; } )
});
function initEditor(){
$('#editor').TextAreaResizer();
//highlight code synctax when editor has new text
$("#editor").typeWatch({highlight: false, wait: 3000,
captureLength: 5, callback: lanai.highlightSyntax});
var display = true;
var txt = "[hide preview]";
$('#pre-collapse').text(txt);
$('#pre-collapse').bind('click', function(){
txt = display ? "[show preview]" : "[hide preview]";
display = !display;
$('#previewer').toggle();
$('#pre-collapse').text(txt);
});
setupFormValidation($("#fmanswer"), CPValidator.getQuestionFormRules(), CPValidator.getQuestionFormMessages());
}
</script> <script type="text/javascript">
askbot['settings']['maxTagLength'] = 20;
'each tag must be shorter than %(max_chars)d characters',
askbot['messages']['maxTagLength'] = 'each tag must be shorter than 20 characters';
askbot['settings']['maxTagsPerPost'] = 5;
askbot['messages']['maxTagsPerPost'] = 'please use 5 tags or less';
askbot['messages']['tagLimits'] = 'please use up to 5 tags, less than 20 characters each';
askbot['urls']['upload'] = '/upload/';
</script> </body></html>
<!-- end template base.html -->