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 - x-ecutioner

Pages: [1]
1
Window / Simple Noob error with the Windows Tutorial
« on: February 27, 2010, 11:48:06 pm »
thank you both for your help so far

i feel we are getting closer to the exact root of the problem

after adjusting the linker input to exactly
Code: [Select]

Additional dependencies: sfml-system-d.lib;sfml-window-d.lib

i am now getting the following error:

Code: [Select]

1>LINK : fatal error LNK1104: cannot open file 'sfml-system-d.lib;sfml-window-d.lib'


any help would be greatly appreciated
thank you

2
Window / Simple Noob error with the Windows Tutorial
« on: February 27, 2010, 09:09:23 pm »
thank you for your response


however,

i am getting the following error:
Code: [Select]

>LINK : fatal error LNK1104: cannot open file 'sfml-system-d;sfml-window-d.obj'


under additional dependencies
i just put
sfml-system-d;sfml-window-d

any ideas?

thank you

Edit: do i have to change my preprocessor from SFML_DYNAMIC to something else since im running the debug mode?  Or do i have to paste the sfml-system-d and sfml-window-d files into the debug directory of my Visual basic project folder?

3
Window / Simple Noob error with the Windows Tutorial
« on: February 27, 2010, 07:23:28 pm »
Hey guys,

i keep getting a LNK 2019 error in visual c++ 2008 express:
Code: [Select]

1>test.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: virtual __thiscall sf::Window::~Window(void)" (__imp_??1Window@sf@@UAE@XZ) referenced in function _main
1>test.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __thiscall sf::Window::Display(void)" (__imp_?Display@Window@sf@@QAEXXZ) referenced in function _main
1>test.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall sf::Window::Window(class sf::VideoMode,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,unsigned long,struct sf::WindowSettings const &)" (__imp_??0Window@sf@@QAE@VVideoMode@1@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@KABUWindowSettings@1@@Z) referenced in function _main
1>test.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall sf::VideoMode::VideoMode(unsigned int,unsigned int,unsigned int)" (__imp_??0VideoMode@sf@@QAE@III@Z) referenced in function _main
1>C:\Users\bakhtawar\Documents\Visual Studio 2008\Projects\SFMLtictactoe\Debug\SFMLtictactoe.exe : fatal error LNK1120: 4 unresolved externals
1>Build log was saved at "file://c:\Users\*********\Documents\Visual Studio 2008\Projects\SFMLtictactoe\SFMLtictactoe\Debug\BuildLog.htm"
1>SFMLtictactoe - 5 error(s), 0 warning(s)


based on the code i copied from the tutorial:

Code: [Select]

#include <SFML/Window.hpp>

int main(){
// Create the main window
    sf::Window App(sf::VideoMode(800, 600, 32), "SFML Window");


bool Running = true;
while (Running)
{
App.Display();
}

return EXIT_SUCCESS;

}


the previous tutorial involving threading and even the very first script with timing worked fine for me so i believe i have appropriately linked to the appropriate SFML:

include files:


and library files:


as a matter of interest, I am linking to the microsoft SDK based on advice given on this thread from about a year or two ago:
http://www.sfml-dev.org/forum/viewtopic.php?t=244

I also researched heavily and came accross this link, but found that it did not help me:
http://www.sfml-dev.org/forum/viewtopic.php?t=1553&highlight=lnk2019

I also have the following aspects established under my project properties:




finally, i am running windows 7, and the ATI Radeon HD 5750 graphics card.

any help would be greatly appreciated.

Pages: [1]
anything