Skip to content
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

Successful first build and test under MSYS2/mingw64. Thanks for this. #2

Open
asctime opened this issue Nov 26, 2020 · 0 comments
Open

Comments

@asctime
Copy link

asctime commented Nov 26, 2020

I am so relieved to see someone actually do this.
Compiled so much more easily, and the results were much more useable.

So far just a couple of notes specific to building under recent mingw64(MSYS2 distro):

Unlike Vanilla Windows, mingw64 uses a default prefix:
/MSYS2/mingw64

Had to dig a couple of minutes to find some important but hidden settings:
OMNIORB_CONFIG_DEFAULT_LOCATION
OMNINAMES_LOG_DEFAULT_LOCATION

also adjusted codegen.cmake Line 29:
set(PATH_ENV PATH=\"${PATH_ENV}\")
to prevent

[  5%] Processing Naming.idl..
cmake -E env: no command given
/bin/sh: D:/Download/MinGW-64-souorce/omniORB-cmake-master/mingw64/bin: Is a directory
make[2]: *** [CMakeFiles/RunGenerator.dir/build.make:110: generated/lib/omniORB/omniORB4/Naming.hh] Error 126

(btw declaring PYTHONHOME is redundant as MSYS2-mingw64 python is already seated)
Overall looks great, I am going to refer this fork to the MSYS2 team.

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

No branches or pull requests

1 participant