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 #322

Closed
emanueledimauro opened this issue Apr 18, 2023 · 8 comments
Closed

Windows Build #322

emanueledimauro opened this issue Apr 18, 2023 · 8 comments

Comments

@emanueledimauro
Copy link

emanueledimauro commented Apr 18, 2023

I used nmos-cpp in linux environment and it works perfectly. However, I tried compiling on windows and had problems with conan (old_conan_cmake_install).

Has anyone compiled for windows yet ? Can I find a repository with the binaries ?

I would be very curious to try !

@garethsb
Copy link
Contributor

garethsb commented Apr 18, 2023

It's built on Windows in every GitHub Actions run, and Windows binaries are available in Conan Center Index. What is your problem with conan? Note the recipe is limited to not work with Conan 2.0 yet, in case that's the issue!

@emanueledimauro
Copy link
Author

I have this message :

ERROR: Error while parsing [options] in conanfile.txt
[cmake] CMake Error at build/conan.cmake:540 (message):
[cmake]   Conan install failed='1'

But I'm searching just a compiled .exe binary files for discovery IS-04, for me is enough but I can't find them on the web.

Would you have a link where I can download them for OS Windows?
Thank you very much,
Emanuele

@garethsb
Copy link
Contributor

Would you have a link where I can download them for OS Windows?

Last time I checked, these instructions worked to get Conan to install a prebuilt binary: #283 (comment)

@garethsb
Copy link
Contributor

I have this message :

ERROR: Error while parsing [options] in conanfile.txt

I wonder if this means you have Conan 2.0, as I believe the syntax of options changed slightly. We haven't quite completed the work to support Conan 2.0 so that's why we recommend pip install conan=~1.47 for now.

@emanueledimauro
Copy link
Author

emanueledimauro commented Apr 19, 2023

Thanks,
but 1.47 is not enough, I have this message :

ERROR: nasm/2.15.05: Cannot load recipe.
Error loading conanfile at 'C:\Users...export\conanfile.py': 
Current Conan version (1.53.0) does not satisfy the defined one (>=1.55.0).

I'll try with 1.55 !

@garethsb
Copy link
Contributor

garethsb commented Apr 19, 2023

Sorry, yes - the nmos-cpp recipe itself only needs 1.47 or higher, but recipes for some of its dependencies may have been updated to require a higher version. Using conan=~1.47 means it should install the highest version >= 1.47 < 2.0, but you need to add --upgrade if you already have one in this range to accommodate the newer dependency requirements. The GitHub Action always uses the most recent 1.x version. Conan 1.59 is what I'm using locally on Windows and Linux.

@emanueledimauro
Copy link
Author

It's ok !
Thank you very much for helping me !

@lo-simon
Copy link
Contributor

lo-simon commented Nov 6, 2023

Resolved

@lo-simon lo-simon closed this as completed Nov 6, 2023
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

No branches or pull requests

3 participants