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

Can't make file with the release_mt tag #2

Closed
ChienKaiMa opened this issue May 31, 2020 · 2 comments
Closed

Can't make file with the release_mt tag #2

ChienKaiMa opened this issue May 31, 2020 · 2 comments

Comments

@ChienKaiMa
Copy link

(I have modified src/Makefile to match the versions of gcc and boost.)
I have faced issues when it is fetching the gd.h file, which I believe is some packages used for debug mode. I could have solved the issue by deleting all the codes related to draw.h, but that would waste me plenty of time.

Below is the error message:

g++ -std=c++11  -I. -I../../boost_1_71_0 -O3 -DNDEBUG -static -Wall -MMD -MP -o main.o -c main.cpp
In file included from ./utils/misc.h:3,
                 from ./global.h:32,
                 from db/db.h:3,
                 from main.cpp:1:
./utils/draw.h:3:10: fatal error: gd.h: No such file or directory
    3 | #include <gd.h>
      |          ^~~~~~
compilation terminated.
@ChienKaiMa
Copy link
Author

I was not familiar with Makefile rules, and I figured out that I have to download boost and libgd by tar.gz, unzipping them in the following structure to successfully make file.

├──boost_1_73_0
│   └── all the files in libgd-gd-2.3.0
└──ripple-fpga
    ├──src
    └──rest of the files

@jordanpui
Copy link
Member

if you are using ubuntu, I think install boost with apt will just be fine. Anyway, it's fine that you worked it out.

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