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

Pages: [1]
1
Window / More build troubles in VS2008
« on: October 08, 2008, 03:10:14 am »
Ohh!

That had crossed my mind, but I dismissed it because for some reason I thought it was included in SFML.  I'm not so sure what I was thinking.

Thanks for the help.

2
Window / More build troubles in VS2008
« on: October 07, 2008, 10:47:07 pm »
When attempting to build the code from this tutorial:
http://www.sfml-dev.org/tutorials/1.3/window-opengl.php

I'm getting this error:
Code: [Select]
1>SFML_OpenGL.cpp
1>Linking...
1>SFML_OpenGL.obj : error LNK2019: unresolved external symbol _gluPerspective@32 referenced in function _main
1>C:\Users\Brent\Documents\Visual Studio 2008\Projects\SFML_OpenGL\Debug\SFML_OpenGL.exe : fatal error LNK1120: 1 unresolved externals


What does this mean?

3
Window / Trouble Building in VS2008
« on: August 22, 2008, 09:49:14 pm »
Does anyone know what those warnings I was getting mean?

4
Window / Trouble Building in VS2008
« on: August 08, 2008, 05:46:38 pm »
Well, I've tried linking the debug libraries, and now I get massive linking errors.

Code: [Select]
1>------ Build started: Project: sfml_window_and_event, Configuration: Debug Win32 ------

1>Compiling...

1>sfml_window_and_event.cpp

1>stdafx.cpp

1>Generating Code...

1>Linking...

1>sfml-system-s-d.lib(Platform.obj) : warning LNK4099: PDB 'vc90.pdb' was not found with 'C:\Program Files\Microsoft Visual Studio 9.0\VC\lib\sfml-system-s-d.lib' or at 'c:\Users\Brent\Documents\Visual Studio 2008\Projects\sfml_window_and_event\Debug\vc90.pdb'; linking object as if no debug info

1>sfml-system-s-d.lib(Clock.obj) : warning LNK4099: PDB 'vc90.pdb' was not found with 'C:\Program Files\Microsoft Visual Studio 9.0\VC\lib\sfml-system-s-d.lib' or at 'c:\Users\Brent\Documents\Visual Studio 2008\Projects\sfml_window_and_event\Debug\vc90.pdb'; linking object as if no debug info

1>sfml-system-s-d.lib(Sleep.obj) : warning LNK4099: PDB 'vc90.pdb' was not found with 'C:\Program Files\Microsoft Visual Studio 9.0\VC\lib\sfml-system-s-d.lib' or at 'c:\Users\Brent\Documents\Visual Studio 2008\Projects\sfml_window_and_event\Debug\vc90.pdb'; linking object as if no debug info

1>sfml-window-s-d.lib(Joystick.obj) : warning LNK4099: PDB 'vc90.pdb' was not found with 'C:\Program Files\Microsoft Visual Studio 9.0\VC\lib\sfml-window-s-d.lib' or at 'c:\Users\Brent\Documents\Visual Studio 2008\Projects\sfml_window_and_event\Debug\vc90.pdb'; linking object as if no debug info

1>sfml-window-s-d.lib(VideoModeSupport.obj) : warning LNK4099: PDB 'vc90.pdb' was not found with 'C:\Program Files\Microsoft Visual Studio 9.0\VC\lib\sfml-window-s-d.lib' or at 'c:\Users\Brent\Documents\Visual Studio 2008\Projects\sfml_window_and_event\Debug\vc90.pdb'; linking object as if no debug info

1>sfml-window-s-d.lib(WindowImplWin32.obj) : warning LNK4099: PDB 'vc90.pdb' was not found with 'C:\Program Files\Microsoft Visual Studio 9.0\VC\lib\sfml-window-s-d.lib' or at 'c:\Users\Brent\Documents\Visual Studio 2008\Projects\sfml_window_and_event\Debug\vc90.pdb'; linking object as if no debug info

1>sfml-window-s-d.lib(Input.obj) : warning LNK4099: PDB 'vc90.pdb' was not found with 'C:\Program Files\Microsoft Visual Studio 9.0\VC\lib\sfml-window-s-d.lib' or at 'c:\Users\Brent\Documents\Visual Studio 2008\Projects\sfml_window_and_event\Debug\vc90.pdb'; linking object as if no debug info

1>sfml-window-s-d.lib(VideoMode.obj) : warning LNK4099: PDB 'vc90.pdb' was not found with 'C:\Program Files\Microsoft Visual Studio 9.0\VC\lib\sfml-window-s-d.lib' or at 'c:\Users\Brent\Documents\Visual Studio 2008\Projects\sfml_window_and_event\Debug\vc90.pdb'; linking object as if no debug info

1>sfml-window-s-d.lib(Window.obj) : warning LNK4099: PDB 'vc90.pdb' was not found with 'C:\Program Files\Microsoft Visual Studio 9.0\VC\lib\sfml-window-s-d.lib' or at 'c:\Users\Brent\Documents\Visual Studio 2008\Projects\sfml_window_and_event\Debug\vc90.pdb'; linking object as if no debug info

1>sfml-window-s-d.lib(WindowImpl.obj) : warning LNK4099: PDB 'vc90.pdb' was not found with 'C:\Program Files\Microsoft Visual Studio 9.0\VC\lib\sfml-window-s-d.lib' or at 'c:\Users\Brent\Documents\Visual Studio 2008\Projects\sfml_window_and_event\Debug\vc90.pdb'; linking object as if no debug info

1>Embedding manifest...

1>mt.exe : general error c101008a: Failed to save the updated manifest to the file ".\Debug\sfml_window_and_event.exe.embed.manifest". The parameter is incorrect.

1>Build log was saved at "file://c:\Users\Brent\Documents\Visual Studio 2008\Projects\sfml_window_and_event\sfml_window_and_event\Debug\BuildLog.htm"

1>sfml_window_and_event - 1 error(s), 10 warning(s)

========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========


So ... I'm still sort of stuck here.

5
Window / Trouble Building in VS2008
« on: August 08, 2008, 04:44:42 pm »
Ok, thank you, that helps.

Now I'm problems errors in debug mode (it runs fine in release mode), but I'm new to Visual Studio as well, so I'm going to make sure I'm not using debug mode incorrectly.


This is my error:
Code: [Select]
Run-Time Check Failure #2 - Stack around the variable 'App' was corrupted.It occurs right after I close the App window.

6
Window / Trouble Building in VS2008
« on: August 07, 2008, 08:53:56 pm »
Hi, I'm new to SFML, and I've been going through the tutorials.
I had no trouble with the "system" package, but as soon as I attempted to build a program with the "window" package I started getting the following errors:

Code: [Select]
1>------ Build started: Project: sfml_window_and_event, Configuration: Debug Win32 ------
1>Linking...

1>LINK : warning LNK4098: defaultlib 'MSVCRT' conflicts with use of other libs; use /NODEFAULTLIB:library

1>sfml-window-s.lib(Window.obj) : error LNK2019: unresolved external symbol "public: void __thiscall sf::Clock::Reset(void)" (?Reset@Clock@sf@@QAEXXZ) referenced in function "public: void __thiscall sf::Window::Display(void)" (?Display@Window@sf@@QAEXXZ)

1>sfml-window-s.lib(Window.obj) : error LNK2019: unresolved external symbol "void __cdecl sf::Sleep(float)" (?Sleep@sf@@YAXM@Z) referenced in function "public: void __thiscall sf::Window::Display(void)" (?Display@Window@sf@@QAEXXZ)

1>sfml-window-s.lib(Window.obj) : error LNK2019: unresolved external symbol "public: float __thiscall sf::Clock::GetElapsedTime(void)const " (?GetElapsedTime@Clock@sf@@QBEMXZ) referenced in function "public: void __thiscall sf::Window::Display(void)" (?Display@Window@sf@@QAEXXZ)

1>sfml-window-s.lib(Window.obj) : error LNK2019: unresolved external symbol "public: __thiscall sf::Clock::Clock(void)" (??0Clock@sf@@QAE@XZ) referenced in function "public: __thiscall sf::Window::Window(void)" (??0Window@sf@@QAE@XZ)

1>C:\Users\Brent\Documents\Visual Studio 2008\Projects\sfml_window_and_event\Debug\sfml_window_and_event.exe : fatal error LNK1120: 4 unresolved externals

1>Build log was saved at "file://c:\Users\Brent\Documents\Visual Studio 2008\Projects\sfml_window_and_event\sfml_window_and_event\Debug\BuildLog.htm"

1>sfml_window_and_event - 5 error(s), 1 warning(s)

========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========


This is what my code looks like:
Code: [Select]
// sfml_window_and_event.cpp : Defines the entry point for the console application.
//

#include <SFML/Window.hpp>

int main() // SFML Basics : Windows & Events
{
// Create a window object. (App)
sf::Window App(sf::VideoMode(800, 600, 32), "SFML Window");  

// Displaying the window
while(App.IsOpened())
{
sf::Event Event; // Declaring an event object;

App.Display(); // Displays the Window

// Checking for a window event:
while(App.GetEvent(Event)) // All events go into a stack, we loop to ensure we've caught them all.
{
// Process event

// Window closed
   if (Event.Type == sf::Event::Closed)
{App.Close();}

// Escape key pressed
if ((Event.Type == sf::Event::KeyPressed) && (Event.Key.Code == sf::Key::Escape))
{App.Close();}
}
}
return 0;
}


Could someone please tell me what I'm doing wrong to cause these errors?

Pages: [1]
anything