Comments (2)
Something wrong with ncurses/tinfo. stdscr
is provided by libtinfo, so it's probably missing a -ltinfo
, cmake should however check for that. You could try:
Make sure that tinfo is installed.
In CMakeLists.txt
add the line:
set(CURSES_NEED_NCURSES TRUE)
before:
find_package(Curses REQUIRED)
compile with:
make VERBOSE=1
Start compilation from a clean checkout if you haven't. ncurses6 is relatively new, no there might be issues when it was previously compiled with ncurses5.
from sdl-jstest.
It compiles fine with the the variable set, thanks.
$ make VERBOSE=1 15:24
/usr/bin/cmake -H/home/chais/AUR/sdl2-jstest-git/src/sdl-jstest -B/home/chais/AUR/sdl2-jstest-git/src/sdl-jstest --check-build-system CMakeFiles/Makefile.cmake 0
/usr/bin/cmake -E cmake_progress_start /home/chais/AUR/sdl2-jstest-git/src/sdl-jstest/CMakeFiles /home/chais/AUR/sdl2-jstest-git/src/sdl-jstest/CMakeFiles/progress.marks
make -f CMakeFiles/Makefile2 all
make[1]: Entering directory '/home/chais/AUR/sdl2-jstest-git/src/sdl-jstest'
make -f CMakeFiles/sdl2-jstest.dir/build.make CMakeFiles/sdl2-jstest.dir/depend
make[2]: Entering directory '/home/chais/AUR/sdl2-jstest-git/src/sdl-jstest'
cd /home/chais/AUR/sdl2-jstest-git/src/sdl-jstest && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/chais/AUR/sdl2-jstest-git/src/sdl-jstest /home/chais/AUR/sdl2-jstest-git/src/sdl-jstest /home/chais/AUR/sdl2-jstest-git/src/sdl-jstest /home/chais/AUR/sdl2-jstest-git/src/sdl-jstest /home/chais/AUR/sdl2-jstest-git/src/sdl-jstest/CMakeFiles/sdl2-jstest.dir/DependInfo.cmake --color=
make[2]: Leaving directory '/home/chais/AUR/sdl2-jstest-git/src/sdl-jstest'
make -f CMakeFiles/sdl2-jstest.dir/build.make CMakeFiles/sdl2-jstest.dir/build
make[2]: Entering directory '/home/chais/AUR/sdl2-jstest-git/src/sdl-jstest'
[ 25%] Linking C executable sdl2-jstest
/usr/bin/cmake -E cmake_link_script CMakeFiles/sdl2-jstest.dir/link.txt --verbose=1
/usr/bin/cc -std=c99 -rdynamic CMakeFiles/sdl2-jstest.dir/sdl2-jstest.c.o -o sdl2-jstest -lSDL2 -lncurses -ltinfo -lform
make[2]: Leaving directory '/home/chais/AUR/sdl2-jstest-git/src/sdl-jstest'
[ 50%] Built target sdl2-jstest
make -f CMakeFiles/doc.dir/build.make CMakeFiles/doc.dir/depend
make[2]: Entering directory '/home/chais/AUR/sdl2-jstest-git/src/sdl-jstest'
cd /home/chais/AUR/sdl2-jstest-git/src/sdl-jstest && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/chais/AUR/sdl2-jstest-git/src/sdl-jstest /home/chais/AUR/sdl2-jstest-git/src/sdl-jstest /home/chais/AUR/sdl2-jstest-git/src/sdl-jstest /home/chais/AUR/sdl2-jstest-git/src/sdl-jstest /home/chais/AUR/sdl2-jstest-git/src/sdl-jstest/CMakeFiles/doc.dir/DependInfo.cmake --color=
Dependee "/home/chais/AUR/sdl2-jstest-git/src/sdl-jstest/CMakeFiles/doc.dir/DependInfo.cmake" is newer than depender "/home/chais/AUR/sdl2-jstest-git/src/sdl-jstest/CMakeFiles/doc.dir/depend.internal".
Dependee "/home/chais/AUR/sdl2-jstest-git/src/sdl-jstest/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/home/chais/AUR/sdl2-jstest-git/src/sdl-jstest/CMakeFiles/doc.dir/depend.internal".
Scanning dependencies of target doc
make[2]: Leaving directory '/home/chais/AUR/sdl2-jstest-git/src/sdl-jstest'
make -f CMakeFiles/doc.dir/build.make CMakeFiles/doc.dir/build
make[2]: Entering directory '/home/chais/AUR/sdl2-jstest-git/src/sdl-jstest'
make[2]: Nothing to be done for 'CMakeFiles/doc.dir/build'.
make[2]: Leaving directory '/home/chais/AUR/sdl2-jstest-git/src/sdl-jstest'
[ 50%] Built target doc
make -f CMakeFiles/sdl-jstest.dir/build.make CMakeFiles/sdl-jstest.dir/depend
make[2]: Entering directory '/home/chais/AUR/sdl2-jstest-git/src/sdl-jstest'
cd /home/chais/AUR/sdl2-jstest-git/src/sdl-jstest && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/chais/AUR/sdl2-jstest-git/src/sdl-jstest /home/chais/AUR/sdl2-jstest-git/src/sdl-jstest /home/chais/AUR/sdl2-jstest-git/src/sdl-jstest /home/chais/AUR/sdl2-jstest-git/src/sdl-jstest /home/chais/AUR/sdl2-jstest-git/src/sdl-jstest/CMakeFiles/sdl-jstest.dir/DependInfo.cmake --color=
Dependee "/home/chais/AUR/sdl2-jstest-git/src/sdl-jstest/CMakeFiles/sdl-jstest.dir/DependInfo.cmake" is newer than depender "/home/chais/AUR/sdl2-jstest-git/src/sdl-jstest/CMakeFiles/sdl-jstest.dir/depend.internal".
Dependee "/home/chais/AUR/sdl2-jstest-git/src/sdl-jstest/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/home/chais/AUR/sdl2-jstest-git/src/sdl-jstest/CMakeFiles/sdl-jstest.dir/depend.internal".
Scanning dependencies of target sdl-jstest
make[2]: Leaving directory '/home/chais/AUR/sdl2-jstest-git/src/sdl-jstest'
make -f CMakeFiles/sdl-jstest.dir/build.make CMakeFiles/sdl-jstest.dir/build
make[2]: Entering directory '/home/chais/AUR/sdl2-jstest-git/src/sdl-jstest'
[ 75%] Building C object CMakeFiles/sdl-jstest.dir/sdl-jstest.c.o
/usr/bin/cc -I/usr/include/SDL -std=c99 -o CMakeFiles/sdl-jstest.dir/sdl-jstest.c.o -c /home/chais/AUR/sdl2-jstest-git/src/sdl-jstest/sdl-jstest.c
[100%] Linking C executable sdl-jstest
/usr/bin/cmake -E cmake_link_script CMakeFiles/sdl-jstest.dir/link.txt --verbose=1
/usr/bin/cc -std=c99 -rdynamic CMakeFiles/sdl-jstest.dir/sdl-jstest.c.o -o sdl-jstest -Wl,-Bstatic -lSDLmain -Wl,-Bdynamic -lSDL -lpthread -lncurses -ltinfo -lform
make[2]: Leaving directory '/home/chais/AUR/sdl2-jstest-git/src/sdl-jstest'
[100%] Built target sdl-jstest
make[1]: Leaving directory '/home/chais/AUR/sdl2-jstest-git/src/sdl-jstest'
/usr/bin/cmake -E cmake_progress_start /home/chais/AUR/sdl2-jstest-git/src/sdl-jstest/CMakeFiles 0
I can see no other issues in the verbose output.
from sdl-jstest.
Related Issues (12)
- make release bundles? HOT 1
- Readme should call out submodules HOT 1
- sdl-jstest has no output (SDL1) HOT 2
- warning: result of comparison of constant with expression of type 'int' is always false
- Tests require an out of repo png file HOT 2
- BUILD_TESTS does nothing HOT 1
- Small typo causing wrong information when displaying a ball's values. HOT 1
- Instructions are out of date for compilation HOT 2
- cmake issue building on OS X HOT 1
- Load gamecontrollerdb.txt, if available
- Confusing "not a gamepad" message
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sdl-jstest.