Difference between revisions of "Talk:Complete roguelike tutorial using C++ and libtcod - part 1: setting up"
Jump to navigation
Jump to search
m (Question) |
HexDecimal (talk | contribs) |
||
Line 1: | Line 1: | ||
{{talkpagetool}} | |||
== Modernizing the tutorial == | |||
Should we update the tutorial to use modern C++ (C++11 and on)? I have some experience with modern C++ and would like to take a crack at it, unless there's a good reason not to go with the modern standards. - Phyrexus, 21-10-2018 | Should we update the tutorial to use modern C++ (C++11 and on)? I have some experience with modern C++ and would like to take a crack at it, unless there's a good reason not to go with the modern standards. - Phyrexus, 21-10-2018 | ||
:Go ahead, I don't know how technically this affects it and aren't competent enough to give you any reasons not to. But one good reason is the entire guide/code will get rechecked by you. The last time that happened was when I was on it and then moved it here from original author's website choice after asking him [[User:Joel Pera|Joel Pera]] ([[User talk:Joel Pera|talk]]) 22:15, 21 October 2018 (CEST) | :Go ahead, I don't know how technically this affects it and aren't competent enough to give you any reasons not to. But one good reason is the entire guide/code will get rechecked by you. The last time that happened was when I was on it and then moved it here from original author's website choice after asking him [[User:Joel Pera|Joel Pera]] ([[User talk:Joel Pera|talk]]) 22:15, 21 October 2018 (CEST) | ||
== Problems with libtcod == | == Problems with libtcod == | ||
I`m trying to make a roguelike game for Windows OS on C++, and I got a problem with libtcod. I was following this guide, but I got ''"undefined reference to `__imp__ZN11TCODConsole8initRootEiiPKcb15TCOD_renderer_t'"'' and simular errors for every line with libtcod functions and code don`t compile. What is wrong? | I`m trying to make a roguelike game for Windows OS on C++, and I got a problem with libtcod. I was following this guide, but I got ''"undefined reference to `__imp__ZN11TCODConsole8initRootEiiPKcb15TCOD_renderer_t'"'' and simular errors for every line with libtcod functions and code don`t compile. What is wrong? | ||
:The same problem. Anyone know how to fix it? [[User:S0ZDATEL|S0ZDATEL]] ([[User talk:S0ZDATEL|talk]]) 10:52, 27 May 2019 (CEST) | :The same problem. Anyone know how to fix it? [[User:S0ZDATEL|S0ZDATEL]] ([[User talk:S0ZDATEL|talk]]) 10:52, 27 May 2019 (CEST) | ||
:Link errors like this imply that you included the headers correctly but did not link with the libtcod library. It's a common beginner issue with C/C++ projects. --[[User:HexDecimal|HexDecimal]] ([[User talk:HexDecimal|talk]]) 00:37, 9 April 2022 (UTC) |
Revision as of 00:37, 9 April 2022
Modernizing the tutorial
Should we update the tutorial to use modern C++ (C++11 and on)? I have some experience with modern C++ and would like to take a crack at it, unless there's a good reason not to go with the modern standards. - Phyrexus, 21-10-2018
- Go ahead, I don't know how technically this affects it and aren't competent enough to give you any reasons not to. But one good reason is the entire guide/code will get rechecked by you. The last time that happened was when I was on it and then moved it here from original author's website choice after asking him Joel Pera (talk) 22:15, 21 October 2018 (CEST)
Problems with libtcod
I`m trying to make a roguelike game for Windows OS on C++, and I got a problem with libtcod. I was following this guide, but I got "undefined reference to `__imp__ZN11TCODConsole8initRootEiiPKcb15TCOD_renderer_t'" and simular errors for every line with libtcod functions and code don`t compile. What is wrong?
- The same problem. Anyone know how to fix it? S0ZDATEL (talk) 10:52, 27 May 2019 (CEST)
- Link errors like this imply that you included the headers correctly but did not link with the libtcod library. It's a common beginner issue with C/C++ projects. --HexDecimal (talk) 00:37, 9 April 2022 (UTC)