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

[package] libjpeg/9d: can't build with clang on windows - nmake not found #13318

Open
AndreyMlashkin opened this issue Oct 6, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@AndreyMlashkin
Copy link
Contributor

Description

can't build libjpeg/9d with clang on windows - nmake not found, even if I specify to use Ninja in my build profile

Package and Environment Details

  • Package Name/Version: libjpeg/9d
  • Operating System+version: Windows 10
  • Compiler+version: clang from MSVC
  • Conan version: conan 1.53

Conan profile

[settings]
os=Windows
os_build=Windows
arch=x86_64
arch_build=x86_64
compiler=clang
compiler.version=12
build_type=Release
cppstd=17
[options]
[conf]
[build_requires]
[env]
CONAN_CMAKE_GENERATOR=Ninja

Steps to reproduce

conan install libjpeg/9d@ --build missing -r conancenter -u -pr clang

Logs

Click to expand log
Installing (downloading, building) binaries...
Downloading conan_sources.tgz completed [6.16k]
Decompressing conan_sources.tgz completed [0.00k]
libjpeg/9d: Configuring sources in D:\.conan\storage\libjpeg\9d\_\_\source\src
Downloading jpegsrc.v9d.tar.gz completed [1006.75k]                                      libjpeg/9d: g/9d:
libjpeg/9d:
libjpeg/9d: Copying sources to build folder
libjpeg/9d: Building your package in D:\.conan\storage\libjpeg\9d\_\_\build\953141255571f930532512aaa0e30f6ab1eec04c
libjpeg/9d: Generator txt created conanbuildinfo.txt
libjpeg/9d: Calling generate()
libjpeg/9d: Aggregating env generators
libjpeg/9d: Calling build()
libjpeg/9d: Copied 1 '.Mak' file: Win32.Mak

----Running------
> "D:\.conan\storage\libjpeg\9d\_\_\build\953141255571f930532512aaa0e30f6ab1eec04c\build-release\conan\conanbuild.bat" && nmake -f makefile.vc nodebug=1 static/libjpeg.lib
-----------------
'nmake' is not recognized as an internal or external command,
operable program or batch file.
libjpeg/9d:
libjpeg/9d: ERROR: Package '953141255571f930532512aaa0e30f6ab1eec04c' build failed
libjpeg/9d: WARN: Build folder D:\.conan\storage\libjpeg\9d\_\_\build\953141255571f930532512aaa0e30f6ab1eec04c\build-release
ERROR: libjpeg/9d: Error in build() method, line 133
        self._build_nmake()
while calling '_build_nmake', line 128
        self.run("nmake -f makefile.vc {} {}".format(" ".join(make_args), target))
        ConanException: Error 1 while executing nmake -f makefile.vc nodebug=1 static/libjpeg.lib
@AndreyMlashkin AndreyMlashkin added the bug Something isn't working label Oct 6, 2022
@AndreyMlashkin
Copy link
Contributor Author

Relates to conan-io/conan#11492

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant