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

Fail to install assimp 5.2.4 at (vs_runtime="MTd" and debug=true) #2993

Closed
Kethers opened this issue Dec 26, 2023 · 1 comment
Closed

Fail to install assimp 5.2.4 at (vs_runtime="MTd" and debug=true) #2993

Kethers opened this issue Dec 26, 2023 · 1 comment
Labels

Comments

@Kethers
Copy link

Kethers commented Dec 26, 2023

Xmake Version

v2.8.5+dev.1ccbc20e7

Operating System Version and Architecture

Windows11 22H2 22621.2861

Describe Bug

Using VS2022 as toolchain and below statement in xmake
add_requires("assimp >= 5.2.4", {configs = {debug = true, vs_runtime = "MTd"}} )

Fail to install it, the detailed output log shows there's something wrong with the "/EHsc" flags and all these warnings are considered as errors.

Just change version limit is not working, test by command in local:

cd xmake-repo
xmake l ./scripts/test.lua --shallow --vs_runtime=MTd -m debug "assimp 5.2.4"

Code changes in Line 102
old:if not package:gitref() and package:version():lt("v5.2.4") then
new:if not package:gitref() and package:version():lt("v5.2.5") then

Expected Behavior

Should install successfully.

Project Configuration

add_requires("assimp >= 5.2.4", {configs = {debug = true, vs_runtime = "MTd"}} )

Additional Information and Error Logs

install.txt

@waruqi
Copy link
Member

waruqi commented Dec 26, 2023

fixed

#2994

@waruqi waruqi closed this as completed Dec 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants