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

Retry enabling Windows builds #13

Closed
wants to merge 3 commits into from

Conversation

effigies
Copy link
Contributor

@effigies effigies commented Jul 29, 2024

Rebased and rerendered #1. Haven't tested locally.


Checklist

  • Used a personal fork of the feedstock to propose changes
  • Bumped the build number (if the version is unchanged)
  • Reset the build number to 0 (if the version changed)
  • Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
  • Ensured the license file is being packaged.

@effigies effigies requested a review from ghisvail as a code owner July 29, 2024 13:32
@conda-forge-webservices
Copy link

Hi! This is the friendly automated conda-forge-linting service.

I just wanted to let you know that I linted all conda-recipes in your PR (recipe/meta.yaml) and found it was in an excellent condition.

@effigies effigies closed this Jul 30, 2024
@ghisvail
Copy link
Contributor

Got a similar error the last time I tried

[318/426] Linking CXX executable Examples\antsAffineInitializer.exe
FAILED: Examples/antsAffineInitializer.exe 
C:\Windows\system32\cmd.exe /C "cd . && %BUILD_PREFIX%\Library\bin\cmake.exe -E vs_link_exe --intdir=Examples\CMakeFiles\antsAffineInitializer.dir --rc=C:\PROGRA~2\WI3CF2~1\10\bin\100226~1.0\x64\rc.exe --mt=C:\PROGRA~2\WI3CF2~1\10\bin\100226~1.0\x64\mt.exe --manifests  -- C:\PROGRA~1\MICROS~2\2022\ENTERP~1\VC\Tools\MSVC\1429~1.301\bin\HostX64\x64\link.exe /nologo @CMakeFiles\antsAffineInitializer.rsp  /out:Examples\antsAffineInitializer.exe /implib:Examples\antsAffineInitializer.lib /pdb:Examples\antsAffineInitializer.pdb /version:0.0 /machine:x64  /INCREMENTAL:NO /subsystem:console && cd ."
LINK: command "C:\PROGRA~1\MICROS~2\2022\ENTERP~1\VC\Tools\MSVC\1429~1.301\bin\HostX64\x64\link.exe /nologo @CMakeFiles\antsAffineInitializer.rsp /out:Examples\antsAffineInitializer.exe /implib:Examples\antsAffineInitializer.lib /pdb:Examples\antsAffineInitializer.pdb /version:0.0 /machine:x64 /INCREMENTAL:NO /subsystem:console /MANIFEST:EMBED,ID=1" failed (exit code 1169) with the following output:
LINK : warning LNK4044: unrecognized option '/lpthreads'; ignored
ITKOptimizers-5.4.lib(ITKOptimizers-5.4.dll) : error LNK2005: "protected: __cdecl itk::CostFunctionTemplate<double>::CostFunctionTemplate<double>(void)" (??0?$CostFunctionTemplate@N@itk@@IEAA@XZ) already defined in antsUtilities.lib(antsRegistration4DDouble.cxx.obj)
ITKOptimizers-5.4.lib(ITKOptimizers-5.4.dll) : error LNK2005: "protected: virtual __cdecl itk::CostFunctionTemplate<double>::~CostFunctionTemplate<double>(void)" (??1?$CostFunctionTemplate@N@itk@@MEAA@XZ) already defined in antsUtilities.lib(antsRegistration4DDouble.cxx.obj)
ITKOptimizers-5.4.lib(ITKOptimizers-5.4.dll) : error LNK2005: "protected: virtual void __cdecl itk::CostFunctionTemplate<double>::PrintSelf(class std::basic_ostream<char,struct std::char_traits<char> > &,class itk::Indent)const " (?PrintSelf@?$CostFunctionTemplate@N@itk@@MEBAXAEAV?$basic_ostream@DU?$char_traits@D@std@@@std@@VIndent@2@@Z) already defined in antsUtilities.lib(antsRegistration4DDouble.cxx.obj)

Examples\antsAffineInitializer.exe : fatal error LNK1169: one or more multiply defined symbols found

@ghisvail ghisvail mentioned this pull request Jul 30, 2024
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.

2 participants