maizensh / glfx

Automatically exported from code.google.com/p/glfx
BSD 2-Clause "Simplified" License
36 stars 10 forks source link

Compilation failed #14

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I did:
svn checkout http://glfx.googlecode.com/svn/trunk/ libglfx #On 01 June 2013
cd libglfx
./configure
make

As advised per : http://ogldev.atspace.co.uk/www/tutorial34/tutorial34.html

Make exited with error 2. It failed to find "include/glfx.h".

The file "glfx.h" is actually located in "include/gl/" and not in "include/". 
Simply changing "libglfx/Makefile" and "libglfx/src/Makefile" to look for it in 
"include/gl/glfx.h" fixed the problem.

I am using Ubuntu 12.10 with up to date make and GCC.

Original issue reported on code.google.com by xonar.le...@gmail.com on 1 Jun 2013 at 7:56

GoogleCodeExporter commented 9 years ago
Thank you for reporting this. We're currently going through the transition to 
CMake, so there are misses with automake. We'll fix it, but automake will be 
probably phased out soon.
On the same note, CMake scripts in the trunk should already work for everything 
except installation.

Original comment by max.snif...@gmail.com on 1 Jun 2013 at 9:19

GoogleCodeExporter commented 9 years ago
Always a pleasure. Thanks for the quick response. 

Original comment by xonar.le...@gmail.com on 1 Jun 2013 at 10:07

stuaxo commented 9 years ago

Hi, Just hit the same thing, it would be good to remove the old scripts scripts as it's confusing seeing ./configure etc too.

S

maizensh commented 9 years ago

Thanks for the report! I see this is becoming an issue. I'll find some time to clean up the old stuff soon.

Max

-----Original Message----- From: "Stuart Axon" notifications@github.com Sent: ‎7/‎31/‎2015 16:20 To: "maizensh/glfx" glfx@noreply.github.com Subject: Re: [glfx] Compilation failed (#14)

Hi, Just hit the same thing, it would be good to remove the old scripts scripts as it's confusing seeing ./configure etc too. S — Reply to this email directly or view it on GitHub.

stuaxo commented 9 years ago

BW - If I want to use this, e.g. with the examples at http://ogldev.atspace.co.uk/ do I need to copy glfx.h to /usr/include as well?

I manually copied libglfx.so to /usr/local/lib - should make install do this ?

stuaxo commented 9 years ago

Oops, just noticed it does copy the .h file