Page 1 of 1

Compile Error

Posted: March 4th, 2019, 1:38 pm
by PSXIndieDev
I am starting slow and simply reorganizing the hello world example into separate files based on what it does. However, when I run psymake I get the following errors:
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\psyq\projects\hasgame\source>psymake
PsyMake version 1.14 copyright SN Systems Software Ltd 1993
C:\Psyq\bin\ccpsx.EXE -O3 -Xo$80010000 main.c -omain.cpe,main.sym,mem.map
C:\WINDOWS\TEMP\PQ4 : Error : Symbol 'initGraphics' not defined
C:\WINDOWS\TEMP\PQ4 : Error : Symbol 'drawBuffer' not defined
Bad return code - make aborted

C:\psyq\projects\hasgame\source>
Here is a link to my source files: https://www.dropbox.com/s/mzx4gu9lflcf3 ... ce.7z?dl=0

Re: Compile Error

Posted: April 26th, 2019, 8:31 pm
by shiroi
In "main.c" add, to header.

Code: Select all

#include "graphics.c"
That is where functions have definition.

Re: Compile Error

Posted: May 30th, 2019, 9:27 am
by PinAlan
Thanks, shiroi! Will also keep that in mind.

Re: Compile Error

Posted: August 27th, 2019, 4:23 pm
by pritisikka
Great Information.Thanks :dance

Re: Compile Error

Posted: October 10th, 2019, 9:21 pm
by CARMEN
Hi Great Information....