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
openexr corrupt patch #3064
Comments
When compiling again, you need to clear the build directory because patches for some modules cannot be applied twice. |
not sure that's the problem. As build process is very verbose it is difficult to get all message.
|
@lanewei120 有没有遇到过? |
it seems openvdb is not build successfully when building deps @LaurentBerger for example
if yes, could you packed these files to us for a check |
YES and include |
caused by previous gcc patch from linux github: #3064 Change-Id: If6075068b961b956fc2e0ca369adc01b2f50b0db
hi, this issue is caused by deps building of OpenEXR we have fixed it at #3188 please have a try |
caused by previous gcc patch from linux github: #3064 Change-Id: If6075068b961b956fc2e0ca369adc01b2f50b0db
caused by previous gcc patch from linux github: #3064 Change-Id: If6075068b961b956fc2e0ca369adc01b2f50b0db (cherry picked from commit d5626708ec60f00345cee36de3c8c38854b4b52c)
Bambu Studio Version
even with master
Where is the application from?
Built from source by yourself or others
OS version
windows 11 vs 2022
Additional system information
13th Gen Intel(R) Core(TM) i9-13900KF 3.00 GHz NVidia RTX 3090
Printer
waiting delivery
How to reproduce
I tried to build dep
Actual results
cmake --build . --config=Release
MSBuild version 17.5.0+6f08c67f3 for .NET Framework
Checking Build System
Building Custom Rule C:/lib/BambuStudio/deps/CMakeLists.txt
Building Custom Rule C:/lib/BambuStudio/deps/CMakeLists.txt
Building Custom Rule C:/lib/BambuStudio/deps/CMakeLists.txt
Building Custom Rule C:/lib/BambuStudio/deps/CMakeLists.txt
Building Custom Rule C:/lib/BambuStudio/deps/CMakeLists.txt
Building Custom Rule C:/lib/BambuStudio/deps/CMakeLists.txt
Building Custom Rule C:/lib/BambuStudio/deps/CMakeLists.txt
Building Custom Rule C:/lib/BambuStudio/deps/CMakeLists.txt
Building Custom Rule C:/lib/BambuStudio/deps/CMakeLists.txt
Building Custom Rule C:/lib/BambuStudio/deps/CMakeLists.txt
Building Custom Rule C:/lib/BambuStudio/deps/CMakeLists.txt
Building Custom Rule C:/lib/BambuStudio/deps/CMakeLists.txt
Building Custom Rule C:/lib/BambuStudio/deps/CMakeLists.txt
Building Custom Rule C:/lib/BambuStudio/deps/CMakeLists.txt
Building Custom Rule C:/lib/BambuStudio/deps/CMakeLists.txt
Building Custom Rule C:/lib/BambuStudio/deps/CMakeLists.txt
Performing patch step for 'dep_OpenEXR'
CUSTOMBUILD : error : corrupt patch at line 5 [C:\lib\BambuStudio\deps\build\dep_OpenEXR.vcxproj]
C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(247,5): error MSB8066:
la build personnalisée de 'C:\lib\BambuStudio\deps\build\CMakeFiles\fea2bd8c90cc09515bf127050616dcf7\dep_OpenEXR-patch.rule;C:\lib
BambuStudio\deps\build\CMakeFiles\fea2bd8c90cc09515bf127050616dcf7\dep_OpenEXR-configure.rule;C:\lib\BambuStudio\deps\build\CMakeFil
es\fea2bd8c90cc09515bf127050616dcf7\dep_OpenEXR-build.rule;C:\lib\BambuStudio\deps\build\CMakeFiles\fea2bd8c90cc09515bf127050616dcf7
\dep_OpenEXR-build_debug.rule;C:\lib\BambuStudio\deps\build\CMakeFiles\fea2bd8c90cc09515bf127050616dcf7\dep_OpenEXR-install.rule;C:
lib\BambuStudio\deps\build\CMakeFiles\81e85d90e05730ebabef268f74d76fa5\dep_OpenEXR-complete.rule;C:\lib\BambuStudio\deps\build\CMake
Files\b4ed71ba669bc48bb63b6224b78d8f2a\dep_OpenEXR.rule;C:\lib\BambuStudio\deps\CMakeLists.txt' s'est arrêtée. Code 128. [C:\lib\Bam
buStudio\deps\build\dep_OpenEXR.vcxproj]
Building Custom Rule C:/lib/BambuStudio/deps/CMakeLists.txt
Building Custom Rule C:/lib/BambuStudio/deps/CMakeLists.txt
Building Custom Rule C:/lib/BambuStudio/deps/CMakeLists.txt
Building Custom Rule C:/lib/BambuStudio/deps/CMakeLists.txt
Performing update step for 'dep_wxWidgets'
Building Custom Rule C:/lib/BambuStudio/deps/CMakeLists.txt
Performing patch step for 'dep_wxWidgets'
C:/lib/BambuStudio/deps/wxWidgets/0001-wxWidget-fix.patch:42: space before tab in indent.
, const wxWindow *window = nullptr
C:/lib/BambuStudio/deps/wxWidgets/0001-wxWidget-fix.patch:44: space before tab in indent.
);
C:/lib/BambuStudio/deps/wxWidgets/0001-wxWidget-fix.patch:55: space before tab in indent.
, const wxWindow *window = nullptr
C:/lib/BambuStudio/deps/wxWidgets/0001-wxWidget-fix.patch:57: space before tab in indent.
)
C:/lib/BambuStudio/deps/wxWidgets/0001-wxWidget-fix.patch:181: trailing whitespace.
(anchorSideVertical & wxUP) ||
Checking patch build/cmake/init.cmake...
CUSTOMBUILD : error : while searching for: [C:\lib\BambuStudio\deps\build\dep_wxWidgets.vcxproj]
else()?
find_package(OpenGL)?
if(WXGTK3 AND OpenGL_EGL_FOUND AND wxUSE_GLCANVAS_EGL)?
set(OPENGL_LIBRARIES OpenGL::OpenGL OpenGL::EGL)?
find_package(WAYLANDEGL)?
if(WAYLANDEGL_FOUND AND wxHAVE_GDK_WAYLAND)?
list(APPEND OPENGL_LIBRARIES ${WAYLANDEGL_LIBRARIES})?
CUSTOMBUILD : error : patch failed: build/cmake/init.cmake:413 [C:\lib\BambuStudio\deps\build\dep_wxWidgets.vcxproj]
CUSTOMBUILD : error : build/cmake/init.cmake: patch does not apply [C:\lib\BambuStudio\deps\build\dep_wxWidgets.vcxproj]
Checking patch build/cmake/lib/webview/CMakeLists.txt...
CUSTOMBUILD : error : while searching for: [C:\lib\BambuStudio\deps\build\dep_wxWidgets.vcxproj]
elseif(WXMSW)?
if(wxUSE_WEBVIEW_EDGE)?
# Update the following variables if updating WebView2 SDK?
set(WEBVIEW2_VERSION "1.0.705.50")?
set(WEBVIEW2_URL "https://www.nuget.org/api/v2/package/Microsoft.Web.WebView2/${WEBVIEW2_VERSION}")?
set(WEBVIEW2_SHA256 "6a34bb553e18cfac7297b4031f3eac2558e439f8d16a45945c22945ac404105d")?
?
CUSTOMBUILD : error : patch failed: build/cmake/lib/webview/CMakeLists.txt:56 [C:\lib\BambuStudio\deps\build\dep_wxWidgets.vcxproj]
CUSTOMBUILD : error : build/cmake/lib/webview/CMakeLists.txt: patch does not apply [C:\lib\BambuStudio\deps\build\dep_wxWidgets.vcxp
roj]
Checking patch include/wx/fontutil.h...
CUSTOMBUILD : error : while searching for: [C:\lib\BambuStudio\deps\build\dep_wxWidgets.vcxproj]
wxFontEncoding GetEncoding() const;?
?
void SetPointSize(int pointsize);?
void SetFractionalPointSize(double pointsize);?
void SetPixelSize(const wxSize& pixelSize);?
void SetStyle(wxFontStyle style);?
void SetNumericWeight(int weight);?
CUSTOMBUILD : error : patch failed: include/wx/fontutil.h:294 [C:\lib\BambuStudio\deps\build\dep_wxWidgets.vcxproj]
CUSTOMBUILD : error : include/wx/fontutil.h: patch does not apply [C:\lib\BambuStudio\deps\build\dep_wxWidgets.vcxproj]
Checking patch include/wx/gdicmn.h...
CUSTOMBUILD : error : while searching for: [C:\lib\BambuStudio\deps\build\dep_wxWidgets.vcxproj]
class WXDLLIMPEXP_FWD_BASE wxString;?
class WXDLLIMPEXP_FWD_CORE wxIconBundle;?
class WXDLLIMPEXP_FWD_CORE wxPoint;?
?
// ---------------------------------------------------------------------------?
// constants?
CUSTOMBUILD : error : patch failed: include/wx/gdicmn.h:38 [C:\lib\BambuStudio\deps\build\dep_wxWidgets.vcxproj]
CUSTOMBUILD : error : include/wx/gdicmn.h: patch does not apply [C:\lib\BambuStudio\deps\build\dep_wxWidgets.vcxproj]
Checking patch include/wx/generic/grid.h...
CUSTOMBUILD : error : while searching for: [C:\lib\BambuStudio\deps\build\dep_wxWidgets.vcxproj]
wxGridWindow* gridWindow);?
?
// Update the width/height of the column/row being drag-resized.?
void DoGridDragResize(const wxPoint& position,?
const wxGridOperations& oper,?
wxGridWindow* gridWindow);?
?
// process different clicks on grid cells?
void DoGridCellLeftDown(wxMouseEvent& event,?
CUSTOMBUILD : error : patch failed: include/wx/generic/grid.h:2951 [C:\lib\BambuStudio\deps\build\dep_wxWidgets.vcxproj]
CUSTOMBUILD : error : include/wx/generic/grid.h: patch does not apply [C:\lib\BambuStudio\deps\build\dep_wxWidgets.vcxproj]
Checking patch include/wx/msw/font.h...
CUSTOMBUILD : error : while searching for: [C:\lib\BambuStudio\deps\build\dep_wxWidgets.vcxproj]
// ctors and such?
wxFont() { }?
?
wxFont(const wxFontInfo& info);?
?
wxFont(int size,?
wxFontFamily family,?
CUSTOMBUILD : error : patch failed: include/wx/msw/font.h:23 [C:\lib\BambuStudio\deps\build\dep_wxWidgets.vcxproj]
CUSTOMBUILD : error : include/wx/msw/font.h: patch does not apply [C:\lib\BambuStudio\deps\build\dep_wxWidgets.vcxproj]
Checking patch include/wx/msw/tooltip.h...
CUSTOMBUILD : error : while searching for: [C:\lib\BambuStudio\deps\build\dep_wxWidgets.vcxproj]
// the one and only one tooltip control we use - never access it directly?
// but use GetToolTipCtrl() which will create it when needed?
static WXHWND ms_hwndTT;?
?
// create the tooltip ctrl if it doesn't exist yet and return its HWND?
static WXHWND GetToolTipCtrl();?
?
// to be used in wxModule for deleting tooltip ctrl window when exiting mainloop?
static void DeleteToolTipCtrl();?
?
CUSTOMBUILD : error : patch failed: include/wx/msw/tooltip.h:91 [C:\lib\BambuStudio\deps\build\dep_wxWidgets.vcxproj]
CUSTOMBUILD : error : include/wx/msw/tooltip.h: patch does not apply [C:\lib\BambuStudio\deps\build\dep_wxWidgets.vcxproj]
Checking patch include/wx/osx/app.h...
CUSTOMBUILD : error : while searching for: [C:\lib\BambuStudio\deps\build\dep_wxWidgets.vcxproj]
?
public:?
bool OSXInitWasCalled() { return m_inited; }?
void OSXStoreOpenFiles(const wxArrayString &files ) { m_openFiles = files ; }?
void OSXStorePrintFiles(const wxArrayString &files ) { m_printFiles = files ; }?
void OSXStoreOpenURL(const wxString &url ) { m_getURL = url ; }?
#endif?
CUSTOMBUILD : error : patch failed: include/wx/osx/app.h:161 [C:\lib\BambuStudio\deps\build\dep_wxWidgets.vcxproj]
CUSTOMBUILD : error : include/wx/osx/app.h: patch does not apply [C:\lib\BambuStudio\deps\build\dep_wxWidgets.vcxproj]
Checking patch src/common/combocmn.cpp...
CUSTOMBUILD : error : while searching for: [C:\lib\BambuStudio\deps\build\dep_wxWidgets.vcxproj]
#if !USES_GENERICTLW?
m_winPopup = new wxComboPopupWindowBase2( this, wxNO_BORDER );?
#else?
int tlwFlags = wxNO_BORDER;?
#ifdef wxCC_GENERIC_TLW_IS_FRAME?
tlwFlags |= wxFRAME_NO_TASKBAR;?
#endif?
CUSTOMBUILD : error : patch failed: src/common/combocmn.cpp:2141 [C:\lib\BambuStudio\deps\build\dep_wxWidgets.vcxproj]
CUSTOMBUILD : error : src/common/combocmn.cpp: patch does not apply [C:\lib\BambuStudio\deps\build\dep_wxWidgets.vcxproj]
Checking patch src/common/datavcmn.cpp...
CUSTOMBUILD : error : while searching for: [C:\lib\BambuStudio\deps\build\dep_wxWidgets.vcxproj]
?
wxDataViewItemArray selections;?
GetSelections(selections);?
return selections[0];?
}?
?
namespace?
CUSTOMBUILD : error : patch failed: src/common/datavcmn.cpp:1322 [C:\lib\BambuStudio\deps\build\dep_wxWidgets.vcxproj]
CUSTOMBUILD : error : src/common/datavcmn.cpp: patch does not apply [C:\lib\BambuStudio\deps\build\dep_wxWidgets.vcxproj]
Checking patch src/common/dcbufcmn.cpp...
CUSTOMBUILD : error : while searching for: [C:\lib\BambuStudio\deps\build\dep_wxWidgets.vcxproj]
const double scale = dc ? dc->GetContentScaleFactor() : 1.0;?
wxBitmap* const buffer = new wxBitmap;?
?
// we must always return a valid bitmap but creating a bitmap of?
// size 0 would fail, so create a 1*1 bitmap in this case?
buffer->CreateScaled(wxMax(w, 1), wxMax(h, 1), -1, scale);?
?
return buffer;?
}?
CUSTOMBUILD : error : patch failed: src/common/dcbufcmn.cpp:82 [C:\lib\BambuStudio\deps\build\dep_wxWidgets.vcxproj]
CUSTOMBUILD : error : src/common/dcbufcmn.cpp: patch does not apply [C:\lib\BambuStudio\deps\build\dep_wxWidgets.vcxproj]
Checking patch src/common/gdicmn.cpp...
CUSTOMBUILD : error : while searching for: [C:\lib\BambuStudio\deps\build\dep_wxWidgets.vcxproj]
*height = size.y;?
}?
?
wxSize wxGetDisplaySize()?
{?
return wxDisplay().GetGeometry().GetSize();?
}?
?
void wxClientDisplayRect(int *x, int *y, int *width, int *height)?
{?
const wxRect rect = wxGetClientDisplayRect();?
CUSTOMBUILD : error : patch failed: src/common/gdicmn.cpp:863 [C:\lib\BambuStudio\deps\build\dep_wxWidgets.vcxproj]
CUSTOMBUILD : error : src/common/gdicmn.cpp: patch does not apply [C:\lib\BambuStudio\deps\build\dep_wxWidgets.vcxproj]
Checking patch src/common/intl.cpp...
CUSTOMBUILD : error : while searching for: [C:\lib\BambuStudio\deps\build\dep_wxWidgets.vcxproj]
{?
str = buf;?
?
// As we get our decimal point separator from Win32 and not the?
// CRT there is a possibility of mismatch between them and this?
// can easily happen if the user code called setlocale()?
CUSTOMBUILD : error : patch failed: src/common/intl.cpp:1628 [C:\lib\BambuStudio\deps\build\dep_wxWidgets.vcxproj]
CUSTOMBUILD : error : src/common/intl.cpp: patch does not apply [C:\lib\BambuStudio\deps\build\dep_wxWidgets.vcxproj]
Checking patch src/generic/grid.cpp...
CUSTOMBUILD : error : while searching for: [C:\lib\BambuStudio\deps\build\dep_wxWidgets.vcxproj]
{?
case WXGRID_CURSOR_RESIZE_ROW:?
{?
DoGridDragResize(event.GetPosition(), wxGridRowOperations(), gridWindow);?
}?
break;?
?
CUSTOMBUILD : error : patch failed: src/generic/grid.cpp:3824 [C:\lib\BambuStudio\deps\build\dep_wxWidgets.vcxproj]
CUSTOMBUILD : error : src/generic/grid.cpp: patch does not apply [C:\lib\BambuStudio\deps\build\dep_wxWidgets.vcxproj]
Checking patch src/msw/bmpcbox.cpp...
CUSTOMBUILD : error : while searching for: [C:\lib\BambuStudio\deps\build\dep_wxWidgets.vcxproj]
?
wxComboBox::DoClear();?
?
HWND hwnd = GetHwnd();?
DissociateHandle();?
::DestroyWindow(hwnd);?
?
if ( !MSWCreateControl(wxT("COMBOBOX"), wxEmptyString, pos, size) )?
return;?
?
// initialize the controls contents?
for ( i = 0; i < numItems; i++ )?
{?
CUSTOMBUILD : error : patch failed: src/msw/bmpcbox.cpp:156 [C:\lib\BambuStudio\deps\build\dep_wxWidgets.vcxproj]
CUSTOMBUILD : error : src/msw/bmpcbox.cpp: patch does not apply [C:\lib\BambuStudio\deps\build\dep_wxWidgets.vcxproj]
Checking patch src/msw/font.cpp...
CUSTOMBUILD : error : while searching for: [C:\lib\BambuStudio\deps\build\dep_wxWidgets.vcxproj]
class WXDLLEXPORT wxFontRefData: public wxGDIRefData?
{?
public:?
wxFontRefData(const wxFontInfo& info = wxFontInfo());?
?
wxFontRefData(const wxNativeFontInfo& info, WXHFONT hFont = 0)?
{?
CUSTOMBUILD : error : patch failed: src/msw/font.cpp:54 [C:\lib\BambuStudio\deps\build\dep_wxWidgets.vcxproj]
CUSTOMBUILD : error : src/msw/font.cpp: patch does not apply [C:\lib\BambuStudio\deps\build\dep_wxWidgets.vcxproj]
Checking patch src/msw/menuitem.cpp...
CUSTOMBUILD : error : while searching for: [C:\lib\BambuStudio\deps\build\dep_wxWidgets.vcxproj]
// native menu uses small top margin for separator?
if ( SeparatorMargin.cyTopHeight >= 2 )?
SeparatorMargin.cyTopHeight -= 2;?
}?
else?
#endif // wxUSE_UXTHEME?
CUSTOMBUILD : error : patch failed: src/msw/menuitem.cpp:368 [C:\lib\BambuStudio\deps\build\dep_wxWidgets.vcxproj]
CUSTOMBUILD : error : src/msw/menuitem.cpp: patch does not apply [C:\lib\BambuStudio\deps\build\dep_wxWidgets.vcxproj]
Checking patch src/msw/window.cpp...
CUSTOMBUILD : error : while searching for: [C:\lib\BambuStudio\deps\build\dep_wxWidgets.vcxproj]
}?
?
/extern/?
int wxGetSystemMetrics(int nIndex, const wxWindow* window)?
{?
#if wxUSE_DYNLIB_CLASS?
if ( !window )?
window = wxApp::GetMainTopWindow();?
?
if ( window )?
{?
typedef int (WINAPI * GetSystemMetricsForDpi_t)(int nIndex, UINT dpi);?
static GetSystemMetricsForDpi_t s_pfnGetSystemMetricsForDpi = NULL;?
static bool s_initDone = false;?
?
if ( !s_initDone )?
{?
wxLoadedDLL dllUser32("user32.dll");?
wxDL_INIT_FUNC(s_pfn, GetSystemMetricsForDpi, dllUser32);?
s_initDone = true;?
}?
?
if ( s_pfnGetSystemMetricsForDpi )?
{?
const int dpi = window->GetDPI().y;?
return s_pfnGetSystemMetricsForDpi(nIndex, (UINT)dpi);?
}?
}?
#else?
wxUnusedVar(window);?
#endif // wxUSE_DYNLIB_CLASS?
?
return ::GetSystemMetrics(nIndex);?
CUSTOMBUILD : error : patch failed: src/msw/window.cpp:4773 [C:\lib\BambuStudio\deps\build\dep_wxWidgets.vcxproj]
CUSTOMBUILD : error : src/msw/window.cpp: patch does not apply [C:\lib\BambuStudio\deps\build\dep_wxWidgets.vcxproj]
Checking patch src/osx/cocoa/dataview.mm...
CUSTOMBUILD : error : while searching for: [C:\lib\BambuStudio\deps\build\dep_wxWidgets.vcxproj]
if ( !dvc->GetEventHandler()->ProcessEvent(eventDV) )?
[super keyDown:event];?
}?
else?
{?
[super keyDown:event]; // all other keys?
}?
}?
?
//?
// contextual menus?
//?
CUSTOMBUILD : error : patch failed: src/osx/cocoa/dataview.mm:1734 [C:\lib\BambuStudio\deps\build\dep_wxWidgets.vcxproj]
CUSTOMBUILD : error : src/osx/cocoa/dataview.mm: patch does not apply [C:\lib\BambuStudio\deps\build\dep_wxWidgets.vcxproj]
Checking patch src/osx/cocoa/settings.mm...
CUSTOMBUILD : error : while searching for: [C:\lib\BambuStudio\deps\build\dep_wxWidgets.vcxproj]
// ----------------------------------------------------------------------------?
?
// Get a system metric, e.g. scrollbar size?
int wxSystemSettingsNative::GetMetric(wxSystemMetric index, const wxWindow* WXUNUSED(win))?
{?
int value;?
?
CUSTOMBUILD : error : patch failed: src/osx/cocoa/settings.mm:224 [C:\lib\BambuStudio\deps\build\dep_wxWidgets.vcxproj]
CUSTOMBUILD : error : src/osx/cocoa/settings.mm: patch does not apply [C:\lib\BambuStudio\deps\build\dep_wxWidgets.vcxproj]
C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(247,5): error MSB8066:
la build personnalisée de 'C:\lib\BambuStudio\deps\build\CMakeFiles\8a4a75bcf26be3a22de1212b2da6d907\dep_wxWidgets-update.rule;C:\l
ib\BambuStudio\deps\build\CMakeFiles\8a4a75bcf26be3a22de1212b2da6d907\dep_wxWidgets-patch.rule;C:\lib\BambuStudio\deps\build\CMakeFi
les\8a4a75bcf26be3a22de1212b2da6d907\dep_wxWidgets-configure.rule;C:\lib\BambuStudio\deps\build\CMakeFiles\8a4a75bcf26be3a22de1212b2
da6d907\dep_wxWidgets-build.rule;C:\lib\BambuStudio\deps\build\CMakeFiles\8a4a75bcf26be3a22de1212b2da6d907\dep_wxWidgets-build_debug
.rule;C:\lib\BambuStudio\deps\build\CMakeFiles\8a4a75bcf26be3a22de1212b2da6d907\dep_wxWidgets-install.rule;C:\lib\BambuStudio\deps\b
uild\CMakeFiles\81e85d90e05730ebabef268f74d76fa5\dep_wxWidgets-complete.rule;C:\lib\BambuStudio\deps\build\CMakeFiles\b4ed71ba669bc4
8bb63b6224b78d8f2a\dep_wxWidgets.rule;C:\lib\BambuStudio\deps\CMakeLists.txt' s'est arrêtée. Code 1. [C:\lib\BambuStudio\deps\build
dep_wxWidgets.vcxproj]
Expected results
no error
Project file & Debug log uploads
BambuStudio-deps.zip
Checklist of files to include
The text was updated successfully, but these errors were encountered: