Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - shadowmouse

Pages: 1 2 3 [4] 5 6 ... 21
46
SFML projects / Re:creation - a top down action adventure about undeads
« on: November 28, 2015, 12:22:46 pm »
How about making a day and night system and having the shadows gradually move from left to right? I think you'll have to rotate the top edge a bit to stop it looking weird though, but I might be wrong as I've never tried it myself.

47
General / Re: Segmentation fault when trying to draw sprite[10]
« on: November 21, 2015, 09:47:44 am »
Please post your code, but as a random guess, is boxS of size 10?

48
General / Re: Linking on Linux
« on: November 19, 2015, 05:58:50 pm »
Yes I am compiling statically because that's what I always did on Windows and it makes things easier for me because I don't have to transfer external files. I'm on 14.04 LTS so I'll make sure to look out for .02 or .03. I only got 14.04 because that was the one that it said is generally recommended and seeing as it's my first Linux OS I thought I''d follow the guidance.

49
Window / Re: Window resizing?
« on: November 18, 2015, 09:18:23 am »
But the view size will always be the same as the window size if you set it to the window size upon a Resized event. It also means that the view isn't being changed constantly, and the code for changing the size of the view is clearly under an if that states that it is the code for coping with the resizing of the window, which means it explicitly states what it does, why it does it and it will have the better performance.

50
General / Re: Linking on Linux
« on: November 17, 2015, 12:31:07 am »
I'm using 14.04 LTS and I've installed using the source code download on the downloads page and CMake.

51
General / Re: Linking on Linux
« on: November 15, 2015, 08:35:21 pm »
All I was saying is that there is a guide for CodeBlocks which lists what libraries you have to link to when linking statically and I was just asking that it be updated to say things like (Windows only) next to winmm and gdi32 or putting things like X11-xcb (Linux only). I just think that a library for a multiplatform IDE should give information for more than one platform.

52
General / Re: Linking on Linux
« on: November 15, 2015, 08:18:17 pm »
I've got it working now: this is the build log
(click to show/hide)
, and these are my linking settings: Please tell me if you need anything else. I had to do quite a lot of terminalling to finally get it to switch to g++-5, but it's finally compiling with -std-c++14.

53
General / Re: Linking on Linux
« on: November 15, 2015, 07:30:08 pm »
That seems to have got it working (full rebuild) except for the fact that I was relying on C++14, which the version of g++ that came with Ubuntu doesn't support, so I'll have to find out how to update that (EDIT: found out how) and then rebuild the libraries using CMake. Thanks for the information on ldd Spirro. Would it be possible to get the fact that winmm and gdi32 are only necessary on Windows and that all the other libraries have to be linked put into the codeblocks tutorial, seeing as codeblocks is multiplatform so I don't think it's right to make the tutorial only for Windows.

54
General / Re: Linking on Linux
« on: November 15, 2015, 01:13:11 pm »
I did, it's under the spoiler

55
General / Re: Linking on Linux
« on: November 15, 2015, 11:59:17 am »
I linked all the libraries that you have done (I had previously only linked the ones that it says to in the CodeBlocks tutorial), and now this has happened:

(click to show/hide)

These are my linker settings:

56
General / Re: Linking on Linux
« on: November 14, 2015, 11:44:43 pm »
Yep, just checked and they all mention both xlib and xcb.

57
General / Re: Linking on Linux
« on: November 14, 2015, 11:33:42 pm »
Well I've got libx11-xcb1, libx11-xcb1dbg, libx11-xcb-dev and libxcb1 installed according to my package manager, as well as a load of the extensions and a few other ones as well. I can't find anything else in the package manager under either xcb, x11, x11-xcb or xlib that might be helpful.

58
General / Re: Linking on Linux
« on: November 14, 2015, 11:23:12 pm »
Firstly, I've been working off those and going over them carefully, I'm fully aware of how precise you have to be. Secondly, I've got rid of gdi and winmm from the linker and that's got rid of those errors, I now have only a single error which is undefined reference to XGetXCBConnection. I've gone back through the libraries that you have to install for Linux and rechecked all the ones to do with XCB and I'm fairly sure I'm not missing any. Any ideas? And thanks everyone for all the help, I know how annoying the constant I can't set it up posts can be.

59
General / Re: Linking on Linux
« on: November 14, 2015, 10:33:35 pm »
I found a guide to getting opengl working and installed the mesa drivers and apparently on Linux it's just called GL, so I replace opengl32 in the linking options with GL and it has got rid of the can't find -lopengl32 message, but I can't find anything about getting gdi or winmm.

60
General / Re: Linking on Linux
« on: November 14, 2015, 08:05:54 pm »
Yes I do have the 64 bit install, which I hadn't realised would be a problem. I'll have a look into catfish, and what do you mean by the mesa 32 bit drivers?

Pages: 1 2 3 [4] 5 6 ... 21