Search the Community
Showing results for tags 'compile'.
-
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:
-
I'm running into a huge issue, I can't wrap my head around it. Whenever I compile the Lua interpreter (Visual Studio Express 2013, Release mode, Windows-32 bit), I get back an exe about 5.5 MB large. The Lua interpreter that comes in each project is only 4.5 MB large. This fact alone wouldn't be a huge issue, but I have a feeling that it is contributing to perfomance issues. Here's the problem: If I create a map with too many entities, my compiled interpreter will exponentially decrease it's framerate until the game basically freezes. The same map used on the Lua interpreted version does not lead to that (the game runs fine at a constant framerate). I don't think it is a memory leak because if I remove instance of the same mesh, the problem goes away (which means it doesn't have to do with batches either, since that is constant). I've even loaded the map without Lua scripts and I still get the same issue. It sounds like some sort of thrashing is going on due to less memory being allocated, but I'm not sure. I'm also only using 2 lights, and about 120k polys (with a similar amount of shadowed polygons). I think I was using between 400 MB and 700 MB of VRAM, but none of these should be the issue here either as I have 2 GB or VRAM. Anyway, any possible solutions or compiler settings/flags that I might be missing here?
-
When you create a Lua project, there are two C++ files listed under the Source folder. Suppose I want to recompile these. Does anyone know how I would go about doing this with VS 2013 (like step-by-step)? (I'm new to C++ for Windows, I primarily worked with C++ on Linux )
-
So I reinstalled ubuntu to get rid of the Steam client, but now I'm getting an error when trying to compile the default C++ project. The log: I don't remember the Steam client was one of the system requirements, but could be wrong.
- 1 reply
-
- standalone
- ubuntu
- (and 4 more)