GithubHelp home page GithubHelp logo

Build Warble? about warble HOT 9 CLOSED

thoraxmax avatar thoraxmax commented on August 20, 2024
Build Warble?

from warble.

Comments (9)

scaryghost avatar scaryghost commented on August 20, 2024

The first issue is pretty self explanatory, as indicated by the error message:

MSBUILD : error MSB1009: Project file does not exist.

Regarding your VS build, post the filename and line number referenced by that error message.

from warble.

thoraxmax avatar thoraxmax commented on August 20, 2024

Thank you. I am new to this, but I am thankful for you help.
But the warble.sln exist? even if i specify directory I get the error:
`Microsoft Windows [Version 10.0.17134.228]
(c) 2018 Microsoft Corporation. All rights reserved.

C:\WINDOWS\system32>MSbuild.exe 'C:\Users\thors\Desktop\Warble-master\vs2017\warble.sln'
Microsoft (R) Build Engine version 15.8.168+ga8fba1ebd7 for .NET Framework
Copyright (C) Microsoft Corporation. All rights reserved.

MSBUILD : error MSB1009: Project file does not exist.
Switch: 'C:\Users\thors\Desktop\Warble-master\vs2017\warble.sln'

C:\WINDOWS\system32>`

from warble.

thoraxmax avatar thoraxmax commented on August 20, 2024

if i run from the folder with power shell I instead get this:

PS C:\Users\thors\Desktop\Warble-master\vs2017>
PS C:\Users\thors\Desktop\Warble-master\vs2017> msbuild warble.sln
Microsoft (R) Build Engine version 15.8.168+ga8fba1ebd7 for .NET Framework
Copyright (C) Microsoft Corporation. All rights reserved.

Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
Build started 2018-09-05 11:41:20.
Project "C:\Users\thors\Desktop\Warble-master\vs2017\warble.sln" on node 1 (default targets).
ValidateSolutionConfiguration:
Building solution configuration "Debug|x64".
Project "C:\Users\thors\Desktop\Warble-master\vs2017\warble.sln" (1) is building "C:\Users\thors\Desktop\Warble-master
vs2017\warble.vcxproj" (2) on node 1 (default targets).
GenerateLibDef:
..\bin\generate_version.bat
'git' is not recognized as an internal or external command,
operable program or batch file.
Missing operand.
..
InitializeBuildStatus:
Touching "x64\Debug\warble.tlog\unsuccessfulbuild".
ClCompile:
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.15.26726\bin\HostX86\x64\CL.exe /c /AI
"C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\vcpackages" /AI"C:\Program Files (x86)
Windows Kits\10\UnionMetadata\10.0.16299.0" /ZI /JMC /ZW /nologo /W3 /WX- /diagnostics:classic /sdl /Od /D WARBLE_DLL
_EXPORTS /D API_WIN10 /D _DEBUG /D WARBLE_EXPORTS /D _WINDOWS /D _USRDLL /D _WINDLL /D _UNICODE /D UNICODE /Gm- /EHsc
/RTC1 /MDd /GS /fp:precise /permissive- /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"x64\Debug\" /Fd"x64\Debug\vc141.pdb
" /Gd /TP /FC /errorReport:queue /Zc:twoPhase- ..\src\warble\cpp\lib.cpp
lib.cpp
c:\users\thors\desktop\warble-master\src\warble\cpp\lib_def.h(2): error C2001: newline in constant [C:\Users\thors\Desk
top\Warble-master\vs2017\warble.vcxproj]
c:\users\thors\desktop\warble-master\src\warble\cpp\lib_def.h(3): error C4430: missing type specifier - int assumed. No
te: C++ does not support default-int [C:\Users\thors\Desktop\Warble-master\vs2017\warble.vcxproj]
c:\users\thors\desktop\warble-master\src\warble\cpp\lib_def.h(3): error C2146: syntax error: missing ';' before identif
ier 'program' [C:\Users\thors\Desktop\Warble-master\vs2017\warble.vcxproj]
c:\users\thors\desktop\warble-master\src\warble\cpp\lib_def.h(5): error C2001: newline in constant [C:\Users\thors\Desk
top\Warble-master\vs2017\warble.vcxproj]
Done Building Project "C:\Users\thors\Desktop\Warble-master\vs2017\warble.vcxproj" (default targets) -- FAILED.

Done Building Project "C:\Users\thors\Desktop\Warble-master\vs2017\warble.sln" (default targets) -- FAILED.

Build FAILED.

"C:\Users\thors\Desktop\Warble-master\vs2017\warble.sln" (default target) (1) ->
"C:\Users\thors\Desktop\Warble-master\vs2017\warble.vcxproj" (default target) (2) ->
(ClCompile target) ->
c:\users\thors\desktop\warble-master\src\warble\cpp\lib_def.h(2): error C2001: newline in constant [C:\Users\thors\De
sktop\Warble-master\vs2017\warble.vcxproj]
c:\users\thors\desktop\warble-master\src\warble\cpp\lib_def.h(3): error C4430: missing type specifier - int assumed.
Note: C++ does not support default-int [C:\Users\thors\Desktop\Warble-master\vs2017\warble.vcxproj]
c:\users\thors\desktop\warble-master\src\warble\cpp\lib_def.h(3): error C2146: syntax error: missing ';' before ident
ifier 'program' [C:\Users\thors\Desktop\Warble-master\vs2017\warble.vcxproj]
c:\users\thors\desktop\warble-master\src\warble\cpp\lib_def.h(5): error C2001: newline in constant [C:\Users\thors\De
sktop\Warble-master\vs2017\warble.vcxproj]

0 Warning(s)
4 Error(s)

Time Elapsed 00:00:02.93
PS C:\Users\thors\Desktop\Warble-master\vs2017>

from warble.

scaryghost avatar scaryghost commented on August 20, 2024

PS C:\Users\thors\Desktop\Warble-master\vs2017> msbuild warble.sln
Microsoft (R) Build Engine version 15.8.168+ga8fba1ebd7 for .NET Framework
Copyright (C) Microsoft Corporation. All rights reserved.

Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
Build started 2018-09-05 11:41:20.
Project "C:\Users\thors\Desktop\Warble-master\vs2017\warble.sln" on node 1 (default targets).
ValidateSolutionConfiguration:
Building solution configuration "Debug|x64".
Project "C:\Users\thors\Desktop\Warble-master\vs2017\warble.sln" (1) is building "C:\Users\thors\Desktop\Warble-master
vs2017\warble.vcxproj" (2) on node 1 (default targets).
GenerateLibDef:
..\bin\generate_version.bat
'git' is not recognized as an internal or external command,
operable program or batch file.
Missing operand.

Please re-read the build section. It does not look like you have retrieved the source code as instructed.
https://github.com/mbientlab/Warble#build

from warble.

thoraxmax avatar thoraxmax commented on August 20, 2024

Thank you. If I clone the responsory to Visual Studio I get this error message:
1> Command line: C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2017\COMMUNITY\COMMON7\IDE\COMMONEXTENSIONS\MICROSOFT\CMAKE\CMake\bin\cmake.exe -G "Ninja" -DCMAKE_INSTALL_PREFIX:PATH="C:\Users\thors\CMakeBuilds\ac2a9d09-bd94-e234-9065-5ae4d150ea79\install\x64-Debug (default)" -DCMAKE_CXX_COMPILER="C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.15.26726/bin/HostX64/x64/cl.exe" -DCMAKE_C_COMPILER="C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.15.26726/bin/HostX64/x64/cl.exe" -DCMAKE_BUILD_TYPE="Debug" -DCMAKE_MAKE_PROGRAM="C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2017\COMMUNITY\COMMON7\IDE\COMMONEXTENSIONS\MICROSOFT\CMAKE\Ninja\ninja.exe" "C:\Users\thors\Source\Repos\Warble2\deps\libblepp"
1> Working directory: C:\Users\thors\CMakeBuilds\ac2a9d09-bd94-e234-9065-5ae4d150ea79\build\x64-Debug (default)
1> -- The C compiler identification is MSVC 19.15.26726.0
1> -- The CXX compiler identification is MSVC 19.15.26726.0
1> -- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.15.26726/bin/HostX64/x64/cl.exe
1> -- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.15.26726/bin/HostX64/x64/cl.exe -- works
1> -- Detecting C compiler ABI info
1> -- Detecting C compiler ABI info - done
1> -- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.15.26726/bin/HostX64/x64/cl.exe
1> -- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.15.26726/bin/HostX64/x64/cl.exe -- works
1> -- Detecting CXX compiler ABI info
1> -- Detecting CXX compiler ABI info - done
1> -- Detecting CXX compile features
1> -- Detecting CXX compile features - done
1> -- Platform not supported by Bluez - skipping search
1> CMake Error at C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.11/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
1> Could NOT find Bluez (missing: BLUEZ_LIBRARY BLUEZ_INCLUDE_DIR)
1> Call Stack (most recent call first):
1> C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.11/Modules/FindPackageHandleStandardArgs.cmake(378): (_FPHSA_FAILURE_MESSAGE)
1> C:\Users\thors\Source\Repos\Warble2\deps\libblepp\cmake/modules/FindBluez.cmake(65): (find_package_handle_standard_args)
1> C:\Users\thors\Source\Repos\Warble2\deps\libblepp\CMakeLists.txt(40): (find_package)
1>
1>
1> -- Configuring incomplete, errors occurred!
1> See also "C:/Users/thors/CMakeBuilds/ac2a9d09-bd94-e234-9065-5ae4d150ea79/build/x64-Debug (default)/CMakeFiles/CMakeOutput.log".
1> C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2017\COMMUNITY\COMMON7\IDE\COMMONEXTENSIONS\MICROSOFT\CMAKE\CMake\bin\cmake.exe -G "Ninja" -DCMAKE_INSTALL_PREFIX:PATH="C:\Users\thors\CMakeBuilds\ac2a9d09-bd94-e234-9065-5ae4d150ea79\install\x64-Debug (default)" -DCMAKE_CXX_COMPILER="C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.15.26726/bin/HostX64/x64/cl.exe" -DCMAKE_C_COMPILER="C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.15.26726/bin/HostX64/x64/cl.exe" -DCMAKE_BUILD_TYPE="Debug" -DCMAKE_MAKE_PROGRAM="C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2017\COMMUNITY\COMMON7\IDE\COMMONEXTENSIONS\MICROSOFT\CMAKE\Ninja\ninja.exe" "C:\Users\thors\Source\Repos\Warble2\deps\libblepp" returned with exit code: 1
CMake Error at C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.11/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
Could NOT find Bluez (missing: BLUEZ_LIBRARY BLUEZ_INCLUDE_DIR)
Call Stack (most recent call first):
C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.11/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE)
cmake/modules/FindBluez.cmake:65 (find_package_handle_standard_args)
CMakeLists.txt:40 (find_package)

from warble.

scaryghost avatar scaryghost commented on August 20, 2024

Warble doesn't have a cmake build file. What command(s) did you execute?

from warble.

thoraxmax avatar thoraxmax commented on August 20, 2024

In command prompt:
C:\WINDOWS\system32>MSBuild.exe warble.sln
In Visual Studio I did simply just "built the solution" that I cloned from GitHub.

Thank you for your help.

from warble.

scaryghost avatar scaryghost commented on August 20, 2024

What git commands did you run?

from warble.

thoraxmax avatar thoraxmax commented on August 20, 2024

Thank you I now succeeded. I believe it was the path that did not found it. I specified the path in "source" folder.

Solved!

from warble.

Related Issues (8)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.