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

fatal error: 'config.h' file not found #1

Open
vanoak opened this issue Apr 6, 2020 · 2 comments
Open

fatal error: 'config.h' file not found #1

vanoak opened this issue Apr 6, 2020 · 2 comments

Comments

@vanoak
Copy link

vanoak commented Apr 6, 2020

Hello,

I posted this in the GDSercomm repository (https://github.com/Superwaitsum/GDSercomm) but the error triggers in the sercomm library.

When I try to compile GDSercomm the following shows

vk:GDSercomm vanoak$ scons p=osx
scons: Reading SConscript files ...
scons: done reading SConscript files.
scons: Building targets ...
gcc -o src/GDSercomm.os -c -g -O3 -arch x86_64 -fPIC -I. -Igodot_headers -Isercomm/include/public -Ilib src/GDSercomm.c
In file included from src/GDSercomm.c:5:
In file included from sercomm/include/public/sercomm/sercomm.h:28:
In file included from sercomm/include/public/sercomm/base.h:28:
sercomm/include/public/sercomm/common.h:28:10: fatal error: 'config.h' file not
found
#include "config.h"
^~~~~~~~~~
1 error generated.
scons: *** [src/GDSercomm.os] Error 1
scons: building terminated because of errors.

Is there a directory that should be on PATH or something?

Thank you.

@6r1d
Copy link

6r1d commented Jul 3, 2020

Hey. I might be late with my answer and I am not @ingeniamc, but GDSercomm builds for me. I built sercomm in a separate directory: cmake ., make, make install.
Hope it helps.
P.S.: I'm concerned about GDSercomm itself, there are some warnings in its code about signed and unsigned values, but thouse should be solvable.

@NangiDev
Copy link

NangiDev commented Oct 1, 2020

I had a similar issue. Maybe the same even.
I did cp sercomm/build/config.h sercomm/include/public/sercomm/

Check my repo to see if that makes more sense
https://github.com/NangiDev/GDSerCommPlugin

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

3 participants