Skip to content

Fix the build of BreakProcess.exe with MSVC - #6

Merged
adrpo merged 1 commit into
OpenModelica:masterfrom
adrpo:fix-breakprocess-build
Nov 18, 2026
Merged

adrpo merged 1 commit into
OpenModelica:masterfrom
adrpo:fix-breakprocess-build

Conversation

@adrpo

@adrpo adrpo commented Nov 18, 2026 •

Copy link
Copy Markdown
Member

The build_BreakProcess job fails on master since it was added (and so on every PR, e.g. #5):

BreakProcess.cpp(85,14): error C3861: 'strcasecmp': identifier not found
  • strcasecmp does not exist in the Microsoft compiler that the windows-latest runner uses: _stricmp is used there. The MinGW build is unchanged.
  • CMAKE_INSTALL_BINDIR was used without include(GNUInstallDirs), so it was empty and the executable was not installed to bin, where the upload step looks for it.
  • The upload step looked for BuildProcess.exe instead of BreakProcess.exe.
  • The job (and the README) builds the Release configuration; the default of the Visual Studio generator is Debug.

Testing

Not built locally (no Microsoft compiler here). The build_BreakProcess job of this PR passes and uploads BreakProcess.exe.


🤖 Generated with Claude Code

The build job fails on master since it was added:

- strcasecmp does not exist in the Microsoft compiler, use _stricmp
  there.
- CMAKE_INSTALL_BINDIR was used without including GNUInstallDirs, so
  it was empty and the executable was not installed to bin.
- The upload step looked for BuildProcess.exe instead of
  BreakProcess.exe.

The job builds the Release configuration now.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@adrpo adrpo self-assigned this Nov 18, 2026
@adrpo
adrpo merged commit 61314db into OpenModelica:master Nov 18, 2026
2 checks passed
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.

1 participant