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 - Smithson

Pages: [1]
1
General / Re: SFML binaries and the latest code::blocks Mingw
« on: February 10, 2016, 02:31:32 am »
@ramaskrik,

I don't write games my interest at the moment is interfacing to my own electronic hardware and needed graphics to make a nice GUI interface. I see the computer as a big programmable chip which happens to come with a limited set of input/outputs, namely, monitor, printer, keyboard, mouse and so on.

In fact I only use a limited number of C statements although I use cin cout and I might include using objects written by others. At the moment I am playing with the Arduino board and it is programmed in a C like language and it has libraries of objects of which Serial.println is an example.

It is an intellectual pass time to keep the old brain working. I just find electronics and programming more fun than doing cross word puzzles.
.

2
General / Re: SFML binaries and the latest code::blocks Mingw
« on: February 10, 2016, 02:28:44 am »
@Jesper Juhl,

Yes I worked through the tutorial but was unable to get the latest SFML version to work with the code::blocks and MingW as explained in previous posts. And I did download the CMake but couldn't find any GUI to run as mentioned in previous posts. I am not lazy I just haven't the knowledge to convert "do x,y and z" into "how to do x,y and z".
.

3
General / Re: SFML binaries and the latest code::blocks Mingw
« on: February 09, 2016, 09:24:17 pm »
@ramaskrik,

Quote
Make sure you're following SFML tutorial for the same version you're linking against.

The only SFML tutorial I could find only covers SFML 2.0

Quote
... I am a self-taught programmer, never went to a ComputerScience/SoftwareEngineering school of any kind and am able to link to SFML/other libs, compile it with CMake (wonderful tool, actually), etc..

Programming and electronics has only been an occasional part time hobby for me so I really haven't had the spare time from the real world to learn all that stuff. With other advanced languages you don't need to. Why then do I want to use C++? C++ has a low learning curve for me because I used TurboC++ for DOS in ye olden days and I liked it. I have dabbled with Java and c#.

Quote
On the other hand, if you want to make your life easier where you can, when programming, switch to Linux.

I nearly did that a long time ago but Linux didn't have the hardware support I needed at the time. As time is always an issue I need good reason to go through another learning curve . Perhaps if I decide to buy a Raspberry Pi I might just have to learn Linux.
.

4
General / Re: SFML binaries and the latest code::blocks Mingw
« on: February 09, 2016, 09:21:08 pm »
@eXpl0it3r,

Quote
While we try to keep things uptodate all the time, we're also just humans and volunteers and can't just magically update everything within a few days.

Of course and I don't expect anything more and appreciate that there are those able and willing to take on such projects. SFML was recommended and I am just disappointed I am unable to get it working. I am sure it is easy for 99% of other users I just lack the know how.

Quote
The real problem here is your lack of experience with C++ libraries in general,...


Zero experience. Yes that is the problem. As I wrote I am a part time self taught hobby programmer with very limited spare time and I would rather get on with coding a project than time learning how to set up the coding environment particularly as this is something software is capable of doing automatically as shown by the DevPak which I used many years ago with the Bloodshed DevC++ development environment and the console project icon I use with code::blocks.

Quote
... but it's unfair and wrong to blame other things just because one doesn't immediately understand things.

There is no blame intended just a signal to say that it acts as a barrier to non-professionals taking on C++ and instead using Java (yuck) or C# instead. If SFML is too hard for me I will probably just get back up to speed with the Window's API for my current project.
.

5
General / Re: SFML binaries and the latest code::blocks Mingw
« on: February 08, 2016, 11:01:15 pm »
Thanks for your response ramaskrik. What I was hoping was the SFML team would provide the binaries or better still a project icon that works.  Code::blocks does have an outdated SFML project icon it just need updating.

Yes I did try and follow the tutorial which was written for the SFML-2.0

After many errors it finally "compiled" but would would not run and it was then I was told that the binaries were incompatible with the compiler being used.

=======================================================================================

I started up Code::Blocks and chose an empty project that I called graphic1 and followed the instructions which were to,
Add a "main.cpp" file to your project,
which I did by File > New > File ... >
and selecting a C/C++ source File icon calling it main.cpp as instructed and pasting in the given source code.


Then I tried to build/run it and keep getting a message box,
"It seems this that this project has not been built yet."
"Do you want to build it now?"

Selecting [yes] just keeps popping up the same message box.

The error output is:

-------------- Build: Debug in graphics1 (compiler: GNU GCC Compiler)---------------

Linking stage skipped (build target has no object files to link)
Nothing to be done (all items are up-to-date).


-------------- Run: Debug in graphics1 (compiler: GNU GCC Compiler)---------------

Checking for existence: C:\SFML-2.3.2\examples\graphics1\bin\Debug\graphics1.exe

No idea what to do with that information.
==================================================================================

Have downloaded CMake. Can't find any exe program to start it up.

Also it appears you must buy "Mastering CMake" and "CMake training course" to even begin understand how to use it.

For starters the tutorial to use Cmake writes,
Now you are ready to run CMake. In fact there are three different ways to run it:
cmake-gui

Managed to find,
cmake-gui.1.rst file
but it doesn't run a gui for cmake when I double click it.

The point is there is one complication added to another in trying to resolve this issue which could be resolved if the SFML team provided binaries or something like the dev-pak to just run and then any program with #include SFML would just work! It is like they only want computer science graduates to use the product not old self taught hobby programmers. I used TurboC++ on my old MSDOS machine but of course back then it was easy to program the graphics hardware yourself no libraries required.
.
My gripe with SFML is it shouldn't be this hard to use the library. I don't want to have to become an expert in the developmental environment of C++ to do something as simple as using a library when simply typing #include SFML should do the trick as it does with other advanced languages.
.

6
General / SFML binaries and the latest code::blocks Mingw
« on: February 08, 2016, 09:16:06 pm »
Hi,
I am a self taught programmer using the code::blocks ide and the mingw compiler on a window7 machine.
After following the instructions on installing sfml in the tutorial I can't get the demo to compile.
Apparently the sfml binaries for the latest compiler that came with the code::blocks download are incompatible.
It was suggested I cmake my own binaries but really don't have the know how to follow the instructions which say do x,y and z but not how to do x,y and z.
Will SFML eventually make binaries available or make availbale an automatic project icon for code::blocks?
I have no trouble with console programs as all I do is click the console icon to set it up.
Also I have no trouble with more advanced languages which don't require a convoluted complicated set of actions to get a library working.
Any suggestions are welcome.

Pages: [1]
anything