Csound Csound-dev Csound-tekno Search About

[Cs-dev] cmake troubles

Date2012-07-19 17:22
Fromjohn ffitch
Subject[Cs-dev] cmake troubles
********-- Could NOT find OpenGL (missing:  OPENGL_gl_LIBRARY) 
********-- Could NOT find FLTK (missing:  FLTK_INCLUDE_DIR) 
-- Building csLadspa
-- BUILD_TCLCSOUND1 is disabled
-- BUILD_CSBEATS is enabled
-- PD_HEADER="", so disabling BUILD_PD_CLASS
-- BUILD_PD_CLASS is disabled
********-- FLTK_FOUND="FALSE", so disabling BUILD_WINSOUND
********-- BUILD_WINSOUND is disabled
-- Could NOT find Boost
-- Could NOT find OpenGL (missing:  OPENGL_gl_LIBRARY) 
-- Could NOT find FLTK (missing:  FLTK_INCLUDE_DIR) 
-- Could NOT find Lua51 (missing:  LUA_LIBRARIES LUA_INCLUDE_DIR) 
-- BUILD_CSOUND_AC is disabled
-- BUILD_CSOUND_AC_PYTHON_INTERFACE is disabled
-- BUILD_CSOUND_AC_LUA_INTERFACE is disabled
-- Configuring done

Why?  fltk stuff builds ok in cs5,  fltk and fltk-devel are installed.
Cannot find a package with opengl.

==John ffitch

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2012-07-19 22:52
FromSteven Yi
SubjectRe: [Cs-dev] cmake troubles
Could you post what was in the log before the Could not find OpenGL?
We had gone through another FLTK related cmake issue earlier on this
list and it ended up with adding:

    set(FLTK_SKIP_OPENGL true)

to InOut/CMakeLists.txt.  However, I can't tell from the log if FLTK
is being used for something else in Csound  and it's failing there, or
what.

Thanks!
steven

On Thu, Jul 19, 2012 at 12:22 PM, john ffitch  wrote:
> ********-- Could NOT find OpenGL (missing:  OPENGL_gl_LIBRARY)
> ********-- Could NOT find FLTK (missing:  FLTK_INCLUDE_DIR)
> -- Building csLadspa
> -- BUILD_TCLCSOUND1 is disabled
> -- BUILD_CSBEATS is enabled
> -- PD_HEADER="", so disabling BUILD_PD_CLASS
> -- BUILD_PD_CLASS is disabled
> ********-- FLTK_FOUND="FALSE", so disabling BUILD_WINSOUND
> ********-- BUILD_WINSOUND is disabled
> -- Could NOT find Boost
> -- Could NOT find OpenGL (missing:  OPENGL_gl_LIBRARY)
> -- Could NOT find FLTK (missing:  FLTK_INCLUDE_DIR)
> -- Could NOT find Lua51 (missing:  LUA_LIBRARIES LUA_INCLUDE_DIR)
> -- BUILD_CSOUND_AC is disabled
> -- BUILD_CSOUND_AC_PYTHON_INTERFACE is disabled
> -- BUILD_CSOUND_AC_LUA_INTERFACE is disabled
> -- Configuring done
>
> Why?  fltk stuff builds ok in cs5,  fltk and fltk-devel are installed.
> Cannot find a package with opengl.
>
> ==John ffitch
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2012-07-20 18:14
Fromjpff@cs.bath.ac.uk
SubjectRe: [Cs-dev] cmake troubles
> Could you post what was in the log before the Could not find OpenGL?

Not sure how to do this -- it is run now and make does just that
Presumably I need to delete something


> We had gone through another FLTK related cmake issue earlier on this
> list and it ended up with adding:
>
>     set(FLTK_SKIP_OPENGL true)
>
> to InOut/CMakeLists.txt.  However, I can't tell from the log if FLTK
> is being used for something else in Csound  and it's failing there, or
> what.

How do I find out?  fltk works in cs5 OK
I think that was the first failure that I could not explain (no lua so
that is not a failure)

>
> Thanks!
> steven
>
> On Thu, Jul 19, 2012 at 12:22 PM, john ffitch  wrote:
>> ********-- Could NOT find OpenGL (missing:  OPENGL_gl_LIBRARY)
>> ********-- Could NOT find FLTK (missing:  FLTK_INCLUDE_DIR)
>> -- Building csLadspa
>> -- BUILD_TCLCSOUND1 is disabled
>> -- BUILD_CSBEATS is enabled
>> -- PD_HEADER="", so disabling BUILD_PD_CLASS
>> -- BUILD_PD_CLASS is disabled
>> ********-- FLTK_FOUND="FALSE", so disabling BUILD_WINSOUND
>> ********-- BUILD_WINSOUND is disabled
>> -- Could NOT find Boost
>> -- Could NOT find OpenGL (missing:  OPENGL_gl_LIBRARY)
>> -- Could NOT find FLTK (missing:  FLTK_INCLUDE_DIR)
>> -- Could NOT find Lua51 (missing:  LUA_LIBRARIES LUA_INCLUDE_DIR)
>> -- BUILD_CSOUND_AC is disabled
>> -- BUILD_CSOUND_AC_PYTHON_INTERFACE is disabled
>> -- BUILD_CSOUND_AC_LUA_INTERFACE is disabled
>> -- Configuring done
>>
>> Why?  fltk stuff builds ok in cs5,  fltk and fltk-devel are installed.
>> Cannot find a package with opengl.
>>
>> ==John ffitch
>>
>> ------------------------------------------------------------------------------
>> Live Security Virtual Conference
>> Exclusive live event will cover all the ways today's security and
>> threat landscape has changed and how IT managers can respond.
>> Discussions
>> will include endpoint security, mobile security and the latest in
>> malware
>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
>
>



------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2012-07-20 18:20
FromSteven Yi
SubjectRe: [Cs-dev] cmake troubles
You can delete CMakeCache.txt in the directory where you're building.
This will force a complete regeneration of Makefiles next time you run
CMake.

I did a grep just now, and FLTK appears in frontends/CMakeLists.txt as
well as frontends/CsoundAC/CMakeLists.txt.  My guess is that it is the
addition of Winsound in the CSound6 repo that is the difference.
Could you try adding "   set(FLTK_SKIP_OPENGL true)" in
frontends/CMakeLists.txt, perhaps on line 5, so that it is before the
call to find_package(FLTK) in that file?

On Fri, Jul 20, 2012 at 1:14 PM,   wrote:
>> Could you post what was in the log before the Could not find OpenGL?
>
> Not sure how to do this -- it is run now and make does just that
> Presumably I need to delete something
>
>
>> We had gone through another FLTK related cmake issue earlier on this
>> list and it ended up with adding:
>>
>>     set(FLTK_SKIP_OPENGL true)
>>
>> to InOut/CMakeLists.txt.  However, I can't tell from the log if FLTK
>> is being used for something else in Csound  and it's failing there, or
>> what.
>
> How do I find out?  fltk works in cs5 OK
> I think that was the first failure that I could not explain (no lua so
> that is not a failure)
>
>>
>> Thanks!
>> steven
>>
>> On Thu, Jul 19, 2012 at 12:22 PM, john ffitch  wrote:
>>> ********-- Could NOT find OpenGL (missing:  OPENGL_gl_LIBRARY)
>>> ********-- Could NOT find FLTK (missing:  FLTK_INCLUDE_DIR)
>>> -- Building csLadspa
>>> -- BUILD_TCLCSOUND1 is disabled
>>> -- BUILD_CSBEATS is enabled
>>> -- PD_HEADER="", so disabling BUILD_PD_CLASS
>>> -- BUILD_PD_CLASS is disabled
>>> ********-- FLTK_FOUND="FALSE", so disabling BUILD_WINSOUND
>>> ********-- BUILD_WINSOUND is disabled
>>> -- Could NOT find Boost
>>> -- Could NOT find OpenGL (missing:  OPENGL_gl_LIBRARY)
>>> -- Could NOT find FLTK (missing:  FLTK_INCLUDE_DIR)
>>> -- Could NOT find Lua51 (missing:  LUA_LIBRARIES LUA_INCLUDE_DIR)
>>> -- BUILD_CSOUND_AC is disabled
>>> -- BUILD_CSOUND_AC_PYTHON_INTERFACE is disabled
>>> -- BUILD_CSOUND_AC_LUA_INTERFACE is disabled
>>> -- Configuring done
>>>
>>> Why?  fltk stuff builds ok in cs5,  fltk and fltk-devel are installed.
>>> Cannot find a package with opengl.
>>>
>>> ==John ffitch
>>>
>>> ------------------------------------------------------------------------------
>>> Live Security Virtual Conference
>>> Exclusive live event will cover all the ways today's security and
>>> threat landscape has changed and how IT managers can respond.
>>> Discussions
>>> will include endpoint security, mobile security and the latest in
>>> malware
>>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>> ------------------------------------------------------------------------------
>> Live Security Virtual Conference
>> Exclusive live event will cover all the ways today's security and
>> threat landscape has changed and how IT managers can respond. Discussions
>> will include endpoint security, mobile security and the latest in malware
>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>>
>>
>
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2012-07-20 18:35
Fromjpff@cs.bath.ac.uk
SubjectRe: [Cs-dev] cmake troubles
> You can delete CMakeCache.txt in the directory where you're building.
> This will force a complete regeneration of Makefiles next time you run
> CMake.
>
> I did a grep just now, and FLTK appears in frontends/CMakeLists.txt as
> well as frontends/CsoundAC/CMakeLists.txt.  My guess is that it is the
> addition of Winsound in the CSound6 repo that is the difference.
> Could you try adding "   set(FLTK_SKIP_OPENGL true)" in
> frontends/CMakeLists.txt, perhaps on line 5, so that it is before the
> call to find_package(FLTK) in that file?

Adding the set(FLTK_SKIP_OPENGL true) line changed something.  I think it
created winFLTK

So maybe OK now, not that I understand why!

==John ff



------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2012-07-20 18:47
FromSteven Yi
SubjectRe: [Cs-dev] cmake troubles
It seems we ran into a problem a few months back with OPENGL and FLTK
on SuSE 64-bit, and we had corrected it by adding that flag.  Seems
like we just need to be sure to add it to other CMake files if they're
using FLTK as well.  Glad that things are working now!

On Fri, Jul 20, 2012 at 1:35 PM,   wrote:
>> You can delete CMakeCache.txt in the directory where you're building.
>> This will force a complete regeneration of Makefiles next time you run
>> CMake.
>>
>> I did a grep just now, and FLTK appears in frontends/CMakeLists.txt as
>> well as frontends/CsoundAC/CMakeLists.txt.  My guess is that it is the
>> addition of Winsound in the CSound6 repo that is the difference.
>> Could you try adding "   set(FLTK_SKIP_OPENGL true)" in
>> frontends/CMakeLists.txt, perhaps on line 5, so that it is before the
>> call to find_package(FLTK) in that file?
>
> Adding the set(FLTK_SKIP_OPENGL true) line changed something.  I think it
> created winFLTK
>
> So maybe OK now, not that I understand why!
>
> ==John ff
>
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net