Hi Brian,

If I look at

https://github.com/TurboVNC/turbovnc/blob/master/unix/CMakeLists.txt

then I can see in line 48 (your line 49 after you added the cmake_minimum_required(VERSION 3.0) thing)

string(TOUPPER${CMAKE_BUILD_TYPE}CMAKE_BUILD_TYPE_UC)

So my suspicion is that either CMAKE_BUILD_TYPE or CMAKE_BUILD_TYPE_UC is not defined, i.e. an empty string

I would add two lines before line 49 like

message(DEBUG "CMAKE_BUILD_TYPE = ${CMAKE_BUILD_TYPE}") message(DEBUG "CMAKE_BUILD_TYPE_UC = ${CMAKE_BUILD_TYPE_UC}") and see what they tell you when you rerun the build process. Depending on which is empty you then can search where this variable should be set etc... and eventually it should work. Hope this helps, Michael. On 10/09/16 05:41, Brian Chrzanowski wrote:
Hello VirtualGL mailing list,
I'm attempting to build the virtualGL server & also TurboVNC from source, and create Debian packages to distribute to many machines. I've not only compiled
and installed libjpeg-turbo from source and installed it, but just to make
sure that I'm using the most recently built version of the source, I cloned
from the git repo suggested on the website.
While running the suggested cmake line:
    cmake -G "Unix Makefiles" ../unix # in the 'build' dir I created
I recieve the following output:
    -- X11_X11_LIB = /usr/lib/x86_64-linux-gnu/libX11.so
    -- TVNC_MANDIR = /usr/local/man
    CMake Error at CMakeLists.txt:48 (string):
      string no output variable specified
    -- Compiler flags =
    -- Linker flags =
    CMake Warning (dev) in CMakeLists.txt:
No cmake_minimum_required command is present. A line of code such as
        cmake_minimum_required(VERSION 3.0)
should be added at the top of the file. The version specified may be lower if you wish to support older CMake versions for this project. For more
      information run "cmake --help-policy CMP0000".
    This warning is for project developers.  Use -Wno-dev to suppress it.
    -- Configuring incomplete, errors occurred!
See also "/home/brian/tools/turbovnc/build/CMakeFiles/CMakeOutput.log".
Even though I can go and add the line it suggests at the top of the
'CMakeLists.txt', cmake still doesn't complete, as I then recieve this output:
    -- X11_X11_LIB = /usr/lib/x86_64-linux-gnu/libX11.so
    -- TVNC_MANDIR = /usr/local/man
    CMake Error at CMakeLists.txt:49 (string):
      string no output variable specified
    -- Compiler flags =
    -- Linker flags =
    -- Configuring incomplete, errors occurred!
See also "/home/brian/tools/turbovnc/build/CMakeFiles/CMakeOutput.log". I've tried to look at the logs, but I can't figure it out for the life of me. If anyone's got a second to figure it out, let me know what I can do to help
fix it if necessary.
Thanks,
Brian Chrzanowski

------------------------------------------------------------------------------

_______________________________________________
VirtualGL-Users mailing list
VirtualGL-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/virtualgl-users

------------------------------------------------------------------------------
_______________________________________________
VirtualGL-Users mailing list
VirtualGL-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/virtualgl-users

Reply via email to