qdtk / openshadinglanguage

Automatically exported from code.google.com/p/openshadinglanguage
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Compilation fixes for g++ 4.3.2 / Ubuntu 8.10 #56

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Compilation fail due to missing headers.

I attached a patch for compilation.

Please also note that building of OSL require cmake 2.6.4, however on
Ubuntu 8.10 cmake 2.6.0 is installed by default. There is no check for
2.6.4. The required feature of cmake is in src/shaders/CMakeLists.txt:

add_custom_target (shaders ALL
                   DEPENDS ${shader_objs}
                   SOURCES ${shader_source} ${shader_headers})

SOURCES keyword is not supported in cmake 2.6.0, so I manually installed 2.6.4.

Original issue reported on code.google.com by dmitri.r...@googlemail.com on 22 Feb 2010 at 10:34

Attachments: