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

Help compiliing #8

Open
tmzhuang opened this issue May 12, 2020 · 0 comments · May be fixed by #12
Open

Help compiliing #8

tmzhuang opened this issue May 12, 2020 · 0 comments · May be fixed by #12

Comments

@tmzhuang
Copy link

tmzhuang commented May 12, 2020

$ uname -a
Linux jupiter 5.6.11-arch1-1 #1 SMP PREEMPT Wed, 06 May 2020 17:32:37 +0000 x86_64 GNU/Linux
$ python -V
Python 3.6.9 (2ad108f17bdb, Apr 07 2020, 02:59:05)
[PyPy 7.3.1 with GCC 7.3.1 20180303 (Red Hat 7.3.1-5)]

I get a compile error from gcc building rpb.

And also a compile error for the remote.

AlexDaniel added a commit to AlexDaniel/sbpe that referenced this issue Nov 14, 2020
Resolves one half of atomizer#8. Without this the compilation fails with:

    use of enum ‘MaxRectsFreeRectChoiceHeuristic’ without previous declaration

It feels like these constants should've been simply imported by
including rbp.h but that fails for a different reason. I wonder what the
right fix is but the workaround in this commit is probably good enough.
AlexDaniel added a commit to AlexDaniel/sbpe that referenced this issue Nov 14, 2020
Resolves atomizer#8.

Somehow the function is called before its declaration, so the error
starts with this warning:

    warning: implicit declaration of function ‘kickstart’

Again, this is just a workaround and I'd like to know what the right fix
is, but at least the project compiles after this change.
This was referenced Nov 14, 2020
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 a pull request may close this issue.

1 participant