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

build error in debugger/baseD when building on manjaro #184

Open
silverhikari opened this issue Jan 19, 2022 · 2 comments
Open

build error in debugger/baseD when building on manjaro #184

silverhikari opened this issue Jan 19, 2022 · 2 comments
Labels

Comments

@silverhikari
Copy link

silverhikari commented Jan 19, 2022

Describe the bug

debugger/BaseD.cpp: In static member function ‘static void BaseD::check_paths_and_reload(char**, unsigned int, bool)’:
debugger/BaseD.cpp:323:7: error: ‘sort’ was not declared in this scope; did you mean ‘sqrt’?
  323 |       sort(v.begin(), v.end());             // sort, since directory iteration
      |       ^~~~
      |       sqrt
make[1]: *** [Makefile:352: obj/debugger/BaseD.o] Error 1

To Reproduce
Steps to reproduce the behavior:
after completing the submodule.sh run make in main directory

Expected behavior
build ends successfully

Desktop (please complete the following information):

  • OS: Manjaro Linux
  • Version:21.01 and for the source code git version

Additional context
version of gcc is 11, also changed the directory of the wla-dx from build-wla/binaries to just binaries as that is after building where they are located

@Maxz963
Copy link

Maxz963 commented May 2, 2022

I think I might have a fix for you, try dropping this into lines 6 & 7 respectively in the file BaseD.cpp in the folder snestracker/pc/debugger/
#include <algorithm> using namespace std;
That should sort out the compile issue
hopeful_fix
.

@FryDay
Copy link

FryDay commented Jun 8, 2022

@silverhikari If you use the AUR, I added snestracker and include automatic patching so it builds correctly and uses gtk3.

https://aur.archlinux.org/packages/snestracker-git

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants