Search the Community
Showing results for tags 'codeblocks'.
-
Hi all, I have problem compile a blank Leadwerks C++ project on ubuntu 16.04(64Bit) with CodeBlocs(ver.16.01). Before i used CB on Ubuntu 15.10 without problems. Strange is that after fresh install on ubuntu 16.04 I have to install also all dependecy libraries manualy (libgl1-mesa-dev...etc) even it is installed from Steam. After installation of libraries that linker wanted i got: g++ -o ../../SpaceWars.debug ../../Source/App.o ../../Source/main.o /media/mbarhon/53229DC13D856ACD/mbarhon/Steam/steamapps/common/Leadwerks/Library/Linux/Debug/Leadwerks.a -ldl -lopenal -lGL -lGLU /media/mbarhon/53229DC13D856ACD/mbarhon/Steam/steamapps/common/Leadwerks/Library/Linux/libluajit.a ../../libsteam_api.so -lX11 -lpthread undefined reference to `Leadwerks::FileSystem::StripAll(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)' and this repeats for every line contain any function or varible from namespace Leadwerks. I tried to change a linker settings (directory of leadwerks lib ), but without success. Maybe I forgot to install some lib? I'm little stuck at this moment. Have someone any idea where can be the problem?
-
Last night there was another update and a new bug when compiling. /home/robb/.local/share/Steam/steamapps/common/Leadwerks/Include/Classes/LinkedList.h|20|error: ‘weak_ptr’ does not name a type| /home/robb/.local/share/Steam/steamapps/common/Leadwerks/Include/Classes/LinkedList.h|39|error: ‘shared_ptr’ does not name a type| /home/robb/.local/share/Steam/steamapps/common/Leadwerks/Include/Classes/AnimationManager.h|36|error: ‘nullptr’ was not declared in this scope| ||=== Build failed: 3 error(s), 13 warning(s) (0 minute(s), 0 second(s)) ===|
- 3 replies
-
- linux
- leadwerks 4.4
-
(and 4 more)
Tagged with:
-
Since the last update, Codeblocks seems to be getting some new errors now, and it is unclear, if even possible by the user, how to correct them. Also, after the last update to the 4.4 branch, the libcurl4-openssl-dev package was required. ||=== Build: Debug in OpenWorld (compiler: GNU GCC Compiler) ===| /home/robb/.local/share/Steam/steamapps/common/Leadwerks/Library/Linux/Debug/Leadwerks.a(Client.o)||In function `Leadwerks::Client::CountServers(std::string const&, int, std::string const&)':| /home/josh/Leadwerks/Engine/Source/Classes/Client.cpp|64|undefined reference to `curl_global_init'| /home/josh/Leadwerks/Engine/Source/Classes/Client.cpp|66|undefined reference to `curl_easy_init'| /home/josh/Leadwerks/Engine/Source/Classes/Client.cpp|69|undefined reference to `curl_easy_setopt'| /home/josh/Leadwerks/Engine/Source/Classes/Client.cpp|72|undefined reference to `curl_easy_setopt'| /home/josh/Leadwerks/Engine/Source/Classes/Client.cpp|73|undefined reference to `curl_easy_setopt'| /home/josh/Leadwerks/Engine/Source/Classes/Client.cpp|77|undefined reference to `curl_easy_setopt'| /home/josh/Leadwerks/Engine/Source/Classes/Client.cpp|80|undefined reference to `curl_easy_setopt'| /home/josh/Leadwerks/Engine/Source/Classes/Client.cpp|84|undefined reference to `curl_easy_perform'| /home/josh/Leadwerks/Engine/Source/Classes/Client.cpp|91|undefined reference to `curl_easy_strerror'| /home/josh/Leadwerks/Engine/Source/Classes/Client.cpp|121|undefined reference to `curl_easy_cleanup'| /home/robb/.local/share/Steam/steamapps/common/Leadwerks/Library/Linux/Debug/Leadwerks.a(Server.o)||In function `Leadwerks::Server::Publish(std::string const&, std::string const&, int, std::string const&)':| /home/josh/Leadwerks/Engine/Source/Classes/Server.cpp|63|undefined reference to `curl_global_init'| /home/josh/Leadwerks/Engine/Source/Classes/Server.cpp|65|undefined reference to `curl_easy_init'| /home/josh/Leadwerks/Engine/Source/Classes/Server.cpp|68|undefined reference to `curl_easy_setopt'| /home/josh/Leadwerks/Engine/Source/Classes/Server.cpp|71|undefined reference to `curl_easy_setopt'| /home/josh/Leadwerks/Engine/Source/Classes/Server.cpp|72|undefined reference to `curl_easy_setopt'| /home/josh/Leadwerks/Engine/Source/Classes/Server.cpp|76|undefined reference to `curl_easy_setopt'| /home/josh/Leadwerks/Engine/Source/Classes/Server.cpp|79|undefined reference to `curl_easy_setopt'| /home/josh/Leadwerks/Engine/Source/Classes/Server.cpp|83|undefined reference to `curl_easy_perform'| /home/josh/Leadwerks/Engine/Source/Classes/Server.cpp|90|undefined reference to `curl_easy_strerror'| /home/josh/Leadwerks/Engine/Source/Classes/Server.cpp|107|undefined reference to `curl_easy_cleanup'| /home/robb/.local/share/Steam/steamapps/common/Leadwerks/Library/Linux/Debug/Leadwerks.a(Server.o)||In function `Leadwerks::Server::Remove(int)':| /home/josh/Leadwerks/Engine/Source/Classes/Server.cpp|126|undefined reference to `curl_global_init'| /home/josh/Leadwerks/Engine/Source/Classes/Server.cpp|128|undefined reference to `curl_easy_init'| /home/josh/Leadwerks/Engine/Source/Classes/Server.cpp|131|undefined reference to `curl_easy_setopt'| /home/josh/Leadwerks/Engine/Source/Classes/Server.cpp|134|undefined reference to `curl_easy_setopt'| /home/josh/Leadwerks/Engine/Source/Classes/Server.cpp|135|undefined reference to `curl_easy_setopt'| /home/josh/Leadwerks/Engine/Source/Classes/Server.cpp|139|undefined reference to `curl_easy_setopt'| /home/josh/Leadwerks/Engine/Source/Classes/Server.cpp|142|undefined reference to `curl_easy_setopt'| /home/josh/Leadwerks/Engine/Source/Classes/Server.cpp|146|undefined reference to `curl_easy_perform'| /home/josh/Leadwerks/Engine/Source/Classes/Server.cpp|153|undefined reference to `curl_easy_strerror'| /home/josh/Leadwerks/Engine/Source/Classes/Server.cpp|170|undefined reference to `curl_easy_cleanup'| /home/robb/.local/share/Steam/steamapps/common/Leadwerks/Library/Linux/Debug/Leadwerks.a(Server.o)||In function `Leadwerks::Server::Refresh(int)':| /home/josh/Leadwerks/Engine/Source/Classes/Server.cpp|184|undefined reference to `curl_global_init'| /home/josh/Leadwerks/Engine/Source/Classes/Server.cpp|186|undefined reference to `curl_easy_init'| /home/josh/Leadwerks/Engine/Source/Classes/Server.cpp|189|undefined reference to `curl_easy_setopt'| /home/josh/Leadwerks/Engine/Source/Classes/Server.cpp|192|undefined reference to `curl_easy_setopt'| /home/josh/Leadwerks/Engine/Source/Classes/Server.cpp|193|undefined reference to `curl_easy_setopt'| /home/josh/Leadwerks/Engine/Source/Classes/Server.cpp|197|undefined reference to `curl_easy_setopt'| /home/josh/Leadwerks/Engine/Source/Classes/Server.cpp|200|undefined reference to `curl_easy_setopt'| /home/josh/Leadwerks/Engine/Source/Classes/Server.cpp|204|undefined reference to `curl_easy_perform'| /home/josh/Leadwerks/Engine/Source/Classes/Server.cpp|210|undefined reference to `curl_easy_strerror'| /home/josh/Leadwerks/Engine/Source/Classes/Server.cpp|227|undefined reference to `curl_easy_cleanup'| ||=== Build failed: 40 error(s), 0 warning(s) (0 minute(s), 1 second(s)) ===|
- 5 replies
-
- release candidate
- codeblocks
-
(and 3 more)
Tagged with:
-
When attempting to compile a project with Codeblocks, using Leadwerks 4.4 beta, an error was produced indicating that the Classes/LinkedList.h could not be found. The file is located in the directory, however it was named Classes/LinkedList.H. A simple renaming of the file corrected the problem.
- 1 reply
-
- codeblocks
- 4.4 beta
-
(and 2 more)
Tagged with:
-
I've been having trouble getting SDL to work with Leadwerks on Linux. It builds fine on Windows, but I've been getting the following error: ‘SDL_GameControllerAxis’ is not a class or namespace I set up Code::Blocks to use these: Compiler search directories: /usr/include/SDL2 Link libraries: /usr/lib/i386-linux-gnu/libSDL2.so Options: -lSDL2 -lSDL2main Am I missing anything? Could I be pointed in the right direction? I have installed the libsdl2-2.0-0 and libsdl2-dev (with the ":i386" option) packages. Thanks!