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

Pages: [1]
1
General / Re: Project compiles but wont link.
« on: August 03, 2017, 09:08:05 pm »
Oh. A coworker did commit an unexpected "SFML" include folder in my include folder... I did not check that out haha... my mistake, sorry for bothering!

Regards,
Max

2
General / Re: Project compiles but wont link.
« on: August 03, 2017, 07:20:45 pm »
Hi eXpl0it3r, thanks for your time.

I just pulled the latest commit of SFML repo; compiled them with cmake for vs2013 x86_i386
Visual studio still hangs with the same linker error.

Are you sure about includes ? because it looks like the sengine.dll (my lib) uses that method which is nowhere to find inside lsfml linked binaries... at least that's how I interpret the linker error.

(reminder; whole error) :
Quote
Error   25   error LNK2001: unresolved external symbol "private: virtual bool __thiscall sf::RenderWindow::activate(bool)" (?activate@RenderWindow@sf@@EAE_N_N@Z)   W:\Projets\stbxengine\vs\Test\libsengine.dll(Engine.obj)   Test

3
General / [Solved] Project compiles but wont link.
« on: August 03, 2017, 02:11:35 pm »
Hello, i've been developping a game engine based on SFML for quite a while now, and after some refactoring for the project to compile under MinGW, it wont compile anymore on visual studio. Diffs on git show me neither the project file nor the built bins are modified since. thought, checkout of the old revision compiles, and HEAD doesnt.

I added all sfml-*-d.lib to linker options in VS2013(x86_win32). I also added the sfml-main-d.lib (because i generate a .dll)
I built those binaries with CMAKE and VS2013(x86_win32)

The linker gives the following error:
Quote
unresolved external symbol "private: virtual bool __thiscall sf::RenderWindow::activate(bool)" (?activate@RenderWindow@sf@@EAE_N_N@Z)

everything links but activate. Where should I look ? i've been struggling recompiling sfml a few times and messing with libs input in visual studio.. why ONLY this method wouldn't link ? I don't even call it in my code.

EDIT: repo for curious/testing https://bitbucket.org/stalker2106/stbxengine/

Thanks for your help.
Maxime.

Pages: [1]