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

Pages: [1]
1
General discussions / Error: LNK2019
« on: March 28, 2008, 06:38:39 am »
Quote from: "Laurent"
You must still link with sfml-system.lib.

And if you compile in debug configuration, you must use debug libraries instead (sfml-window-d.lib and sfml-system-d.lib).


For all the newbies out there, I found that I also had to turn off Precompiled Headers, in Visual Studio 2008, in order to get my first sample program to work.

Click on Project -> Project Properties
Go to Configuration Properties -> C/C++ -> Precompiled Headers
Change Create/Use Precompiled Header to "Not Using Precompiled Headers"

If this information is wrong, I appologize.   But it is what I had to do in order to get it to work for me.

2
General / Initial Installation Issue - (0xc0150002)
« on: March 28, 2008, 04:13:27 am »
Quote from: "Laurent"
-d are the files built by the Debug configurations, the other are built by the Release configurations.


Thank you.  It is now working.

For any future newbies....

In Visual Studio 2008:
Click on Project -> Project Properties -> Configuration Manager

Change "Active solution configuration' to Release or some other non-Debug setting.

3
General / Initial Installation Issue - (0xc0150002)
« on: March 28, 2008, 02:43:34 am »
Quote from: "Laurent"
The configuration selected by default should be "Debug static", which means it won't rebuild the DLLs. Rebuild "Debug DLL" and "Release DLL" configurations if you want to use the DLL versions.


Still no go.  

I did just notice however that all of the -d files are recompiling and all the regular ones are not.  Is it possible I am working with the wrong file?

ie, I have sfml-system-d, but not sfml-system, and I have sfml-audio-d, but not sfml-audio recompiled.

Any ideas?

4
General / Current Settings & Version
« on: March 28, 2008, 01:27:20 am »
Quote from: "Avency"
Which version are you using exactly?
I did a clean install of Team Suite 2008 on Vista and no problems here.
Make sure that the Windows SDK is set up correctly.


Demo Version of Professional, Downloaded as of two days ago.  All updates and patches installed.

How should the Windows SDK be set up?  I haven't touched any settings since it was installed, other than setting the tab space to 2 (I hate the default 4).

5
General / Recompile SFML issue
« on: March 27, 2008, 11:31:04 pm »
Quote from: "Redien"
I'm not really that familiar with Visual Studio, but you mentioned in the other thread that your version was over 5 years old. Then it's probably time to update your IDE. ;)

You can get Visual Studio 2008 Express here.

As you've probably noticed, SFML only include project files for VC 2005/2008. So install either of them and it should compile fine.


Thank you for your reply Redien, but I believe I was misunderstood.  I meant my C++ knowledge is 5 years old.  I am using 2008 at this time.

6
General / Recompile SFML issue
« on: March 27, 2008, 07:14:56 pm »
When I run the SFML.sln file and rebuild it, I get the following warnings:

Quote
Warning   1   warning C4201: nonstandard extension used : nameless struct/union   c:\program files\microsoft sdks\windows\v6.0a\include\mmsystem.h   1840   sfml-window
Warning   2   warning C4201: nonstandard extension used : nameless struct/union   c:\program files\microsoft sdks\windows\v6.0a\include\mmsystem.h   1844   sfml-window
Warning   3   warning C4201: nonstandard extension used : nameless struct/union   c:\program files\microsoft sdks\windows\v6.0a\include\mmsystem.h   1865   sfml-window
Warning   4   warning C4201: nonstandard extension used : nameless struct/union   c:\program files\microsoft sdks\windows\v6.0a\include\mmsystem.h   1869   sfml-window
Warning   5   warning LNK4098: defaultlib 'LIBCMT' conflicts with use of other libs; use /NODEFAULTLIB:library   sfml-graphics   sfml-graphics


In the end, I do not get a brand new recompiled sfml-system.dll file, though it appears that it recompiles all the other .dll files.

7
General / Still Same Issue
« on: March 27, 2008, 06:34:14 pm »
Quote from: "Laurent"
Quote
Understanding my situation.... are there any instructions on how to recompile SFML?

Sure, in the VC++ tutorial. But it's nothing more than opening SFML.sln and clicking on the "compile" button.


I must be missing something.  I loaded the SFML.sln and clicked on Rebuild.  I looked for the files and found them in the same location as the original files and confirmed the 'modified' date showed that they were new and compiled, except 'sfml-system.dll' and a couple of others.

I put the .dll files in the same folder as the executable.

1st issue is that the sfml-system.dll file still shows an older date on it and I still get the same error.
2nd issue is that when I used the sfml-system-d.dll file (which actually shows the newer modified date on it) I still get the same error too.

8
General / Advanced Users Only
« on: March 27, 2008, 06:01:45 pm »
Quote from: "Laurent"
Quote
Understanding my situation.... are there any instructions on how to recompile SFML?

Sure, in the VC++ tutorial. But it's nothing more than opening SFML.sln and clicking on the "compile" button.


But it has a sign on the door that says "Advanced Users Only"

Am I allowed in there?

(just kidding)  Thank you for the help.

9
General / Recompile SFML
« on: March 27, 2008, 05:48:10 pm »
Quote from: "Laurent"
We get this error on the forums at least once every week... ;)

Fast answer : recompile SFML.

For more details : search similar threads on the forum.


Thank you Laurent, I appreciate your answer.  Truth being, I had been programming a game in Visual Basic when someone mentioned SFML to me and I wanted to try it out to see if it would work better for me.  If it works, I would very likely switch and redo the entire game.

Problem is, my Visual C++ is over 5 years old and I have forgotten quite a bit.  I am literally cracking open a new book to relearn how to use it.

Understanding my situation....  are there any instructions on how to recompile SFML?

10
General / Initial Installation Issue - (0xc0150002)
« on: March 27, 2008, 05:25:19 pm »
Have installed SFML for Visual Studio 2008 as shown in the instructions.

Put the following program for installation:

Code: [Select]
#include "stdafx.h"
#include <SFML/System.hpp>
#include <iostream>


int _tmain(int argc, _TCHAR* argv[])
{
    sf::Clock Clock;
    while (Clock.GetElapsedTime() < 5.f)
    {
        std::cout << Clock.GetElapsedTime() << std::endl;
        sf::Sleep(0.5f);
    }
return 0;
}


Did the whole link thing listed in the instructions...

Received the following errors during running and compilation:

Quote
LDR: LdrpWalkImportDescriptor() failed to probe d:\Projects\SFML1\SFML1\sfml-system.dll for its manifest, ntstatus 0xc0150002
LDR: LdrpWalkImportDescriptor() failed to probe d:\Projects\SFML1\SFML1\sfml-system.dll for its manifest, ntstatus 0xc0150002
Debugger:: An unhandled non-continuable exception was thrown during process load
LDR: LdrpWalkImportDescriptor() failed to probe d:\Projects\SFML1\SFML1\sfml-system-d.dll for its manifest, ntstatus 0xc0150002
Debugger:: An unhandled non-continuable exception was thrown during process load
LDR: LdrpWalkImportDescriptor() failed to probe d:\Projects\SFML1\SFML1\sfml-system-d.dll for its manifest, ntstatus 0xc0150002
Debugger:: An unhandled non-continuable exception was thrown during process load
LDR: LdrpWalkImportDescriptor() failed to probe d:\Projects\SFML1\SFML1\sfml-system-d.dll for its manifest, ntstatus 0xc0150002
Debugger:: An unhandled non-continuable exception was thrown during process load
LDR: LdrpWalkImportDescriptor() failed to probe d:\Projects\SFML1\Debug\sfml-system-d.dll for its manifest, ntstatus 0xc0150002
Debugger:: An unhandled non-continuable exception was thrown during process load
LDR: LdrpWalkImportDescriptor() failed to probe d:\Projects\SFML1\Debug\sfml-system-d.dll for its manifest, ntstatus 0xc0150002
Debugger:: An unhandled non-continuable exception was thrown during process load
LDR: LdrpWalkImportDescriptor() failed to probe d:\Projects\SFML1\Debug\sfml-system-d.dll for its manifest, ntstatus 0xc0150002
Debugger:: An unhandled non-continuable exception was thrown during process load
LDR: LdrpWalkImportDescriptor() failed to probe d:\Projects\SFML1\Debug\sfml-system-d.dll for its manifest, ntstatus 0xc0150002
Debugger:: An unhandled non-continuable exception was thrown during process load
LDR: LdrpWalkImportDescriptor() failed to probe d:\Projects\SFML1\Debug\sfml-system-d.dll for its manifest, ntstatus 0xc0150002
Debugger:: An unhandled non-continuable exception was thrown during process load
LDR: LdrpWalkImportDescriptor() failed to probe d:\Projects\SFML1\Debug\sfml-system-d.dll for its manifest, ntstatus 0xc0150002
Debugger:: An unhandled non-continuable exception was thrown during process load
LDR: LdrpWalkImportDescriptor() failed to probe d:\Projects\SFML1\Debug\sfml-system-d.dll for its manifest, ntstatus 0xc0150002


Along with an error for running:

Quote
"The application failed to initialize properly (0xc0150002). Click on OK to terminate the application."


I get the same error when I used sfml-system.dll too.

First time using it... thank for any help.

Pages: [1]