mspike Posted November 9, 2014 Share Posted November 9, 2014 Hi, I'm running on Linux, everything seems to work, I can start Lua projects, but when I try to run a C++ project I get a popup which says: Failed to launch "/home/XXXX/Documents/Leadwerks/Projects/first\first.debug". Any idea ? In fact I think I'm missing some packages... Unfortunatelly I don't see any additional info anywhere... Thanks in advance ! Quote Link to comment Share on other sites More sharing options...
Guppy Posted November 9, 2014 Share Posted November 9, 2014 Did you actually compile the debug binary? Quote System: Linux Mint 17 ( = Ubuntu 14.04 with cinnamon desktop ) Ubuntu 14.04, AMD HD 6850, i5 2500k Link to comment Share on other sites More sharing options...
mspike Posted November 9, 2014 Author Share Posted November 9, 2014 I think I'm on track now, opened code::blocks and now tried to compile, I think I will be able to find the missing packages Just one silly begginer question, will the Leadwearks gui work with C++ or I have to always compile from CodeBlocks (if I have no codechanges ...) Thanks in advance ! Quote Link to comment Share on other sites More sharing options...
mspike Posted November 9, 2014 Author Share Posted November 9, 2014 okay, this one is tricky... /usr/bin/ld: /home/xxxx/.local/share/Steam/SteamApps/common/Leadwerks/Library/Linux/Debug/Leadwerks.a(loadlib.o): undefined reference to symbol 'dlclose@@GLIBC_2.2.5' /usr/bin/ld: note: 'dlclose@@GLIBC_2.2.5' is defined in DSO /lib64/libdl.so.2 so try adding it to the linker command line Any idea / hint ? Quote Link to comment Share on other sites More sharing options...
mspike Posted November 9, 2014 Author Share Posted November 9, 2014 Added dl lib manually to the linker, now seems to be okay... Quote Link to comment Share on other sites More sharing options...
Ma-Shell Posted November 9, 2014 Share Posted November 9, 2014 Just one silly begginer question, will the Leadwearks gui work with C++ or I have to always compile from CodeBlocks (if I have no codechanges ...) Whenever you make code-changes for c++, you will have to compile yourself (usually from within code::blocks). The Leadwerks-GUI only offers an option to run the existing executable binary. This works for LUA-Projects always because the LUA-Code is not compiled into the binary and thus the actual binary doesn't change (and there is a default one from the creation of the project). EDIT: So, if you have no codechanges and compiled it once, you can use the button. Quote Link to comment Share on other sites More sharing options...
mspike Posted November 10, 2014 Author Share Posted November 10, 2014 Understood ! Thanks a lot ! One more question, do you have any detailed user manual for the C++ development ? I only found the "unofficial" faq. (Which is great anyway!) Thanks a lot ! I'm really excited about this framework now ! And the support is just great ! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.