[GH-ISSUE #224] How to build on Windows? #180

Closed
opened 2026-05-05 05:32:36 -06:00 by gitea-mirror · 20 comments
Owner

Originally created by @johnny-mac on GitHub (Jan 14, 2019).
Original GitHub issue: https://github.com/debauchee/barrier/issues/224

Hey guys sorry I know this is a dumb question but what commands am I supposed to run to get barrier to build in windows? I can't make Barrier on Windows work with my Linux PCs so I am gonna try to compile it on Windows in the hopes that that'll solve it...

Running this:

cmake -DBARRIER_REVISION:STRING=00000000 -DBARRIER_VERSION_STAGE:STRING=RELEAS
E ..

gets me this:

CMake Error: CMake was unable to find a build program corresponding to "MinGW Makefiles".  CMAKE_MAKE_PROGRAM is not set.  You probably need to select a different build tool.
CMake Error: CMake was unable to find a build program corresponding to "MinGW Makefiles".  CMAKE_MAKE_PROGRAM is not set.  You probably need to select a different build tool.
CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
Originally created by @johnny-mac on GitHub (Jan 14, 2019). Original GitHub issue: https://github.com/debauchee/barrier/issues/224 Hey guys sorry I know this is a dumb question but what commands am I supposed to run to get barrier to build in windows? I can't make Barrier on Windows work with my Linux PCs so I am gonna try to compile it on Windows in the hopes that that'll solve it... Running this: ``` cmake -DBARRIER_REVISION:STRING=00000000 -DBARRIER_VERSION_STAGE:STRING=RELEAS E .. ``` gets me this: ``` CMake Error: CMake was unable to find a build program corresponding to "MinGW Makefiles". CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool. CMake Error: CMake was unable to find a build program corresponding to "MinGW Makefiles". CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool. CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage ```
Author
Owner

@AdrianKoshka commented on GitHub (Jan 14, 2019):

https://github.com/debauchee/barrier/wiki/Building-on-Windows

<!-- gh-comment-id:454173442 --> @AdrianKoshka commented on GitHub (Jan 14, 2019): https://github.com/debauchee/barrier/wiki/Building-on-Windows
Author
Owner

@johnny-mac commented on GitHub (Jan 14, 2019):

Adrian I have looked at that but I'm still having trouble :/ can you please tell me what I am supposed to run????

<!-- gh-comment-id:454177851 --> @johnny-mac commented on GitHub (Jan 14, 2019): Adrian I have looked at that but I'm still having trouble :/ can you please tell me what I am supposed to run????
Author
Owner

@johnny-mac commented on GitHub (Jan 14, 2019):

cmake, make, make install... like what am I supposed to run on Windows? That's all I really need to know to understand this :( this is driving me crazy, please just tell me the commands I need to know... I got cmake to run properly I think, but I can't make make run, IDK what the windows-equivalent is and I'm having trouble figuring it out....

<!-- gh-comment-id:454178268 --> @johnny-mac commented on GitHub (Jan 14, 2019): cmake, make, make install... like what am I supposed to run on Windows? That's all I really need to know to understand this :( this is driving me crazy, please just tell me the commands I need to know... I got cmake to run properly I think, but I can't make make run, IDK what the windows-equivalent is and I'm having trouble figuring it out....
Author
Owner

@johnny-mac commented on GitHub (Jan 14, 2019):

https://github.com/debauchee/barrier/wiki/Building-on-Windows

Doesn't tell me the commands to enter, please I just want to make barrier work while I am gaming on Windows! version 2.1.0 for whatever reason doesn't work for me, I've tried everything, so now I'm trying to try a later version in the hopes that some fixes have been made in regards to Windows-Linux compatibility..... I'm just stumped on figuring out the next few commands I'm supposed to enter, I've never done this successfully before...

<!-- gh-comment-id:454179574 --> @johnny-mac commented on GitHub (Jan 14, 2019): https://github.com/debauchee/barrier/wiki/Building-on-Windows Doesn't tell me the commands to enter, please I just want to make barrier work while I am gaming on Windows! version 2.1.0 for whatever reason doesn't work for me, I've tried everything, so now I'm trying to try a later version in the hopes that some fixes have been made in regards to Windows-Linux compatibility..... I'm just stumped on figuring out the next few commands I'm supposed to enter, I've never done this successfully before...
Author
Owner

@AdrianKoshka commented on GitHub (Jan 14, 2019):

It says, very clearly:

invoke clean_build.bat

<!-- gh-comment-id:454179754 --> @AdrianKoshka commented on GitHub (Jan 14, 2019): It says, very clearly: > invoke `clean_build.bat`
Author
Owner

@johnny-mac commented on GitHub (Jan 14, 2019):

O_o but why isn't that working.... I have tried that... it just opens up a cmd prompt and then closes on me before I can even read anything.. I configured that file right, I've installed everything necessary, yet I still just can't make it work...

<!-- gh-comment-id:454187822 --> @johnny-mac commented on GitHub (Jan 14, 2019): O_o but why isn't that working.... I have tried that... it just opens up a cmd prompt and then closes on me before I can even read anything.. I configured that file right, I've installed everything necessary, yet I still just can't make it work...
Author
Owner

@AdrianKoshka commented on GitHub (Jan 14, 2019):

Did you follow the instructions correctly?

On 1/14/19 5:35 PM, johnny-mac wrote:

O_o but why isn't that working.... I have tried that... it just opens
up a cmd prompt and then closes on me before I can even read anything..


You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/debauchee/barrier/issues/224#issuecomment-454187822,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AISaTxI4C6aCAGqtYB0fmf3x8VCDFSJ9ks5vDQZFgaJpZM4Z_zMq.

<!-- gh-comment-id:454188362 --> @AdrianKoshka commented on GitHub (Jan 14, 2019): Did you follow the instructions correctly? On 1/14/19 5:35 PM, johnny-mac wrote: > > O_o but why isn't that working.... I have tried that... it just opens > up a cmd prompt and then closes on me before I can even read anything.. > > — > You are receiving this because you modified the open/close state. > Reply to this email directly, view it on GitHub > <https://github.com/debauchee/barrier/issues/224#issuecomment-454187822>, > or mute the thread > <https://github.com/notifications/unsubscribe-auth/AISaTxI4C6aCAGqtYB0fmf3x8VCDFSJ9ks5vDQZFgaJpZM4Z_zMq>. >
Author
Owner

@johnny-mac commented on GitHub (Jan 14, 2019):

Yes! I have tried my utmost best to follow everything to a T, I feel like I must be overlooking something but I have no idea what... I've never done this in Windows before... its so easy in Linux.

<!-- gh-comment-id:454188605 --> @johnny-mac commented on GitHub (Jan 14, 2019): Yes! I have tried my utmost best to follow everything to a T, I feel like I must be overlooking something but I have no idea what... I've never done this in Windows before... its so easy in Linux.
Author
Owner

@AdrianKoshka commented on GitHub (Jan 14, 2019):

Did you install cmake?

CMake Error: CMake was unable to find a build program corresponding to "MinGW Makefiles".  CMAKE_MAKE_PROGRAM is not set.  You probably need to select a different build tool.
CMake Error: CMake was unable to find a build program corresponding to "MinGW Makefiles".  CMAKE_MAKE_PROGRAM is not set.  You probably need to select a different build tool.
CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
<!-- gh-comment-id:454189147 --> @AdrianKoshka commented on GitHub (Jan 14, 2019): Did you install `cmake`? > ``` > CMake Error: CMake was unable to find a build program corresponding to "MinGW Makefiles". CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool. > CMake Error: CMake was unable to find a build program corresponding to "MinGW Makefiles". CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool. > CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage > CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage > ```
Author
Owner

@johnny-mac commented on GitHub (Jan 14, 2019):

Yep, had to fix the path for cmake but it works now, I can run cmake successfully

<!-- gh-comment-id:454189241 --> @johnny-mac commented on GitHub (Jan 14, 2019): Yep, had to fix the path for cmake but it works now, I can run cmake successfully
Author
Owner

@johnny-mac commented on GitHub (Jan 14, 2019):

What commands can I run that will give you a better idea of what we can do here? I am using the Bash shell in Powershell.

<!-- gh-comment-id:454189746 --> @johnny-mac commented on GitHub (Jan 14, 2019): What commands can I run that will give you a better idea of what we can do here? I am using the Bash shell in Powershell.
Author
Owner

@johnny-mac commented on GitHub (Jan 14, 2019):

Also I can click the clean_build.bat too and it will open in a cmd prompt I guess not in bash? IDK how that works, either way nothing seems to get it to install.
When I run cmake .. I get :

-- Selecting Windows SDK version 10.0.17763.0 to target Windows 10.0.17134.
-- Full Barrier version string is '2.2.0-snapshot-snapshot.b1-4dedd88a'
-- Configuring the wix installer
-- Configuring directory C:/Users/kz_jo/Compiles/barrier/build/installer-wix
-- Copying file Barrier.sln
-- Copying file Barrier.wixproj
-- Copying file Product.wxs
-- Configuring file Include.wxi
-- Configuring the inno installer
-- Configuring directory C:/Users/kz_jo/Compiles/barrier/build/installer-inno
-- Copying file scripts/isxdl/english.ini
-- Copying file scripts/isxdl/isxdl.dll
-- Copying file scripts/isxdl/isxdl.iss
-- Copying file scripts/lang/english.iss
-- Copying file scripts/products.iss
-- Copying file scripts/products.pas
-- Copying file scripts/products/msiproduct.iss
-- Copying file scripts/products/stringversion.iss
-- Copying file scripts/products/vcredist2017.iss
-- Copying file scripts/products/winversion.iss
-- Configuring file barrier.iss
-- Configuring done
-- Generating done
-- Build files have been written to: C:/Users/kz_jo/Compiles/barrier/build
<!-- gh-comment-id:454190444 --> @johnny-mac commented on GitHub (Jan 14, 2019): Also I can click the clean_build.bat too and it will open in a cmd prompt I guess not in bash? IDK how that works, either way nothing seems to get it to install. When I run cmake .. I get : ``` -- Selecting Windows SDK version 10.0.17763.0 to target Windows 10.0.17134. -- Full Barrier version string is '2.2.0-snapshot-snapshot.b1-4dedd88a' -- Configuring the wix installer -- Configuring directory C:/Users/kz_jo/Compiles/barrier/build/installer-wix -- Copying file Barrier.sln -- Copying file Barrier.wixproj -- Copying file Product.wxs -- Configuring file Include.wxi -- Configuring the inno installer -- Configuring directory C:/Users/kz_jo/Compiles/barrier/build/installer-inno -- Copying file scripts/isxdl/english.ini -- Copying file scripts/isxdl/isxdl.dll -- Copying file scripts/isxdl/isxdl.iss -- Copying file scripts/lang/english.iss -- Copying file scripts/products.iss -- Copying file scripts/products.pas -- Copying file scripts/products/msiproduct.iss -- Copying file scripts/products/stringversion.iss -- Copying file scripts/products/vcredist2017.iss -- Copying file scripts/products/winversion.iss -- Configuring file barrier.iss -- Configuring done -- Generating done -- Build files have been written to: C:/Users/kz_jo/Compiles/barrier/build ```
Author
Owner

@johnny-mac commented on GitHub (Jan 14, 2019):

but when I try to run "make" I get:

Microsoft (R) Build Engine version 4.7.3056.0
[Microsoft .NET Framework, version 4.0.30319.42000]
Copyright (C) Microsoft Corporation. All rights reserved.

Build started 1/14/2019 5:46:15 PM.
     1>Project "C:\Users\kz_jo\Compiles\barrier\build\barrier.sln" on node 1 (default targets).
     1>ValidateSolutionConfiguration:
         Building solution configuration "Debug|x64".
       ValidateProjects:
         The project "ALL_BUILD" is not selected for building in solution configuration "Debug|x64".
     1>Project "C:\Users\kz_jo\Compiles\barrier\build\barrier.sln" (1) is building "C:\Users\kz_jo\Compiles\barrier\bui
       ld\ZERO_CHECK.vcxproj" (2) on node 1 (default targets).
     2>C:\Users\kz_jo\Compiles\barrier\build\ZERO_CHECK.vcxproj(29,3): error MSB4019: The imported project "C:\Microsof
       t.Cpp.Default.props" was not found. Confirm that the path in the <Import> declaration is correct, and that the f
       ile exists on disk.
     2>Done Building Project "C:\Users\kz_jo\Compiles\barrier\build\ZERO_CHECK.vcxproj" (default targets) -- FAILED.
     1>Done Building Project "C:\Users\kz_jo\Compiles\barrier\build\barrier.sln" (default targets) -- FAILED.

Build FAILED.

       "C:\Users\kz_jo\Compiles\barrier\build\barrier.sln" (default target) (1) ->
       "C:\Users\kz_jo\Compiles\barrier\build\ZERO_CHECK.vcxproj" (default target) (2) ->
         C:\Users\kz_jo\Compiles\barrier\build\ZERO_CHECK.vcxproj(29,3): error MSB4019: The imported project "C:\Micros
       oft.Cpp.Default.props" was not found. Confirm that the path in the <Import> declaration is correct, and that the
        file exists on disk.

    0 Warning(s)
    1 Error(s)

Time Elapsed 00:00:00.49
<!-- gh-comment-id:454190687 --> @johnny-mac commented on GitHub (Jan 14, 2019): but when I try to run "make" I get: ``` Microsoft (R) Build Engine version 4.7.3056.0 [Microsoft .NET Framework, version 4.0.30319.42000] Copyright (C) Microsoft Corporation. All rights reserved. Build started 1/14/2019 5:46:15 PM. 1>Project "C:\Users\kz_jo\Compiles\barrier\build\barrier.sln" on node 1 (default targets). 1>ValidateSolutionConfiguration: Building solution configuration "Debug|x64". ValidateProjects: The project "ALL_BUILD" is not selected for building in solution configuration "Debug|x64". 1>Project "C:\Users\kz_jo\Compiles\barrier\build\barrier.sln" (1) is building "C:\Users\kz_jo\Compiles\barrier\bui ld\ZERO_CHECK.vcxproj" (2) on node 1 (default targets). 2>C:\Users\kz_jo\Compiles\barrier\build\ZERO_CHECK.vcxproj(29,3): error MSB4019: The imported project "C:\Microsof t.Cpp.Default.props" was not found. Confirm that the path in the <Import> declaration is correct, and that the f ile exists on disk. 2>Done Building Project "C:\Users\kz_jo\Compiles\barrier\build\ZERO_CHECK.vcxproj" (default targets) -- FAILED. 1>Done Building Project "C:\Users\kz_jo\Compiles\barrier\build\barrier.sln" (default targets) -- FAILED. Build FAILED. "C:\Users\kz_jo\Compiles\barrier\build\barrier.sln" (default target) (1) -> "C:\Users\kz_jo\Compiles\barrier\build\ZERO_CHECK.vcxproj" (default target) (2) -> C:\Users\kz_jo\Compiles\barrier\build\ZERO_CHECK.vcxproj(29,3): error MSB4019: The imported project "C:\Micros oft.Cpp.Default.props" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk. 0 Warning(s) 1 Error(s) Time Elapsed 00:00:00.49 ```
Author
Owner

@AdrianKoshka commented on GitHub (Jan 14, 2019):

Did you run the Developer Command Prompt for Visual Studio? Then
navigate to the barrier's folder an invoke clean.bat?

On 1/14/19 5:45 PM, johnny-mac wrote:

Also I can click the clean_build.bat too and it will open in a cmd
prompt I guess not in bash? IDK how that works, either way nothing
seems to get it to install.
When I run cmake .. I get :

|-- Selecting Windows SDK version 10.0.17763.0 to target Windows
10.0.17134. -- Full Barrier version string is
'2.2.0-snapshot-snapshot.b1-4dedd88a' -- Configuring the wix installer
-- Configuring directory
C:/Users/kz_jo/Compiles/barrier/build/installer-wix -- Copying file
Barrier.sln -- Copying file Barrier.wixproj -- Copying file
Product.wxs -- Configuring file Include.wxi -- Configuring the inno
installer -- Configuring directory
C:/Users/kz_jo/Compiles/barrier/build/installer-inno -- Copying file
scripts/isxdl/english.ini -- Copying file scripts/isxdl/isxdl.dll --
Copying file scripts/isxdl/isxdl.iss -- Copying file
scripts/lang/english.iss -- Copying file scripts/products.iss --
Copying file scripts/products.pas -- Copying file
scripts/products/msiproduct.iss -- Copying file
scripts/products/stringversion.iss -- Copying file
scripts/products/vcredist2017.iss -- Copying file
scripts/products/winversion.iss -- Configuring file barrier.iss --
Configuring done -- Generating done -- Build files have been written
to: C:/Users/kz_jo/Compiles/barrier/build |


You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/debauchee/barrier/issues/224#issuecomment-454190444,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AISaT-YEgBbs0QHQOB-XedpMG3jJJW_2ks5vDQikgaJpZM4Z_zMq.

<!-- gh-comment-id:454191957 --> @AdrianKoshka commented on GitHub (Jan 14, 2019): Did you run the Developer Command Prompt for Visual Studio? Then navigate to the barrier's folder an invoke `clean.bat`? On 1/14/19 5:45 PM, johnny-mac wrote: > > Also I can click the clean_build.bat too and it will open in a cmd > prompt I guess not in bash? IDK how that works, either way nothing > seems to get it to install. > When I run cmake .. I get : > > |-- Selecting Windows SDK version 10.0.17763.0 to target Windows > 10.0.17134. -- Full Barrier version string is > '2.2.0-snapshot-snapshot.b1-4dedd88a' -- Configuring the wix installer > -- Configuring directory > C:/Users/kz_jo/Compiles/barrier/build/installer-wix -- Copying file > Barrier.sln -- Copying file Barrier.wixproj -- Copying file > Product.wxs -- Configuring file Include.wxi -- Configuring the inno > installer -- Configuring directory > C:/Users/kz_jo/Compiles/barrier/build/installer-inno -- Copying file > scripts/isxdl/english.ini -- Copying file scripts/isxdl/isxdl.dll -- > Copying file scripts/isxdl/isxdl.iss -- Copying file > scripts/lang/english.iss -- Copying file scripts/products.iss -- > Copying file scripts/products.pas -- Copying file > scripts/products/msiproduct.iss -- Copying file > scripts/products/stringversion.iss -- Copying file > scripts/products/vcredist2017.iss -- Copying file > scripts/products/winversion.iss -- Configuring file barrier.iss -- > Configuring done -- Generating done -- Build files have been written > to: C:/Users/kz_jo/Compiles/barrier/build | > > — > You are receiving this because you modified the open/close state. > Reply to this email directly, view it on GitHub > <https://github.com/debauchee/barrier/issues/224#issuecomment-454190444>, > or mute the thread > <https://github.com/notifications/unsubscribe-auth/AISaT-YEgBbs0QHQOB-XedpMG3jJJW_2ks5vDQikgaJpZM4Z_zMq>. >
Author
Owner

@johnny-mac commented on GitHub (Jan 14, 2019):

maybe if I can just get this path exported I might get somewhere....

-- Building for: Visual Studio 15 2017
-- Selecting Windows SDK version 10.0.17763.0 to target Windows 10.0.17134.
-- The C compiler identification is MSVC 19.16.27026.1
-- The CXX compiler identification is MSVC 19.16.27026.1
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.16.27023/bin/Hostx86/x86/cl.exe
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.16.27023/bin/Hostx86/x86/cl.exe -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.16.27023/bin/Hostx86/x86/cl.exe
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.16.27023/bin/Hostx86/x86/cl.exe -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Full Barrier version string is '2.2.0-snapshot-snapshot.b1-4dedd88a'
-- Configuring the wix installer
-- Configuring directory C:/Users/kz_jo/Compiles/barrier/build/installer-wix
-- Copying file Barrier.sln
-- Copying file Barrier.wixproj
-- Copying file Product.wxs
-- Configuring file Include.wxi
-- Configuring the inno installer
-- Configuring directory C:/Users/kz_jo/Compiles/barrier/build/installer-inno
-- Copying file scripts/isxdl/english.ini
-- Copying file scripts/isxdl/isxdl.dll
-- Copying file scripts/isxdl/isxdl.iss
-- Copying file scripts/lang/english.iss
-- Copying file scripts/products.iss
-- Copying file scripts/products.pas
-- Copying file scripts/products/msiproduct.iss
-- Copying file scripts/products/stringversion.iss
-- Copying file scripts/products/vcredist2017.iss
-- Copying file scripts/products/winversion.iss
-- Configuring file barrier.iss
CMake Warning at src/gui/CMakeLists.txt:3 (find_package):
  By not providing "FindQt5.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "Qt5", but
  CMake did not find one.

  Could not find a package configuration file provided by "Qt5" with any of
  the following names:

    Qt5Config.cmake
    qt5-config.cmake

  Add the installation prefix of "Qt5" to CMAKE_PREFIX_PATH or set "Qt5_DIR"
  to a directory containing one of the above files.  If "Qt5" provides a
  separate development package or SDK, be sure it has been installed.


-- Configuring done
CMake Error at src/gui/CMakeLists.txt:16 (add_executable):
  Target "barrier" links to target "Qt5::Core" but the target was not found.
  Perhaps a find_package() call is missing for an IMPORTED target, or an
  ALIAS target is missing?


CMake Error at src/gui/CMakeLists.txt:16 (add_executable):
  Target "barrier" links to target "Qt5::Widgets" but the target was not
  found.  Perhaps a find_package() call is missing for an IMPORTED target, or
  an ALIAS target is missing?


CMake Error at src/gui/CMakeLists.txt:16 (add_executable):
  Target "barrier" links to target "Qt5::Network" but the target was not
  found.  Perhaps a find_package() call is missing for an IMPORTED target, or
  an ALIAS target is missing?


CMake Error at src/gui/CMakeLists.txt:16 (add_executable):
  Target "barrier" links to target "Qt5::Core" but the target was not found.
  Perhaps a find_package() call is missing for an IMPORTED target, or an
  ALIAS target is missing?


CMake Error at src/gui/CMakeLists.txt:16 (add_executable):
  Target "barrier" links to target "Qt5::Widgets" but the target was not
  found.  Perhaps a find_package() call is missing for an IMPORTED target, or
  an ALIAS target is missing?


CMake Error at src/gui/CMakeLists.txt:16 (add_executable):
  Target "barrier" links to target "Qt5::Network" but the target was not
  found.  Perhaps a find_package() call is missing for an IMPORTED target, or
  an ALIAS target is missing?


CMake Error at src/gui/CMakeLists.txt:16 (add_executable):
  Target "barrier" links to target "Qt5::Core" but the target was not found.
  Perhaps a find_package() call is missing for an IMPORTED target, or an
  ALIAS target is missing?


CMake Error at src/gui/CMakeLists.txt:16 (add_executable):
  Target "barrier" links to target "Qt5::Widgets" but the target was not
  found.  Perhaps a find_package() call is missing for an IMPORTED target, or
  an ALIAS target is missing?


CMake Error at src/gui/CMakeLists.txt:16 (add_executable):
  Target "barrier" links to target "Qt5::Network" but the target was not
  found.  Perhaps a find_package() call is missing for an IMPORTED target, or
  an ALIAS target is missing?


CMake Error at src/gui/CMakeLists.txt:16 (add_executable):
  Target "barrier" links to target "Qt5::Core" but the target was not found.
  Perhaps a find_package() call is missing for an IMPORTED target, or an
  ALIAS target is missing?


CMake Error at src/gui/CMakeLists.txt:16 (add_executable):
  Target "barrier" links to target "Qt5::Widgets" but the target was not
  found.  Perhaps a find_package() call is missing for an IMPORTED target, or
  an ALIAS target is missing?


CMake Error at src/gui/CMakeLists.txt:16 (add_executable):
  Target "barrier" links to target "Qt5::Network" but the target was not
  found.  Perhaps a find_package() call is missing for an IMPORTED target, or
  an ALIAS target is missing?


CMake Error at src/gui/CMakeLists.txt:16 (add_executable):
  Target "barrier" links to target "Qt5::Core" but the target was not found.
  Perhaps a find_package() call is missing for an IMPORTED target, or an
  ALIAS target is missing?


CMake Error at src/gui/CMakeLists.txt:16 (add_executable):
  Target "barrier" links to target "Qt5::Widgets" but the target was not
  found.  Perhaps a find_package() call is missing for an IMPORTED target, or
  an ALIAS target is missing?


CMake Error at src/gui/CMakeLists.txt:16 (add_executable):
  Target "barrier" links to target "Qt5::Network" but the target was not
  found.  Perhaps a find_package() call is missing for an IMPORTED target, or
  an ALIAS target is missing?
<!-- gh-comment-id:454192597 --> @johnny-mac commented on GitHub (Jan 14, 2019): maybe if I can just get this path exported I might get somewhere.... ``` -- Building for: Visual Studio 15 2017 -- Selecting Windows SDK version 10.0.17763.0 to target Windows 10.0.17134. -- The C compiler identification is MSVC 19.16.27026.1 -- The CXX compiler identification is MSVC 19.16.27026.1 -- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.16.27023/bin/Hostx86/x86/cl.exe -- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.16.27023/bin/Hostx86/x86/cl.exe -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.16.27023/bin/Hostx86/x86/cl.exe -- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.16.27023/bin/Hostx86/x86/cl.exe -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Full Barrier version string is '2.2.0-snapshot-snapshot.b1-4dedd88a' -- Configuring the wix installer -- Configuring directory C:/Users/kz_jo/Compiles/barrier/build/installer-wix -- Copying file Barrier.sln -- Copying file Barrier.wixproj -- Copying file Product.wxs -- Configuring file Include.wxi -- Configuring the inno installer -- Configuring directory C:/Users/kz_jo/Compiles/barrier/build/installer-inno -- Copying file scripts/isxdl/english.ini -- Copying file scripts/isxdl/isxdl.dll -- Copying file scripts/isxdl/isxdl.iss -- Copying file scripts/lang/english.iss -- Copying file scripts/products.iss -- Copying file scripts/products.pas -- Copying file scripts/products/msiproduct.iss -- Copying file scripts/products/stringversion.iss -- Copying file scripts/products/vcredist2017.iss -- Copying file scripts/products/winversion.iss -- Configuring file barrier.iss CMake Warning at src/gui/CMakeLists.txt:3 (find_package): By not providing "FindQt5.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "Qt5", but CMake did not find one. Could not find a package configuration file provided by "Qt5" with any of the following names: Qt5Config.cmake qt5-config.cmake Add the installation prefix of "Qt5" to CMAKE_PREFIX_PATH or set "Qt5_DIR" to a directory containing one of the above files. If "Qt5" provides a separate development package or SDK, be sure it has been installed. -- Configuring done CMake Error at src/gui/CMakeLists.txt:16 (add_executable): Target "barrier" links to target "Qt5::Core" but the target was not found. Perhaps a find_package() call is missing for an IMPORTED target, or an ALIAS target is missing? CMake Error at src/gui/CMakeLists.txt:16 (add_executable): Target "barrier" links to target "Qt5::Widgets" but the target was not found. Perhaps a find_package() call is missing for an IMPORTED target, or an ALIAS target is missing? CMake Error at src/gui/CMakeLists.txt:16 (add_executable): Target "barrier" links to target "Qt5::Network" but the target was not found. Perhaps a find_package() call is missing for an IMPORTED target, or an ALIAS target is missing? CMake Error at src/gui/CMakeLists.txt:16 (add_executable): Target "barrier" links to target "Qt5::Core" but the target was not found. Perhaps a find_package() call is missing for an IMPORTED target, or an ALIAS target is missing? CMake Error at src/gui/CMakeLists.txt:16 (add_executable): Target "barrier" links to target "Qt5::Widgets" but the target was not found. Perhaps a find_package() call is missing for an IMPORTED target, or an ALIAS target is missing? CMake Error at src/gui/CMakeLists.txt:16 (add_executable): Target "barrier" links to target "Qt5::Network" but the target was not found. Perhaps a find_package() call is missing for an IMPORTED target, or an ALIAS target is missing? CMake Error at src/gui/CMakeLists.txt:16 (add_executable): Target "barrier" links to target "Qt5::Core" but the target was not found. Perhaps a find_package() call is missing for an IMPORTED target, or an ALIAS target is missing? CMake Error at src/gui/CMakeLists.txt:16 (add_executable): Target "barrier" links to target "Qt5::Widgets" but the target was not found. Perhaps a find_package() call is missing for an IMPORTED target, or an ALIAS target is missing? CMake Error at src/gui/CMakeLists.txt:16 (add_executable): Target "barrier" links to target "Qt5::Network" but the target was not found. Perhaps a find_package() call is missing for an IMPORTED target, or an ALIAS target is missing? CMake Error at src/gui/CMakeLists.txt:16 (add_executable): Target "barrier" links to target "Qt5::Core" but the target was not found. Perhaps a find_package() call is missing for an IMPORTED target, or an ALIAS target is missing? CMake Error at src/gui/CMakeLists.txt:16 (add_executable): Target "barrier" links to target "Qt5::Widgets" but the target was not found. Perhaps a find_package() call is missing for an IMPORTED target, or an ALIAS target is missing? CMake Error at src/gui/CMakeLists.txt:16 (add_executable): Target "barrier" links to target "Qt5::Network" but the target was not found. Perhaps a find_package() call is missing for an IMPORTED target, or an ALIAS target is missing? CMake Error at src/gui/CMakeLists.txt:16 (add_executable): Target "barrier" links to target "Qt5::Core" but the target was not found. Perhaps a find_package() call is missing for an IMPORTED target, or an ALIAS target is missing? CMake Error at src/gui/CMakeLists.txt:16 (add_executable): Target "barrier" links to target "Qt5::Widgets" but the target was not found. Perhaps a find_package() call is missing for an IMPORTED target, or an ALIAS target is missing? CMake Error at src/gui/CMakeLists.txt:16 (add_executable): Target "barrier" links to target "Qt5::Network" but the target was not found. Perhaps a find_package() call is missing for an IMPORTED target, or an ALIAS target is missing? ```
Author
Owner

@johnny-mac commented on GitHub (Jan 14, 2019):

How do I export that path? :/ maybe if I can figure that out I might manage to get it to build

<!-- gh-comment-id:454192792 --> @johnny-mac commented on GitHub (Jan 14, 2019): How do I export that path? :/ maybe if I can figure that out I might manage to get it to build
Author
Owner

@AdrianKoshka commented on GitHub (Jan 14, 2019):

You don't have to fix any path. If you're "fixing" paths, you're doing
something wrong.

On 1/14/19 5:54 PM, johnny-mac wrote:

maybe if I can just get this path exported I might get somewhere....

|-- Building for: Visual Studio 15 2017 -- Selecting Windows SDK
version 10.0.17763.0 to target Windows 10.0.17134. -- The C compiler
identification is MSVC 19.16.27026.1 -- The CXX compiler
identification is MSVC 19.16.27026.1 -- Check for working C compiler:
C:/Program Files (x86)/Microsoft Visual
Studio/2017/Community/VC/Tools/MSVC/14.16.27023/bin/Hostx86/x86/cl.exe
-- Check for working C compiler: C:/Program Files (x86)/Microsoft
Visual
Studio/2017/Community/VC/Tools/MSVC/14.16.27023/bin/Hostx86/x86/cl.exe
-- works -- Detecting C compiler ABI info -- Detecting C compiler ABI
info - done -- Detecting C compile features -- Detecting C compile
features - done -- Check for working CXX compiler: C:/Program Files
(x86)/Microsoft Visual
Studio/2017/Community/VC/Tools/MSVC/14.16.27023/bin/Hostx86/x86/cl.exe
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft
Visual
Studio/2017/Community/VC/Tools/MSVC/14.16.27023/bin/Hostx86/x86/cl.exe
-- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler
ABI info - done -- Detecting CXX compile features -- Detecting CXX
compile features - done -- Full Barrier version string is
'2.2.0-snapshot-snapshot.b1-4dedd88a' -- Configuring the wix installer
-- Configuring directory
C:/Users/kz_jo/Compiles/barrier/build/installer-wix -- Copying file
Barrier.sln -- Copying file Barrier.wixproj -- Copying file
Product.wxs -- Configuring file Include.wxi -- Configuring the inno
installer -- Configuring directory
C:/Users/kz_jo/Compiles/barrier/build/installer-inno -- Copying file
scripts/isxdl/english.ini -- Copying file scripts/isxdl/isxdl.dll --
Copying file scripts/isxdl/isxdl.iss -- Copying file
scripts/lang/english.iss -- Copying file scripts/products.iss --
Copying file scripts/products.pas -- Copying file
scripts/products/msiproduct.iss -- Copying file
scripts/products/stringversion.iss -- Copying file
scripts/products/vcredist2017.iss -- Copying file
scripts/products/winversion.iss -- Configuring file barrier.iss CMake
Warning at src/gui/CMakeLists.txt:3 (find_package): By not providing
"FindQt5.cmake" in CMAKE_MODULE_PATH this project has asked CMake to
find a package configuration file provided by "Qt5", but CMake did not
find one. Could not find a package configuration file provided by
"Qt5" with any of the following names: Qt5Config.cmake
qt5-config.cmake Add the installation prefix of "Qt5" to
CMAKE_PREFIX_PATH or set "Qt5_DIR" to a directory containing one of
the above files. If "Qt5" provides a separate development package or
SDK, be sure it has been installed. -- Configuring done CMake Error at
src/gui/CMakeLists.txt:16 (add_executable): Target "barrier" links to
target "Qt5::Core" but the target was not found. Perhaps a
find_package() call is missing for an IMPORTED target, or an ALIAS
target is missing? CMake Error at src/gui/CMakeLists.txt:16
(add_executable): Target "barrier" links to target "Qt5::Widgets" but
the target was not found. Perhaps a find_package() call is missing for
an IMPORTED target, or an ALIAS target is missing? CMake Error at
src/gui/CMakeLists.txt:16 (add_executable): Target "barrier" links to
target "Qt5::Network" but the target was not found. Perhaps a
find_package() call is missing for an IMPORTED target, or an ALIAS
target is missing? CMake Error at src/gui/CMakeLists.txt:16
(add_executable): Target "barrier" links to target "Qt5::Core" but the
target was not found. Perhaps a find_package() call is missing for an
IMPORTED target, or an ALIAS target is missing? CMake Error at
src/gui/CMakeLists.txt:16 (add_executable): Target "barrier" links to
target "Qt5::Widgets" but the target was not found. Perhaps a
find_package() call is missing for an IMPORTED target, or an ALIAS
target is missing? CMake Error at src/gui/CMakeLists.txt:16
(add_executable): Target "barrier" links to target "Qt5::Network" but
the target was not found. Perhaps a find_package() call is missing for
an IMPORTED target, or an ALIAS target is missing? CMake Error at
src/gui/CMakeLists.txt:16 (add_executable): Target "barrier" links to
target "Qt5::Core" but the target was not found. Perhaps a
find_package() call is missing for an IMPORTED target, or an ALIAS
target is missing? CMake Error at src/gui/CMakeLists.txt:16
(add_executable): Target "barrier" links to target "Qt5::Widgets" but
the target was not found. Perhaps a find_package() call is missing for
an IMPORTED target, or an ALIAS target is missing? CMake Error at
src/gui/CMakeLists.txt:16 (add_executable): Target "barrier" links to
target "Qt5::Network" but the target was not found. Perhaps a
find_package() call is missing for an IMPORTED target, or an ALIAS
target is missing? CMake Error at src/gui/CMakeLists.txt:16
(add_executable): Target "barrier" links to target "Qt5::Core" but the
target was not found. Perhaps a find_package() call is missing for an
IMPORTED target, or an ALIAS target is missing? CMake Error at
src/gui/CMakeLists.txt:16 (add_executable): Target "barrier" links to
target "Qt5::Widgets" but the target was not found. Perhaps a
find_package() call is missing for an IMPORTED target, or an ALIAS
target is missing? CMake Error at src/gui/CMakeLists.txt:16
(add_executable): Target "barrier" links to target "Qt5::Network" but
the target was not found. Perhaps a find_package() call is missing for
an IMPORTED target, or an ALIAS target is missing? CMake Error at
src/gui/CMakeLists.txt:16 (add_executable): Target "barrier" links to
target "Qt5::Core" but the target was not found. Perhaps a
find_package() call is missing for an IMPORTED target, or an ALIAS
target is missing? CMake Error at src/gui/CMakeLists.txt:16
(add_executable): Target "barrier" links to target "Qt5::Widgets" but
the target was not found. Perhaps a find_package() call is missing for
an IMPORTED target, or an ALIAS target is missing? CMake Error at
src/gui/CMakeLists.txt:16 (add_executable): Target "barrier" links to
target "Qt5::Network" but the target was not found. Perhaps a
find_package() call is missing for an IMPORTED target, or an ALIAS
target is missing? |


You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/debauchee/barrier/issues/224#issuecomment-454192597,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AISaT52bwXQ4_FofXPlpFAI_6TnG2SvJks5vDQqqgaJpZM4Z_zMq.

<!-- gh-comment-id:454193181 --> @AdrianKoshka commented on GitHub (Jan 14, 2019): You don't have to fix any path. If you're "fixing" paths, you're doing something wrong. On 1/14/19 5:54 PM, johnny-mac wrote: > > maybe if I can just get this path exported I might get somewhere.... > > |-- Building for: Visual Studio 15 2017 -- Selecting Windows SDK > version 10.0.17763.0 to target Windows 10.0.17134. -- The C compiler > identification is MSVC 19.16.27026.1 -- The CXX compiler > identification is MSVC 19.16.27026.1 -- Check for working C compiler: > C:/Program Files (x86)/Microsoft Visual > Studio/2017/Community/VC/Tools/MSVC/14.16.27023/bin/Hostx86/x86/cl.exe > -- Check for working C compiler: C:/Program Files (x86)/Microsoft > Visual > Studio/2017/Community/VC/Tools/MSVC/14.16.27023/bin/Hostx86/x86/cl.exe > -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI > info - done -- Detecting C compile features -- Detecting C compile > features - done -- Check for working CXX compiler: C:/Program Files > (x86)/Microsoft Visual > Studio/2017/Community/VC/Tools/MSVC/14.16.27023/bin/Hostx86/x86/cl.exe > -- Check for working CXX compiler: C:/Program Files (x86)/Microsoft > Visual > Studio/2017/Community/VC/Tools/MSVC/14.16.27023/bin/Hostx86/x86/cl.exe > -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler > ABI info - done -- Detecting CXX compile features -- Detecting CXX > compile features - done -- Full Barrier version string is > '2.2.0-snapshot-snapshot.b1-4dedd88a' -- Configuring the wix installer > -- Configuring directory > C:/Users/kz_jo/Compiles/barrier/build/installer-wix -- Copying file > Barrier.sln -- Copying file Barrier.wixproj -- Copying file > Product.wxs -- Configuring file Include.wxi -- Configuring the inno > installer -- Configuring directory > C:/Users/kz_jo/Compiles/barrier/build/installer-inno -- Copying file > scripts/isxdl/english.ini -- Copying file scripts/isxdl/isxdl.dll -- > Copying file scripts/isxdl/isxdl.iss -- Copying file > scripts/lang/english.iss -- Copying file scripts/products.iss -- > Copying file scripts/products.pas -- Copying file > scripts/products/msiproduct.iss -- Copying file > scripts/products/stringversion.iss -- Copying file > scripts/products/vcredist2017.iss -- Copying file > scripts/products/winversion.iss -- Configuring file barrier.iss CMake > Warning at src/gui/CMakeLists.txt:3 (find_package): By not providing > "FindQt5.cmake" in CMAKE_MODULE_PATH this project has asked CMake to > find a package configuration file provided by "Qt5", but CMake did not > find one. Could not find a package configuration file provided by > "Qt5" with any of the following names: Qt5Config.cmake > qt5-config.cmake Add the installation prefix of "Qt5" to > CMAKE_PREFIX_PATH or set "Qt5_DIR" to a directory containing one of > the above files. If "Qt5" provides a separate development package or > SDK, be sure it has been installed. -- Configuring done CMake Error at > src/gui/CMakeLists.txt:16 (add_executable): Target "barrier" links to > target "Qt5::Core" but the target was not found. Perhaps a > find_package() call is missing for an IMPORTED target, or an ALIAS > target is missing? CMake Error at src/gui/CMakeLists.txt:16 > (add_executable): Target "barrier" links to target "Qt5::Widgets" but > the target was not found. Perhaps a find_package() call is missing for > an IMPORTED target, or an ALIAS target is missing? CMake Error at > src/gui/CMakeLists.txt:16 (add_executable): Target "barrier" links to > target "Qt5::Network" but the target was not found. Perhaps a > find_package() call is missing for an IMPORTED target, or an ALIAS > target is missing? CMake Error at src/gui/CMakeLists.txt:16 > (add_executable): Target "barrier" links to target "Qt5::Core" but the > target was not found. Perhaps a find_package() call is missing for an > IMPORTED target, or an ALIAS target is missing? CMake Error at > src/gui/CMakeLists.txt:16 (add_executable): Target "barrier" links to > target "Qt5::Widgets" but the target was not found. Perhaps a > find_package() call is missing for an IMPORTED target, or an ALIAS > target is missing? CMake Error at src/gui/CMakeLists.txt:16 > (add_executable): Target "barrier" links to target "Qt5::Network" but > the target was not found. Perhaps a find_package() call is missing for > an IMPORTED target, or an ALIAS target is missing? CMake Error at > src/gui/CMakeLists.txt:16 (add_executable): Target "barrier" links to > target "Qt5::Core" but the target was not found. Perhaps a > find_package() call is missing for an IMPORTED target, or an ALIAS > target is missing? CMake Error at src/gui/CMakeLists.txt:16 > (add_executable): Target "barrier" links to target "Qt5::Widgets" but > the target was not found. Perhaps a find_package() call is missing for > an IMPORTED target, or an ALIAS target is missing? CMake Error at > src/gui/CMakeLists.txt:16 (add_executable): Target "barrier" links to > target "Qt5::Network" but the target was not found. Perhaps a > find_package() call is missing for an IMPORTED target, or an ALIAS > target is missing? CMake Error at src/gui/CMakeLists.txt:16 > (add_executable): Target "barrier" links to target "Qt5::Core" but the > target was not found. Perhaps a find_package() call is missing for an > IMPORTED target, or an ALIAS target is missing? CMake Error at > src/gui/CMakeLists.txt:16 (add_executable): Target "barrier" links to > target "Qt5::Widgets" but the target was not found. Perhaps a > find_package() call is missing for an IMPORTED target, or an ALIAS > target is missing? CMake Error at src/gui/CMakeLists.txt:16 > (add_executable): Target "barrier" links to target "Qt5::Network" but > the target was not found. Perhaps a find_package() call is missing for > an IMPORTED target, or an ALIAS target is missing? CMake Error at > src/gui/CMakeLists.txt:16 (add_executable): Target "barrier" links to > target "Qt5::Core" but the target was not found. Perhaps a > find_package() call is missing for an IMPORTED target, or an ALIAS > target is missing? CMake Error at src/gui/CMakeLists.txt:16 > (add_executable): Target "barrier" links to target "Qt5::Widgets" but > the target was not found. Perhaps a find_package() call is missing for > an IMPORTED target, or an ALIAS target is missing? CMake Error at > src/gui/CMakeLists.txt:16 (add_executable): Target "barrier" links to > target "Qt5::Network" but the target was not found. Perhaps a > find_package() call is missing for an IMPORTED target, or an ALIAS > target is missing? | > > — > You are receiving this because you modified the open/close state. > Reply to this email directly, view it on GitHub > <https://github.com/debauchee/barrier/issues/224#issuecomment-454192597>, > or mute the thread > <https://github.com/notifications/unsubscribe-auth/AISaT52bwXQ4_FofXPlpFAI_6TnG2SvJks5vDQqqgaJpZM4Z_zMq>. >
Author
Owner

@johnny-mac commented on GitHub (Jan 14, 2019):

Could you guys please make a new release soon for Windows? :/ I guess this just isn't something I can do...

<!-- gh-comment-id:454193378 --> @johnny-mac commented on GitHub (Jan 14, 2019): Could you guys please make a new release soon for Windows? :/ I guess this just isn't something I can do...
Author
Owner

@AdrianKoshka commented on GitHub (Jan 14, 2019):

I'm going to assume you've added Barrier in the windows firewall.

<!-- gh-comment-id:454194232 --> @AdrianKoshka commented on GitHub (Jan 14, 2019): I'm going to assume you've [added Barrier in the windows firewall](https://github.com/debauchee/barrier/wiki/Adding-Barrier-to-the-Windows-Firewall).
Author
Owner

@johnny-mac commented on GitHub (Jan 14, 2019):

Yep, done that too.... Starting to seem hopeless. I keep going over everything in the hopes that I figure out what I'm doing wrong, I keep as much attention to detail as I possibly can but I just can't figure this out....

<!-- gh-comment-id:454194678 --> @johnny-mac commented on GitHub (Jan 14, 2019): Yep, done that too.... Starting to seem hopeless. I keep going over everything in the hopes that I figure out what I'm doing wrong, I keep as much attention to detail as I possibly can but I just can't figure this out....
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/barrier#180
No description provided.