Results 1 to 7 of 7 Thread: /usr/bin/ld: cannot find -lglut Thread Tools Show Printable Version Email this Page… Display Linear Mode Switch to Hybrid Mode Switch to Threaded Mode 02-06-2004,06:05 I've also installed OpenGL for development using sudo apt-get update sudo apt-get install mesa-common-dev sudo apt-get install build-essential When compiling my Qt Project, I get "cannot find -lGL" and "cannot find What episode of Star Trek is this creature on? Opengl, glew and freeglut are installed but when I compile it says that glut is not found. navigate here
more stack exchange communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed FAQ Forum Quick Links Unanswered Posts New Posts View Forum Leaders FAQ Contact an Admin Forum Community Forum Council FC Agenda Forum Governance Forum Staff Ubuntu Forums Code of Conduct Forum Reason: Incorrect info in post Adv Reply Quick Navigation New to Ubuntu Top Site Areas Settings Private Messages Subscriptions Who's Online Search Forums Forums Home Forums The Ubuntu Forum Community For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. https://ubuntuforums.org/showthread.php?t=1620635
The Issue I have a make file constructed which compiles about 7-8 files into .o files which are then linked together with a few libraries. files are. I didn't really want this.3) I checked build-shared, build-examples, install, install-doc, and made the build type Debug and install-prefix /usr/local/. The last option simply copies the compiled library to /usr/local/lib/ which I would have done myself anyway so it was convenient.4) I clicked configure and then generate and chose Unix Makefile.5)
Home Qt Development General and Desktop Ubuntu Linux 13.and Qt 5.3 "cannot find -lGL" and "-lglut" even though I installed them Ubuntu Linux 13.and Qt 5.3 "cannot find -lGL" and "-lglut" They may be named like freeglut-32bit or something like that. As it turns out, this is important for the build script to find the included freeglut. brebarth last edited by Ah, need a little help here.
Code: Select all-lglut ...in 2 places.Things should then proceed fine.HTH, Rupertp.s. However, when I compile my code, I got the below error: gcc -I/usr/X11R6/include/ -o myWindow -L/usr/X11R6/lXmu -lGL -lGLU -lm -lglut /usr/bin/ld: cannot find -lglut collect2: ld returned 1 exit status make: apparently the Makefile absolutely must be placed in the Build directory and made from there. http://stackoverflow.com/questions/17252326/cannot-find-lglut-but-freeglut3-dev-is-installed Ubuntu Ubuntu Insights Planet Ubuntu Activity Page Please read before SSO login Advanced Search Forum The Ubuntu Forum Community Ubuntu Official Flavours Support New to Ubuntu [SOLVED] Make error - /usr/bin/ld:
The problem is that the linker refuses to find them. My main question is, how do I get -lglew and -lglut to link up with each other? c++ compilation makefile share|improve this question asked Dec 28 '11 at 4:45 zeboidlund 3,2791371142 You're compiling using -m32 to build a 32-bit version, but it looks like your /usr/lib/libglut.so Assembler for CPU Start a coup online without the government intervening Solving a discrete equation How good should one be to participate in PS?
What is the most someone can lose the popular vote by but still win the electoral college? https://www.opengl.org/discussion_boards/showthread.php/158288-usr-bin-ld-cannot-find-lglut I would also like to put my .o files in my obj folder and my binaries in a bin folder. Why does Cutie act like this and lesser robots listen to it? When does TNG take place in relation to DS9?
Reply Quote 0 brebarth last edited by I added @LIBS += -L/usr/lib/x86_64-linux-gnu/mesa [email protected] to the .pro file now I get @:-1: error: error: cannot open /usr/lib/x86_64-linux-gnu/mesa/libGL.so: No such file or [email protected] http://ibuildsystem.com/ubuntu-cannot/ubuntu-cannot-find-x-includes.php Polyglot Anagrams Cops' Thread Build me a brick wall! Below is the output:Code: Select [email protected] ~/Documents/Box2D_v2.2.1 $ sudo make
[ 42%] Built target Box2D_shared
Linking CXX executable HelloWorld
/usr/bin/ld: cannot find -lBox2D
collect2: ld returned 1 exit status
make: *** Does Intel sell CPUs in ribbons?
Not really sure what else you need. Visit the following links: Site Howto | Site FAQ | Sitemap | Register Now If you have any problems with the registration process or your account login, please contact us. Browse other questions tagged c++ opengl glut freeglut or ask your own question. his comment is here Main Menu LQ Calendar LQ Rules LQ Sitemap Site FAQ View New Posts View Latest Posts Zero Reply Threads LQ Wiki Most Wanted Jeremy's Blog Report LQ Bug Syndicate Latest
more stack exchange communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed Not the answer you're looking for? Word for a Fact Believed by a Sub-Culture Find the rate of change at a point on a polynomial What is the point of update independent rendering in a game loop?
Finally, Ubuntu 9.04 is well over two years old. The time now is 06:53 PM. Reply Quote 0 brebarth last edited by That is Ubuntu 13.04 Reply Quote 0 Zlatomir last edited by Install opengl: @sudo apt-get install [email protected] for glut i don't know the package Join them; it only takes a minute: Sign up Cannot find -lglut but freeglut3-dev is installed up vote 0 down vote favorite I'm trying to launch a test for opengl on
Review your favorite Linux distribution. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. Code: Select all-lGLUT ...to... weblink Does Intel sell CPUs in ribbons?
Results 1 to 1 of 1 Thread: Make error - /usr/bin/ld: cannot find -lglut Thread Tools Show Printable Version Subscribe to this Thread… Display Linear Mode Switch to Hybrid Mode Switch To link your application to libGL, you would use 'gcc -lGL'. Word for a Fact Believed by a Sub-Culture Straight line equation Can proliferate be applied to loyalty counters? sanjeevyadav248 View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by sanjeevyadav248 08-12-2011, 09:24 AM #5 adamk75 Senior Member Registered: May 2006 Posts:
Search this Thread 08-12-2011, 06:59 AM #1 sanjeevyadav248 LQ Newbie Registered: Aug 2011 Posts: 3 Rep: cannot find -lglut.h, -lglxext etc... If you need to reset your password, click here. Can an object *immediately* start moving at a high velocity? Code: Select allBuild/gmake/Testbed.make ...file from...
Note that there are a few pre-requisites which you can use yum or apt-get to install. sanjeevyadav248 View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by sanjeevyadav248 08-12-2011, 09:15 AM #4 sanjeevyadav248 LQ Newbie Registered: Aug 2011 Posts: Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. linux ubuntu share|improve this question asked Feb 25 '13 at 9:50 Baseem Najjar 3502614 add a comment| 2 Answers 2 active oldest votes up vote 6 down vote You're going to
Is this possible in a makefile? LinuxQuestions.org > Forums > Non-*NIX Forums > Programming cannot find -lglut.h, -lglxext etc... I just want to post where I've left off in case anyone can shed light on this while I'm asleep. straight lines + point of intersection in TikZ As a monk, can I use Deflect Missiles to protect my ally?
How to handle swear words in quote / transcription? Only users with topic management privileges can see it. asked 4 years ago viewed 3353 times active 4 years ago Upcoming Events 2016 Community Moderator Election ends Nov 22 Linked 9 GCC -m32 flag: /usr/bin/ld: skipping incompatible Related 1Weird ar Assigning only part of a string to a variable in bash Lab colleague uses cracked software.
Please help. Can anyone advise what to do and what can be done next. PS, BIN is a dir, why do you put it into compile object? $(CC) $(LIBS) $(INCLUDEPATH) $(CFLAGS) -o $(TARGET) $(DEPS) $(BIN) share|improve this answer answered Dec 28 '11 at 4:51 pinxue I've installed Ubuntu, and QtCreator with Qt 5.3.