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

resolve compilation issue of mcx_mie.cpp using MSVC #138

Closed
wants to merge 5 commits into from

Conversation

ShijieYan
Copy link
Contributor

No description provided.

@fangq fangq closed this in 13679e9 Jan 29, 2022
@fangq
Copy link
Owner

fangq commented Jan 29, 2022

a combination of 13679e9 and 6a9ad2f fixed the problem. now windows binaries are compiled.

windows build also detected these warnings, I believe gsmatrix was added in your patch

nvcc -c -g -lineinfo -Xcompiler -Wall -Xcompiler "/openmp /W0" -DSAVE_DETECTORS -use_fast_math -arch=sm_30 -DMCX_TARGET_NAME='"Fermi MCX"' -DUSE_ATOMIC -use_fast_math -DSAVE_DETECTORS -o mcx_core.obj  mcx_core.cu
mcx_core.cu
mcx\src\mcx_core.cu(2938) : warning C4701: potentially uninitialized local variable 'gsmatrix' used
mcx\src\mcx_core.cu(2938) : warning C4703: potentially uninitialized local pointer variable 'gsmatrix' used
mcx\src\mcx_core.cu(2866) : warning C4701: potentially uninitialized local variable 'updateprogress' used
mcx\src\mcx_core.cu(2866) : warning C4703: potentially uninitialized local pointer variable 'updateprogress' used

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 this pull request may close these issues.

None yet

2 participants