Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows build instructions #283

Closed
fabiojuniorr opened this issue Aug 17, 2023 · 1 comment · Fixed by #284
Closed

Windows build instructions #283

fabiojuniorr opened this issue Aug 17, 2023 · 1 comment · Fixed by #284

Comments

@fabiojuniorr
Copy link

Hi,

I'm getting some errors when I try to run the build install command, the build and tests run successfully but when I run the command below to install I get the following error:

Installed some dependencies:
cmake - 3.27.0
openssl - 1.1.1
GTest - 1.13.0
VS - 2019
Qt - 6.2.4
and other stuff...

cmake --build build --config RelWithDebInfo --target installer

Microsoft(R) Build Engine versão 16.11.2+f32259642 para .NET Framework
Copyright (C) Microsoft Corporation. Todos os direitos reservados.

  pcsc-cpp.vcxproj -> C:\desenvolvimento\projetos\others\web-eid\web-eid-app\build\lib\libelectronic-id\lib\libpcsc-cpp\RelWithDebInfo\pcsc-cpp.lib
  electronic-id.vcxproj -> C:\desenvolvimento\projetos\others\web-eid\web-eid-app\build\lib\libelectronic-id\RelWithDebInfo\electronic-id.lib
  Automatic MOC for target controller
  controller.vcxproj -> C:\desenvolvimento\projetos\others\web-eid\web-eid-app\build\src\controller\RelWithDebInfo\controller.lib
  Automatic MOC and UIC for target ui
  ui.vcxproj -> C:\desenvolvimento\projetos\others\web-eid\web-eid-app\build\src\ui\RelWithDebInfo\ui.lib
  Automatic MOC for target web-eid
  web-eid.vcxproj -> C:\desenvolvimento\projetos\others\web-eid\web-eid-app\build\src\app\RelWithDebInfo\web-eid.exe
 The system cannot find the path specified.
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(241,5): error MSB8066: the custom build for 'C:\desenvolvimento\projetos\others\web-eid\web-eid-app\build\CMakeFiles\f4fae8a8d0ee107223a962feaa24a736\installer.rule;C:\desenvolvimento\projetos\o
thers\web-eid\web-eid-app\src\app\CMakeLists.txt' terminated with code 3. [C:\desenvolvimento\projetos\others\web-eid\web-eid-app\build\src\app\installer.vcxproj]

About the message The system cannot find the path specified, I already verify the file build\src\app\RelWithDebInfo\web-eid.exe and de same was created in the directory.

I noticed that the file installer.rule was generated empty, is that right?

Thanks.

@mrts
Copy link
Member

mrts commented Aug 19, 2023

Hi Fabio!

I'm not sure what exactly causes the error, but as we know for certain that Windows builds work in GitHub, I would recommend that you check out the build job definition here and try to carefully replicate it step-by-step in your own machine.

Does that solve your problem?

metsma added a commit to metsma/web-eid-app that referenced this issue Aug 22, 2023
WE2-816, WE2-815, Fixes web-eid#283

Signed-off-by: Raul Metsma <[email protected]>
metsma added a commit to metsma/web-eid-app that referenced this issue Aug 22, 2023
WE2-816, WE2-815, Fixes web-eid#283

Signed-off-by: Raul Metsma <[email protected]>
@mrts mrts closed this as completed in #284 Sep 12, 2023
mrts pushed a commit that referenced this issue Sep 12, 2023
WE2-816, WE2-815, Fixes #283

Signed-off-by: Raul Metsma <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants