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

Pages: [1]
1
General / VC2008 buffer issue
« on: August 04, 2010, 05:04:52 pm »
That worked. Now, when I compile, I can run my project, but at debug mode, the window closes before displaying anything. No need to solve this one, though :) .

Thanks Laurent

Regards

2
General / VC2008 buffer issue
« on: August 04, 2010, 06:53:52 am »
Hello. When I try to run/compile my project at VC2008, my linker complains and says buffer saturation has damaged internally my program.

My code works on other developers' PCs, so I think it is an issue related with my VC, my computer, or with WinXP SP3. It runs on a x86 processro (I'm telling this because I know it has something to do--just don't know that)

Please help me.

Regards

3
General / What's wrong with this code?
« on: July 27, 2010, 10:47:46 pm »
Thanks man.

4
General / What's wrong with this code?
« on: July 27, 2010, 10:41:39 pm »
Hey I need some help and can't compile this:

Code: [Select]

int main() {

sf::Window App(sf::VideoMode(800, 600, 32), "DEMO");

const sf::Input& Input = App.GetInput();

while (App.IsOpened())
{
sf::Event Event;
while (App.GetEvent(Event)) {

if (Event.Type == sf::Event::Closed)
App.Close();

if ((Event.Type == sf::Event::KeyPressed) && (Event.Key.Code == sf::Key::Escape))
App.Close();

if (Event.Type == sf:: Event::MouseMoved)
std::cout<<"X: "<<Input.GetMouseX()<<"Y: "<<Input.GetMouseY()<<std::endl;

App.Display(); }
return EXIT_SUCCESS;
}


I get a lot of linker errors: (in Spanish)
Code: [Select]

1>DEMO.obj : error LNK2019: símbolo externo "public: virtual __thiscall sf::Window::~Window(void)" (??1Window@sf@@UAE@XZ) sin resolver al que se hace referencia en la función _main
1>DEMO.obj : error LNK2019: símbolo externo "public: void __thiscall sf::Window::Display(void)" (?Display@Window@sf@@QAEXXZ) sin resolver al que se hace referencia en la función _main
1>DEMO.obj : error LNK2019: símbolo externo "public: int __thiscall sf::Input::GetMouseX(void)const " (?GetMouseX@Input@sf@@QBEHXZ) sin resolver al que se hace referencia en la función _main
1>DEMO.obj : error LNK2019: símbolo externo "public: void __thiscall sf::Window::Close(void)" (?Close@Window@sf@@QAEXXZ) sin resolver al que se hace referencia en la función _main
1>DEMO.obj : error LNK2019: símbolo externo "public: bool __thiscall sf::Window::GetEvent(class sf::Event &)" (?GetEvent@Window@sf@@QAE_NAAVEvent@2@@Z) sin resolver al que se hace referencia en la función _main
1>DEMO.obj : error LNK2019: símbolo externo "public: bool __thiscall sf::Window::IsOpened(void)const " (?IsOpened@Window@sf@@QBE_NXZ) sin resolver al que se hace referencia en la función _main
1>DEMO.obj : error LNK2019: símbolo externo "public: class sf::Input const & __thiscall sf::Window::GetInput(void)const " (?GetInput@Window@sf@@QBEABVInput@2@XZ) sin resolver al que se hace referencia en la función _main
1>DEMO.obj : error LNK2019: símbolo externo "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 &)" (??0Window@sf@@QAE@VVideoMode@1@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@KABUWindowSettings@1@@Z) sin resolver al que se hace referencia en la función _main
1>DEMO.obj : error LNK2019: símbolo externo "public: __thiscall sf::VideoMode::VideoMode(unsigned int,unsigned int,unsigned int)" (??0VideoMode@sf@@QAE@III@Z) sin resolver al que se hace referencia en la función _main
1>C:\Documents and Settings\Carlos\Mis documentos\SFML\MOUSE_DEMO\Debug\MOUSE_DEMO.exe : fatal error LNK1120: 9 externos sin resolver

I use Visual C++ 2008
If anyone can help, that would be greatly appreciated

Pages: [1]
anything