GDSercomm icon indicating copy to clipboard operation
GDSercomm copied to clipboard

error on config.h

Open vanoak opened this issue 4 years ago • 1 comments

Hello,

When I try to compile 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.

It seems to me that the problem is not related to GDSercomm but some directory that should be on PATH, but I can't figure it out which is.

Thank you.

vanoak avatar Apr 04 '20 22:04 vanoak

I did cp sercomm/build/config.h sercomm/include/public/sercomm/ to bypass this problem if I remember correctly See my build steps in my repo https://github.com/NangiDev/GDSerCommPlugin

NangiDev avatar Oct 02 '20 07:10 NangiDev