GL/glew.h not found error when building software The Next CEO of Stack OverflowGCC won't work....
How can I open an app using Terminal?
What is the purpose of the Evocation wizard's Potent Cantrip feature?
Error when running sfdx update to 7.1.3 then sfdx push errors
What do "high sea" and "carry" mean in this sentence?
Grabbing quick drinks
Describing a person. What needs to be mentioned?
Term for the "extreme-extension" version of a straw man fallacy?
I believe this to be a fraud - hired, then asked to cash check and send cash as Bitcoin
The King's new dress
Is it safe to use c_str() on a temporary string?
Anatomically Correct Strange Women In Ponds Distributing Swords
What is the point of a new vote on May's deal when the indicative votes suggest she will not win?
What is meant by a M next to a roman numeral?
How to safely derail a train during transit?
What can we do to stop prior company from asking us questions?
How can I get through very long and very dry, but also very useful technical documents when learning a new tool?
Is it okay to store user locations?
How to write papers efficiently when English isn't my first language?
How do I construct this japanese bowl?
Can I equip Skullclamp on a creature I am sacrificing?
Science fiction (dystopian) short story set after WWIII
How should I support this large drywall patch?
How easy is it to start Magic from scratch?
Too much space between section and text in a twocolumn document
GL/glew.h not found error when building software
The Next CEO of Stack OverflowGCC won't work. problem with /usr/local/includeError while loading shared libraries - libwebsockgcc --as-needed linker flag not workingInstalling selinux headersgcc configure --disable-shared fails to disable shared libraries during compilation, libgmp and libmpc conflictError building sane-backend on debianconfigure error “OpenSSL has unsupported dynamic loading” when building bind9crash while building with ffmpeg and contrib in raspberry pi 3 model B(debian)HP-UX Build GCC 4.8.5 fail during makebuilding gcc on hp-ux get illegel instruction
I am attempting to build a bit of software that uses GLEW. But I've found this issue exists whenever I try to build any program that uses GLEW.
Remarkably I've installed glew and can confirm that the h file it's complaining about is there. As far as I know, /usr/local/include is one of the places gcc will look, right?
$ test -e /usr/local/include/GL/glew.h
$ echo $? # 0 means file exists
0
$ cmake .
-- Configuring done
-- Generating done
-- Build files have been written to: ...
$ make
[ 14%] Building CXX object CMakeFiles/.../Main.cpp.o
In file included from ...Main.cpp:6:
...Main.hpp:10:10: fatal error:
'GL/glew.h' file not found
#include <GL/glew.h>
^~~~~~~~~~~
1 error generated.
...
Any ideas what steps I can start to take to address this problem?
Does anyone know how this is even possible?
BTW the CMakeLists.txt of this particular program simply uses link_libraries(GLEW GL GLU glut)
gcc headers build
add a comment |
I am attempting to build a bit of software that uses GLEW. But I've found this issue exists whenever I try to build any program that uses GLEW.
Remarkably I've installed glew and can confirm that the h file it's complaining about is there. As far as I know, /usr/local/include is one of the places gcc will look, right?
$ test -e /usr/local/include/GL/glew.h
$ echo $? # 0 means file exists
0
$ cmake .
-- Configuring done
-- Generating done
-- Build files have been written to: ...
$ make
[ 14%] Building CXX object CMakeFiles/.../Main.cpp.o
In file included from ...Main.cpp:6:
...Main.hpp:10:10: fatal error:
'GL/glew.h' file not found
#include <GL/glew.h>
^~~~~~~~~~~
1 error generated.
...
Any ideas what steps I can start to take to address this problem?
Does anyone know how this is even possible?
BTW the CMakeLists.txt of this particular program simply uses link_libraries(GLEW GL GLU glut)
gcc headers build
add a comment |
I am attempting to build a bit of software that uses GLEW. But I've found this issue exists whenever I try to build any program that uses GLEW.
Remarkably I've installed glew and can confirm that the h file it's complaining about is there. As far as I know, /usr/local/include is one of the places gcc will look, right?
$ test -e /usr/local/include/GL/glew.h
$ echo $? # 0 means file exists
0
$ cmake .
-- Configuring done
-- Generating done
-- Build files have been written to: ...
$ make
[ 14%] Building CXX object CMakeFiles/.../Main.cpp.o
In file included from ...Main.cpp:6:
...Main.hpp:10:10: fatal error:
'GL/glew.h' file not found
#include <GL/glew.h>
^~~~~~~~~~~
1 error generated.
...
Any ideas what steps I can start to take to address this problem?
Does anyone know how this is even possible?
BTW the CMakeLists.txt of this particular program simply uses link_libraries(GLEW GL GLU glut)
gcc headers build
I am attempting to build a bit of software that uses GLEW. But I've found this issue exists whenever I try to build any program that uses GLEW.
Remarkably I've installed glew and can confirm that the h file it's complaining about is there. As far as I know, /usr/local/include is one of the places gcc will look, right?
$ test -e /usr/local/include/GL/glew.h
$ echo $? # 0 means file exists
0
$ cmake .
-- Configuring done
-- Generating done
-- Build files have been written to: ...
$ make
[ 14%] Building CXX object CMakeFiles/.../Main.cpp.o
In file included from ...Main.cpp:6:
...Main.hpp:10:10: fatal error:
'GL/glew.h' file not found
#include <GL/glew.h>
^~~~~~~~~~~
1 error generated.
...
Any ideas what steps I can start to take to address this problem?
Does anyone know how this is even possible?
BTW the CMakeLists.txt of this particular program simply uses link_libraries(GLEW GL GLU glut)
gcc headers build
gcc headers build
asked 7 mins ago
Samy BencherifSamy Bencherif
20614
20614
add a comment |
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
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
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1418864%2fgl-glew-h-not-found-error-when-building-software%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
Thanks for contributing an answer to Super User!
- 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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1418864%2fgl-glew-h-not-found-error-when-building-software%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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