maizensh / glfx

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

GLFX out of source build with CMake. #17

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create a new directory glfx-build/
2. cd to glfx-build/
3. Run cmake -G Unix\ Makefiles glfx-read-only/
4. Run sudo make install

What is the expected output? What do you see instead?
The project is build and installed, but instead it fails because it produces 
"file INSTALL cannot find
  "glfx-read-only/src/libglfx_static.a"

What version of the product are you using? On what operating system?
The latest svn repository version, on arch linux.

Please provide any additional information below.
It seems to be the case that the install points to the source directory instead 
of the build directory.

Original issue reported on code.google.com by mauricel...@gmail.com on 4 Jan 2015 at 6:12

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Can Steven or Etay take a look at this?

I currently don't have Linux.
If they won't reply I'll see what I can do about it.
Either way, you can build it without CMake and it should work fine.

Original comment by max.snif...@gmail.com on 5 Jan 2015 at 9:38

GoogleCodeExporter commented 9 years ago
I think that I have found a possible solution: inside 
glfx-read-only/src/CMakeLists.txt the INSTALL commands specify libglfx_static.a 
instead of the path ${CMAKE_BINARY_DIR}/src/libglfx_static.a.

BTW, the other build option using ./configure; make; make install also 
complains about the fact that some use include/gl/glfx.h and others use 
include/glfx.h.

Original comment by mauricel...@gmail.com on 5 Jan 2015 at 11:40

GoogleCodeExporter commented 9 years ago
I see. I talked with Etay and he'll take a look at it on the weekend.

Thanks for the report and information.

Original comment by max.snif...@gmail.com on 7 Jan 2015 at 10:45

GoogleCodeExporter commented 9 years ago
Etay tried it and when he's building in source then it works, so I'm inclined 
to believe you're right.
Can you send me a patch file so I can check it in?

Original comment by max.snif...@gmail.com on 11 Jan 2015 at 8:57

GoogleCodeExporter commented 9 years ago
Ok I was not so familiar with the patch creation in svn, but this should be 
right.

Original comment by mauricel...@gmail.com on 13 Jan 2015 at 5:58

Attachments:

GoogleCodeExporter commented 9 years ago
Thanks a lot for the patch and the report. I've checked it in.

I wrote you as Maurice in contributors. If you'd like to add a last name or 
correct my guess please tell me.

Original comment by max.snif...@gmail.com on 13 Jan 2015 at 7:10

GoogleCodeExporter commented 9 years ago

Original comment by max.snif...@gmail.com on 16 Jan 2015 at 3:48