You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to update my Pandora port of Dave Gnukem but I run in the following issue with GCC 9.3.0:
pandora:/media/Pandora/dev/dave_gnukem$ make -f Makefile.pandora
g++ -ffast-math -O3 -pipe -mcpu=cortex-a8 -mfpu=neon -mfloat-abi=softfp -ftree-vectorize -fsingle-precision-constant -fuse-ld=gold -fuse-linker-plugin -fsigned-char -g -Wall -DPANDORA -DHAVE_SOUND -DDATA_DIR=/mnt/utmp/davegnukem-magicsam/data -I/mnt/utmp/codeblocks/usr/include/SDL -c src/main.cpp -o src/main.o
src/main.cpp: In function ‘int DaveStartup(bool, bool, const std::map<std::__cxx11::basic_string, std::__cxx11::basic_string >&)’:
: error: expected primary-expression before ‘/’ token
src/main.cpp:297:23: note: in expansion of macro ‘DATA_DIR’
297 | if (!djFolderExists( DATA_DIR ))
| ^~~~~~~~
: error: ‘mnt’ was not declared in this scope; did you mean ‘int’?
src/main.cpp:297:23: note: in expansion of macro ‘DATA_DIR’
297 | if (!djFolderExists( DATA_DIR ))
| ^~~~~~~~
: error: ‘utmp’ was not declared in this scope; did you mean ‘tm’?
src/main.cpp:297:23: note: in expansion of macro ‘DATA_DIR’
297 | if (!djFolderExists( DATA_DIR ))
| ^~~~~~~~
: error: ‘davegnukem’ was not declared in this scope
src/main.cpp:297:23: note: in expansion of macro ‘DATA_DIR’
297 | if (!djFolderExists( DATA_DIR ))
| ^~~~~~~~
: error: ‘magicsam’ was not declared in this scope
: note: in definition of macro ‘DATA_DIR’
: error: ‘data’ was not declared in this scope
: note: in definition of macro ‘DATA_DIR’
: error: expected primary-expression before ‘/’ token
src/main.cpp:300:119: note: in expansion of macro ‘DATA_DIR’
300 | note this is in a separate repo - see the ReadMe.md for details.\n",DATA_DIR)
| ^~~~~~~~
Any idea what I could be doing wrong ?
Cheers, Sam
The text was updated successfully, but these errors were encountered:
Hi, is this still an issue? Not the latest changes to Dave Gnukem have some changes to the DATA_DIR setting and also we have upcoming SDL2 support so I expect the Pandora makefile may need further attention soon
Hi @davidjoffe :)
I'm trying to update my Pandora port of Dave Gnukem but I run in the following issue with GCC 9.3.0:
pandora:/media/Pandora/dev/dave_gnukem$ make -f Makefile.pandora
g++ -ffast-math -O3 -pipe -mcpu=cortex-a8 -mfpu=neon -mfloat-abi=softfp -ftree-vectorize -fsingle-precision-constant -fuse-ld=gold -fuse-linker-plugin -fsigned-char -g -Wall -DPANDORA -DHAVE_SOUND -DDATA_DIR=/mnt/utmp/davegnukem-magicsam/data -I/mnt/utmp/codeblocks/usr/include/SDL -c src/main.cpp -o src/main.o
src/main.cpp: In function ‘int DaveStartup(bool, bool, const std::map<std::__cxx11::basic_string, std::__cxx11::basic_string >&)’:
: error: expected primary-expression before ‘/’ token
src/main.cpp:297:23: note: in expansion of macro ‘DATA_DIR’
297 | if (!djFolderExists( DATA_DIR ))
| ^~~~~~~~
: error: ‘mnt’ was not declared in this scope; did you mean ‘int’?
src/main.cpp:297:23: note: in expansion of macro ‘DATA_DIR’
297 | if (!djFolderExists( DATA_DIR ))
| ^~~~~~~~
: error: ‘utmp’ was not declared in this scope; did you mean ‘tm’?
src/main.cpp:297:23: note: in expansion of macro ‘DATA_DIR’
297 | if (!djFolderExists( DATA_DIR ))
| ^~~~~~~~
: error: ‘davegnukem’ was not declared in this scope
src/main.cpp:297:23: note: in expansion of macro ‘DATA_DIR’
297 | if (!djFolderExists( DATA_DIR ))
| ^~~~~~~~
: error: ‘magicsam’ was not declared in this scope
: note: in definition of macro ‘DATA_DIR’
: error: ‘data’ was not declared in this scope
: note: in definition of macro ‘DATA_DIR’
: error: expected primary-expression before ‘/’ token
src/main.cpp:300:119: note: in expansion of macro ‘DATA_DIR’
300 | note this is in a separate repo - see the ReadMe.md for details.\n",DATA_DIR)
| ^~~~~~~~
Any idea what I could be doing wrong ?
Cheers, Sam
The text was updated successfully, but these errors were encountered: