OpenXcom Forum
OpenXcom Forks => OpenXcom Extended (OXCE) => OXCE Builds & Ports => Topic started by: Alpha Centauri Bear on December 10, 2023, 11:55:58 pm
-
Help with the compilation, anyone? Thank you in advance.
Following all steps here:
https://www.ufopaedia.org/index.php/Compiling_with_Microsoft_Visual_C%2B%2B_(OpenXcom)
Got this error in output:
1>D:\mine\projects\mine\openxcom\repository\OpenXcom\src\Mod\Mod.cpp : fatal error C1128: number of sections exceeded object file format limit: compile with /bigobj
I have found this article on this error and can try these suggestions just want to make sure this is the right thing to do.
https://learn.microsoft.com/en-us/cpp/error-messages/compiler-errors-1/fatal-error-c1128?view=msvc-170
-
https://openxcom.org/forum/index.php/topic,7048.msg111353.html#msg111353
-
I think it works now. The build was initially set to "debug". I had to change it to "release" and Win32. Could be added to instruction to not confuse other newbies.
-
In this instruction https://www.ufopaedia.org/index.php/Compiling_with_Microsoft_Visual_C%2B%2B_(OpenXcom), step #7.
Did you actually mean "move"? Maybe "copy"?
-
Question about compiling and actually provided OXCE distribution.
The compiled executable is OpenXcom.exe and is ~6 MB.
The distributed executable is OpenXcomEx.exe and is ~24 MB.
Why is the difference? Is it something extra we need to do to convert one into another?
-
Windows installer offers to install data patch. Is this need to be done when/after compiling OXCE?
-
Why is the difference? Is it something extra we need to do to convert one into another?
The distributed executable is cross-compiled on Linux with MXE.
It's bigger because all DLLs are statically linked.
Windows installer offers to install data patch. Is this need to be done when/after compiling OXCE?
The newest Windows installer doesn't offer to install a data patch.
Data patch is (OXC) / will be (OXCE) included in the distribution itself.
And no, it's not required. It's optional.