-
Notifications
You must be signed in to change notification settings - Fork 662
Build failure on MinGW from #5066 #5124
Copy link
Copy link
Open
Description
@nrusch The 3.1.12.0 change in #5066 broke the MinGW build w/:
FAILED: [code=1] bin/iconvert.exe
C:\Windows\system32\cmd.exe /C "cd . && D:\M\msys64\ucrt64\bin\g++.exe -march=nocona -msahf -mtune=generic -O2 -pipe -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -Wp,-D__USE_MINGW_ANSI_STDIO=1 -O3 -DNDEBUG /MANIFEST:NO src/iconvert/CMakeFiles/iconvert.dir/iconvert.cpp.obj src/iconvert/CMakeFiles/iconvert.dir/__/windows/oiio_exe.rc.obj -o bin\iconvert.exe -Wl,--out-implib,lib\libiconvert.dll.a -Wl,--major-image-version,0,--minor-image-version,0 lib/libOpenImageIO.dll.a lib/libOpenImageIO_Util.dll.a -lkernel32 -luser32 -lgdi32 -lwinspool -lshell32 -lole32 -loleaut32 -luuid -lcomdlg32 -ladvapi32 && cd ."
D:/M/msys64/ucrt64/lib/gcc/x86_64-w64-mingw32/15.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find /MANIFEST:NO: No such file or directory
collect2.exe: error: ld returned 1 exit status
The addition of that manifest switch only works for MSVC, but adding the .rc should still work w/ MinGW.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels