How to install GLEW?

Tech support and suggestions forum. If you only have a basic question on how to get started, please use the "newbies" forum in the community section.

Moderator: joepal

How to install GLEW?

Postby ThomasL » Fri May 28, 2010 1:08 am

I'm building with scons on Ubuntu and compile_src.bat on Windows (or rather a copy of compile_src with mingw on C:). Both builds fail because GLEW is not found. On Linux I apt-get installed glew-utils, libglew1.5, libglewmx1.5, python-pyglew, but it did not help.
ThomasL
 
Posts: 1139
Joined: Tue Sep 15, 2009 2:46 am

Re: How to install GLEW?

Postby mflerackers » Fri May 28, 2010 7:06 am

you need libglew-dev if you want to build it.
MakeHuman project Developer
mflerackers
 
Posts: 636
Joined: Thu Feb 05, 2009 11:53 am
Location: Kyoto

Re: How to install GLEW?

Postby mflerackers » Fri May 28, 2010 7:16 am

Also, I don't think those bat/sh files are being maintained, the way to build makehuman is using scons.
MakeHuman project Developer
mflerackers
 
Posts: 636
Joined: Thu Feb 05, 2009 11:53 am
Location: Kyoto

Re: How to install GLEW?

Postby ThomasL » Fri May 28, 2010 4:31 pm

Thanks, now it works on Linux. I still haven't gotten scons to work under Windows, though. It complains that python 2.6 C development libraries are missing (or something like that, I don't have access to Windows right now). How do I install those?
ThomasL
 
Posts: 1139
Joined: Tue Sep 15, 2009 2:46 am

Re: How to install GLEW?

Postby mflerackers » Sat May 29, 2010 1:48 am

I think the dev files just come with the python installer, but in the python folder. In the include and libs folders. If you use mingw, you probably have to copy them. Most devs on windows use visual studio (it is free http://www.microsoft.com/express/Windows/), there you just have to add the folders to the project settings.
MakeHuman project Developer
mflerackers
 
Posts: 636
Joined: Thu Feb 05, 2009 11:53 am
Location: Kyoto

Re: How to install GLEW?

Postby m.e » Sun May 30, 2010 3:09 am

Does anyone know where to find libglew-dev for Fedora? I'm getting no package available (for F13).
m.e
 
Posts: 56
Joined: Wed Jul 23, 2008 9:20 am
Location: Shenzhen/Hong Kong

Re: How to install GLEW?

Postby joepal » Sun May 30, 2010 4:20 am

Worst case, I guess you could download the source tarball and do a make install:

http://glew.sourceforge.net/install.html
Joel Palmius (LinkedIn)
MakeHuman Infrastructure Manager
http://www.palmius.com/joel
joepal
 
Posts: 4474
Joined: Wed Jun 04, 2008 11:20 am

Installed glew-devel but other problems

Postby m.e » Sun May 30, 2010 3:00 pm

It turns out to be glew-devel in Fedora. It's in the normal repositories, so it's just a case of yum or package manager.

I've got other build problems but I'll move them to a new thread.
m.e
 
Posts: 56
Joined: Wed Jul 23, 2008 9:20 am
Location: Shenzhen/Hong Kong

Re: How to install GLEW?

Postby Nadow » Sun Jun 13, 2010 3:22 pm

I have the same problem building MakeHuman on Ubuntu 10.04:

I use:
./compile_src.sh

Terminal output:
gcc: /usr/src/glew/glew.c: No such file or directory

But I have installed:
glew-utils
libglew1.5
libglew1.5-dev
libglewmx1.5
libglewmx1.5-dev
python-pyglew

Where is the problem?
Desaster Games
// Lead artist
Nadow
 
Posts: 61
Joined: Fri Mar 28, 2008 3:11 pm

Re: How to install GLEW?

Postby joepal » Sun Jun 13, 2010 4:54 pm

I polished the Makefile a while ago. On ubuntu, I'd recommend using that instead. Works for me. With the packages installed try:

make -f Makefile.Linux
Joel Palmius (LinkedIn)
MakeHuman Infrastructure Manager
http://www.palmius.com/joel
joepal
 
Posts: 4474
Joined: Wed Jun 04, 2008 11:20 am

Next

Return to Bugs, problems and feature requests

Who is online

Users browsing this forum: No registered users and 1 guest

cron