[haiku-gsoc] Undefined reference to :: error

  • From: digib0y <code.deepanshu@xxxxxxxxx>
  • To: haiku-gsoc@xxxxxxxxxxxxx
  • Date: Sun, 11 Jun 2017 19:02:18 +0530

Hi,

I am working on my Demo Harfbuzz and I encountered this error on every line
of code, maybe someone can help me out: https://pastebin.com/9TJFwwDe

I ran setarch x86 as ee have harfbuzz and freetype2 under
SYSTEM_INCLUDE_PATHS in make file with x86 path so the current code needs
x86 environment to compile.

I tried stackover flow and what I understand is this happens when compiler
cannot link the header and the source file so to fix this I tried this:
1. Added my project directory to LOCAL_INCLUDE_PATHS
2. Tried "gcc -o app.h app.cpp MainWindows.cpp MainWind......"
3. Added freetypelib.cpp to my SRCS
4. Added some libs "LIBS = be harfbuzz freetype stdc++"
Still no luck.

Thanks!

--
digib0y

Other related posts: