Open reddraconi opened 5 months ago
For further information:
$uname -a
Linux redryzen.home.lan 6.6.11-200.fc39.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Jan 10 19:25:59 UTC 2024 x86_64 GNU/Linux
$rpm -qa | grep -i "wine-devel\|glew-devel\|wxgtk-devel"
wxGTK-devel-3.2.4-1.fc39.x86_64
glew-devel-2.2.0-5.fc39.x86_64
wine-devel-9.0-1.fc39.x86_64
$gcc --version
gcc (GCC) 13.2.1 20231205 (Red Hat 13.2.1-6)
Description
When attempting to build OutfitStudio 5.6.3 on Fedora 39, I had to do the following to get everything to build properly:
How to reproduce
wine-devel
,glew-devel
,wxGTK-devel
https://github.com/ousnius/nifly
and build according to those directions. Toss fresh nifly*.cpp
and*.hpp
in<BODYSLIDE DIR>/lib/nifly/src
<BODYSLIDE DIR>/CMakeLists.txt
to includelib/nifly/src
fortarget_include_directories(OutfitStudio PUBLIC ...)
Commented out the following lines due to the error "class ... has no member named MSWDisableComposited":
<BODYSLIDE DIR>/src/program/EditUV.cpp EditUV::EditUV()
:canvas->MSWDisableComposited();
<BODYSLIDE DIR>/src/program/FBXImportDialog.cpp FBXImportDialog::FBXImportDialog()
:canvas->MSWDisableComposited();
<BODYSLIDE DIR>/src/program/ObjImportDialog.cpp ObjImportDialog::ObjImportDialog()
:canvas->MSWDisableComposited();
Updated line 9274 in
<BODYSLIDE DIR>/src/program/OutfitStudio.cpp OutfitStudioFrame::OnAddCustomBone()
tostd::string origBone = bone.toStdString()
. WX was complaining that an invalid conversion was occurring between the wxString type and std::string types.Copied the built
OutfitStudio
executable to<BODYSLIDE DIR>/.
and ranWX_OUTFITSTUDIO_DATA_DIR=. ./OutfitStudio
to test the executable runs.It appears to run well (allows me to open NIF and OBJ files, etc.) but throws a dialog "The system language '57' is not supported by your system. Try installing support for this language" when starting.