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

Compile errors with gcc-10 and python3.9 develop headers #6

Closed
mgerhardy opened this issue Dec 1, 2020 · 1 comment
Closed

Compile errors with gcc-10 and python3.9 develop headers #6

mgerhardy opened this issue Dec 1, 2020 · 1 comment

Comments

@mgerhardy
Copy link

this time i'm getting compile errors with the python 3.9 dev package installed.

/home/mgerhardy/dev/ImHex/source/helpers/loader_script_handler.cpp: In static member function ‘static bool hex::LoaderScript::processFile(std::string_view)’:
/home/mgerhardy/dev/ImHex/source/helpers/loader_script_handler.cpp:151:43: error: ‘__argv’ was not declared in this scope
  151 |         Py_SetProgramName(Py_DecodeLocale(__argv[0], nullptr));
      |                                           ^~~~~~
[ 55%] Building CXX object CMakeFiles/ImHex.dir/source/views/view_help.cpp.o
make[2]: *** [CMakeFiles/ImHex.dir/build.make:173: CMakeFiles/ImHex.dir/source/helpers/loader_script_handler.cpp.o] Fehler 1
make[2]: *** Es wird auf noch nicht beendete Prozesse gewartet....
make[1]: *** [CMakeFiles/Makefile2:96: CMakeFiles/ImHex.dir/all] Fehler 2
make: *** [Makefile:103: all] Fehler 2

@WerWolv
Copy link
Owner

WerWolv commented Dec 1, 2020

Hi. Please don't spam the issue tracker with multiple, identical problems.
I'm in the middle of implementing these features, you can't expect everything to already be finished and working when you try to clone and build master.
I'll add a check for the right python version to cmake. For libmagic, there is no cmake integration with it so checking is somewhat hard there.
For the mean time, please stick to v1.4.0

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

2 participants