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

Pages: 1 [2]
16
Window / Question on window tutorial
« on: January 22, 2010, 11:41:56 pm »
Quote
Hmm, you should also have "Release static" and "Release DLL". Maybe something went wrong with the conversion wizard?

Sorry, I was a bit imprecise here.

I meant that "Debug DLL" and "Debug static" are the only two "debug modes" that I can choose between. I assume that for the "sfml-xxx-d.lib" I need a simple "Debug", like the one I can choose for the "sfml-main" project.

There are also "Release static" and "Release DLL" but none of them results in "sfml-xxx-d.lib" files.

bnz

17
Window / Question on window tutorial
« on: January 22, 2010, 10:45:09 pm »
I think now I got it! Well, almost.

The problem was, that I did not exactly know where to look for the files, now I realized that they are directly created in the correct folder. =)

So in the end it was really not harder than "clicking on "build"", as you said. ;)

Now to the reason I said "almost":
When compiling the Release DLLs it says:
Rebuild All: 1 succeeded, 5 failed, 12 skipped

But all files are there. Could that be a problem?

bnz

EDIT:
Still one problem: How can I create the "sfml-xxx-d.lib" files? I only can choose between Debug DLL (sfml-xxx-d.dll) and Debug static (sfml-xxx-s-d.lib).

18
Window / Question on window tutorial
« on: January 22, 2010, 06:40:54 pm »
Well, I just tried to build SFML with Visual Studio 2010 beta2 and I'm quite lost. =)
Following the tutorial does not really work or at least I'm not doing it right.
When I open the SFML.sln, the "Visual Studio Conversion Wizard" starts and wants to convert the project. When I then select the whole solution, containing 18 projects, and select "Build" it does something, but I actually have no clue what it does or how I could manipulate it.
It also seems strange that the projects contains sub-projects like "pong" or "wxwdgets".

Well, as you see I am a little confused and it would be great, if you could give me a pointer on how to compile SFML correctly, so that I have all needed files (all .dll and .lib files with all the different endings) at the end.

Thanks,
bnz

19
Window / Question on window tutorial
« on: January 22, 2010, 10:16:35 am »
Oh, okay.
I will try that this evening.

Thanks,
bnz

20
Window / Question on window tutorial
« on: January 22, 2010, 10:03:23 am »
Unfortunately that didn't change anything.
The exeption is thrown at the following line:
Code: [Select]
sf::Window App(sf::VideoMode(800, 600, 32), "SFML Window");

By the way: Why did I have to link to smfl-system-d? Wouldn't the compiler complain if something was missing?

bnz

EDIT: Just for the fun of it, I tried to link to the non-debug versions of the librarys and after copying the needed dlls into the executable's folder it worked.
I hope this gives you some clues, why it is not working with the debug versions.

bnz

21
Window / Question on window tutorial
« on: January 21, 2010, 09:20:35 pm »
Yes, at least I think so.
Here are two screenshots of the properties:

In the folder, where the executable is located, I added the sfml-window-d.dll and the sfml-system-d.dll.

bnz

22
Window / Question on window tutorial
« on: January 21, 2010, 08:15:06 pm »
Hello,

I'm new to SFML and also quite new to C++ in general, so I tried the official tutorials as a start.
However I'm now stuck at the tutorial on creating windows. I compiles fine (using MSVC++ 2010 beta2 and the code included in the tutorial), but when I start the application I get the following message:
"Unhandled exception at 0x75f19f11 in SFML Window.exe: 0xC0000005: Access violation reading location 0x6e695720."

When I start the exe directly from the Windows Explorer it simply says that the exe doesn't work anylonger.
I'm using Windows 7, by the way.

Do I need Qt or wxWidgets to succesfully run this program? Do you have any idea what I'm doing wrong?

Thanks,
bnz

Pages: 1 [2]
anything