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

Pages: [1]
1
Graphics / Bug with dynamic libs
« on: April 09, 2011, 09:22:10 pm »
Ok, thank you

2
Graphics / Bug with dynamic libs
« on: April 09, 2011, 10:17:58 am »
Execution stack at application closure:

At D:\data\Projects\LaFabrique\libext\work\SFML\src\SFML\Graphics\RenderWindow.cpp:57
At D:\data\Projects\LaFabrique\libext\work\SFML\src\SFML\Graphics\RenderWindow.cpp:60
At D:\data\Projects\LaFabrique\libext\work\SFML\src\SFML\Graphics\RenderTarget.cpp:50
At D:\data\Projects\LaFabrique\libext\work\SFML\src\SFML\Graphics\RenderTarget.cpp:53
At D:/data/Projects/LaFabrique/libext/work/SFML/include/SFML/Graphics/Renderer.hpp:49
At D:\data\Projects\LaFabrique\libext\work\SFML\src\SFML\Window\GlResource.cpp:72
At D:\data\Projects\LaFabrique\libext\work\SFML\src\SFML\Window\GlResource.cpp:75
At D:\data\Projects\LaFabrique\libext\work\SFML\src\SFML\Window\GlResource.cpp:78
At D:\data\Projects\LaFabrique\libext\work\SFML\src\SFML\Window\GlResource.cpp:80
At D:\data\Projects\LaFabrique\libext\work\SFML\src\SFML\Window\Window.cpp:86
At D:\data\Projects\LaFabrique\libext\work\SFML\src\SFML\Window\Window.cpp:88
At D:\data\Projects\LaFabrique\libext\work\SFML\src\SFML\Window\Window.cpp:156
At D:\data\Projects\LaFabrique\libext\work\SFML\src\SFML\Window\Window.cpp:159
At D:\data\Projects\LaFabrique\libext\work\SFML\src\SFML\Window\Window.cpp:160
At D:\data\Projects\LaFabrique\libext\work\SFML\src\SFML\Window\Window.cpp:163
At D:\data\Projects\LaFabrique\libext\work\SFML\src\SFML\Window\Window.cpp:166
At D:\data\Projects\LaFabrique\libext\work\SFML\src\SFML\Window\Window.cpp:167
At D:\data\Projects\LaFabrique\libext\work\SFML\src\SFML\Window\Window.cpp:171
At D:\data\Projects\LaFabrique\libext\work\SFML\src\SFML\Window\Window.cpp:173
At D:\data\Projects\LaFabrique\libext\work\SFML\src\SFML\Window\Window.cpp:89
At D:\data\Projects\LaFabrique\libext\work\SFML\src\SFML\Window\GlResource.cpp:72
At D:\data\Projects\LaFabrique\libext\work\SFML\src\SFML\Window\GlResource.cpp:75
At D:\data\Projects\LaFabrique\libext\work\SFML\src\SFML\Window\GlResource.cpp:78
At D:\data\Projects\LaFabrique\libext\work\SFML\src\SFML\Window\GlResource.cpp:80
In wxWindowBase::Destroy () (D:\data\Projects\LaFabrique\libext\wxWidgets\lib\gcc_dll_unicode\wxmsw291u_gcc_custom.dll)
At D:\data\Projects\LaFabrique\GUI\src\lfframe.cpp:269
In wxAuiNotebook::DeletePage () (D:\data\Projects\LaFabrique\libext\wxWidgets\lib\gcc_dll_unicode\wxmsw291u_gcc_custom.dll)
At D:\data\Projects\LaFabrique\GUI\src\lfframe.cpp:269
In wxAuiNotebook::~wxAuiNotebook () (D:\data\Projects\LaFabrique\libext\wxWidgets\lib\gcc_dll_unicode\wxmsw291u_gcc_custom.dll)
At D:\data\Projects\LaFabrique\GUI\src\lfframe.cpp:269
In wxWindowBase::Destroy () (D:\data\Projects\LaFabrique\libext\wxWidgets\lib\gcc_dll_unicode\wxmsw291u_gcc_custom.dll)
At D:\data\Projects\LaFabrique\GUI\src\lfframe.cpp:269
In wxWindowBase::DestroyChildren () (D:\data\Projects\LaFabrique\libext\wxWidgets\lib\gcc_dll_unicode\wxmsw291u_gcc_custom.dll)
At D:\data\Projects\LaFabrique\GUI\src\lfframe.cpp:269
In wxWindow::~wxWindow () (D:\data\Projects\LaFabrique\libext\wxWidgets\lib\gcc_dll_unicode\wxmsw291u_gcc_custom.dll)
At D:\data\Projects\LaFabrique\GUI\src\lfframe.cpp:269
In wxWindowBase::Destroy () (D:\data\Projects\LaFabrique\libext\wxWidgets\lib\gcc_dll_unicode\wxmsw291u_gcc_custom.dll)
At D:\data\Projects\LaFabrique\GUI\src\lfframe.cpp:269
In wxWindowBase::DestroyChildren () (D:\data\Projects\LaFabrique\libext\wxWidgets\lib\gcc_dll_unicode\wxmsw291u_gcc_custom.dll)
At D:\data\Projects\LaFabrique\GUI\src\lfframe.cpp:269
In wxWindow::~wxWindow () (D:\data\Projects\LaFabrique\libext\wxWidgets\lib\gcc_dll_unicode\wxmsw291u_gcc_custom.dll)
At D:\data\Projects\LaFabrique\GUI\src\lfframe.cpp:269
In wxTopLevelWindowBase::~wxTopLevelWindowBase () (D:\data\Projects\LaFabrique\libext\wxWidgets\lib\gcc_dll_unicode\wxmsw291u_gcc_custom.dll)
At D:\data\Projects\LaFabrique\GUI\src\lfframe.cpp:269
In wxTopLevelWindowMSW::~wxTopLevelWindowMSW () (D:\data\Projects\LaFabrique\libext\wxWidgets\lib\gcc_dll_unicode\wxmsw291u_gcc_custom.dll)
At D:\data\Projects\LaFabrique\GUI\src\lfframe.cpp:269
In wxFrameBase::~wxFrameBase () (D:\data\Projects\LaFabrique\libext\wxWidgets\lib\gcc_dll_unicode\wxmsw291u_gcc_custom.dll)
At D:\data\Projects\LaFabrique\GUI\src\lfframe.cpp:269
In wxFrame::~wxFrame () (D:\data\Projects\LaFabrique\libext\wxWidgets\lib\gcc_dll_unicode\wxmsw291u_gcc_custom.dll)
At D:\data\Projects\LaFabrique\GUI\src\lfframe.cpp:269
In wxAppConsoleBase::DeletePendingObjects () (D:\data\Projects\LaFabrique\libext\wxWidgets\lib\gcc_dll_unicode\wxmsw291u_gcc_custom.dll)
At D:\data\Projects\LaFabrique\GUI\src\lfapp.cpp:15
In wxEventLoopManual::ProcessEvents () (D:\data\Projects\LaFabrique\libext\wxWidgets\lib\gcc_dll_unicode\wxmsw291u_gcc_custom.dll)
At D:\data\Projects\LaFabrique\GUI\src\lfapp.cpp:15
In wxGUIEventLoop::Dispatch () (D:\data\Projects\LaFabrique\libext\wxWidgets\lib\gcc_dll_unicode\wxmsw291u_gcc_custom.dll)
At D:\data\Projects\LaFabrique\GUI\src\lfapp.cpp:15
In wxEventLoopManual::Run () (D:\data\Projects\LaFabrique\libext\wxWidgets\lib\gcc_dll_unicode\wxmsw291u_gcc_custom.dll)
At D:\data\Projects\LaFabrique\GUI\src\lfapp.cpp:15
In wxAppConsoleBase::MainLoop () (D:\data\Projects\LaFabrique\libext\wxWidgets\lib\gcc_dll_unicode\wxmsw291u_gcc_custom.dll)
At D:\data\Projects\LaFabrique\GUI\src\lfapp.cpp:15
In wxEntryReal () (D:\data\Projects\LaFabrique\libext\wxWidgets\lib\gcc_dll_unicode\wxmsw291u_gcc_custom.dll)
At D:\data\Projects\LaFabrique\GUI\src\lfapp.cpp:15
In wxEntry () (D:\data\Projects\LaFabrique\libext\wxWidgets\lib\gcc_dll_unicode\wxmsw291u_gcc_custom.dll)
At D:\data\Projects\LaFabrique\GUI\src\lfapp.cpp:15
In main () ()
In __mingw_CRTStartup () ()
Program received signal SIGSEGV, Segmentation fault.
In atioglxx!DrvGetProcAddress () (C:\Windows\SysWOW64\atioglxx.dll)

3
Graphics / Bug with dynamic libs
« on: April 08, 2011, 10:09:01 pm »
Hello,

I'm using Code::Blocks on Win7 64bits.

When I build my prog with the DLL and when I do this:

sf::Text text(title, sf::Font::GetDefaultFont(), 12);
text.GetRect().Width

I have this:
Program received signal SIGSEGV, Segmentation fault.
In atioglxx!DrvGetProcAddress () (C:\Windows\SysWOW64\atioglxx.dll)

The renderer is a wxControl and a sf::RenderWindow

There is no problem with the same code and the static libraries.

Edit: I'm using SMFL 2 last master GIT and the SIGSEGV appears when application is closing.

4
General / Code::blocks compilation error
« on: April 03, 2011, 10:38:49 am »
Ok, I thought there was only a define for dynamic libs.

Thanks again Laurent, your support confirm my choice for SFML.

5
General / Code::blocks compilation error
« on: April 03, 2011, 12:35:00 am »
I still have linking problems:

Code: [Select]
obj\Debug\src\lfsfmlcanvas.o||In function `lfSFMLCanvas':|
D:\data\Projects\LaFabrique\GUI\src\lfsfmlcanvas.cpp|23|undefined reference to `_imp___ZN2sf12RenderWindowC2Ev'|
D:\data\Projects\LaFabrique\GUI\src\lfsfmlcanvas.cpp|37|undefined reference to `_imp___ZN2sf6Window6CreateEP6HWND__RKNS_15ContextSettingsE'|
D:\data\Projects\LaFabrique\GUI\src\lfsfmlcanvas.cpp|40|undefined reference to `_imp___ZN2sf12RenderWindowD2Ev'|
D:\data\Projects\LaFabrique\GUI\src\lfsfmlcanvas.cpp|23|undefined reference to `_imp___ZN2sf12RenderWindowC2Ev'|
D:\data\Projects\LaFabrique\GUI\src\lfsfmlcanvas.cpp|37|undefined reference to `_imp___ZN2sf6Window6CreateEP6HWND__RKNS_15ContextSettingsE'|
D:\data\Projects\LaFabrique\GUI\src\lfsfmlcanvas.cpp|40|undefined reference to `_imp___ZN2sf12RenderWindowD2Ev'|
obj\Debug\src\lfsfmlcanvas.o||In function `~lfSFMLCanvas':|
D:\data\Projects\LaFabrique\GUI\src\lfsfmlcanvas.cpp|45|undefined reference to `_imp___ZN2sf12RenderWindowD2Ev'|
D:\data\Projects\LaFabrique\GUI\src\lfsfmlcanvas.cpp|45|undefined reference to `_imp___ZN2sf12RenderWindowD2Ev'|
D:\data\Projects\LaFabrique\GUI\src\lfsfmlcanvas.cpp|45|undefined reference to `_imp___ZN2sf12RenderWindowD2Ev'|
obj\Debug\src\lfsfmlcanvas.o:D:\data\Projects\LaFabrique\GUI\src\lfsfmlcanvas.cpp|79|undefined reference to `_imp___ZN2sf6Window7DisplayEv'|
||=== Build finished: 10 errors, 0 warnings ===|


What is the problem here? It looks like there is a wrong compilation option...

6
General / Code::blocks compilation error
« on: April 03, 2011, 12:06:53 am »
:oops:

Of course!

Quel idiot !

Merci !

7
General / Code::blocks compilation error
« on: April 02, 2011, 11:40:55 pm »
I have these undefined references when I compile my project on Code::Blocks (MingW):

Code: [Select]

..\libext\SFML\lib\libsfml-graphics-s.a(RenderWindow.cpp.obj):RenderWindow.cpp|| undefined reference to `sf::Window::~Window()'|
..\libext\SFML\lib\libsfml-graphics-s.a(RenderWindow.cpp.obj):RenderWindow.cpp|| undefined reference to `sf::Window::~Window()'|
..\libext\SFML\lib\libsfml-graphics-s.a(RenderWindow.cpp.obj):RenderWindow.cpp|| undefined reference to `sf::Window::~Window()'|
..\libext\SFML\lib\libsfml-graphics-s.a(RenderWindow.cpp.obj):RenderWindow.cpp|| undefined reference to `sf::Window::~Window()'|
..\libext\SFML\lib\libsfml-graphics-s.a(RenderWindow.cpp.obj):RenderWindow.cpp|| undefined reference to `sf::Window::~Window()'|
..\libext\SFML\lib\libsfml-graphics-s.a(RenderWindow.cpp.obj):RenderWindow.cpp|| more undefined references to `sf::Window::~Window()' follow|
..\libext\SFML\lib\libsfml-graphics-s.a(RenderWindow.cpp.obj):RenderWindow.cpp|| undefined reference to `sf::Window::Window()'|
..\libext\SFML\lib\libsfml-graphics-s.a(RenderWindow.cpp.obj):RenderWindow.cpp|| undefined reference to `sf::Window::~Window()'|
..\libext\SFML\lib\libsfml-graphics-s.a(RenderWindow.cpp.obj):RenderWindow.cpp|| undefined reference to `sf::Window::Window()'|
..\libext\SFML\lib\libsfml-graphics-s.a(RenderWindow.cpp.obj):RenderWindow.cpp|| undefined reference to `sf::Window::~Window()'|
..\libext\SFML\lib\libsfml-graphics-s.a(RenderWindow.cpp.obj):RenderWindow.cpp|| undefined reference to `sf::Window::Window()'|
..\libext\SFML\lib\libsfml-graphics-s.a(RenderWindow.cpp.obj):RenderWindow.cpp|| undefined reference to `sf::Window::Create(HWND__*, sf::ContextSettings const&)'|
..\libext\SFML\lib\libsfml-graphics-s.a(RenderWindow.cpp.obj):RenderWindow.cpp|| undefined reference to `sf::Window::~Window()'|
..\libext\SFML\lib\libsfml-graphics-s.a(RenderWindow.cpp.obj):RenderWindow.cpp|| undefined reference to `sf::Window::Window()'|
..\libext\SFML\lib\libsfml-graphics-s.a(RenderWindow.cpp.obj):RenderWindow.cpp|| undefined reference to `sf::Window::Create(HWND__*, sf::ContextSettings const&)'|
..\libext\SFML\lib\libsfml-graphics-s.a(RenderWindow.cpp.obj):RenderWindow.cpp|| undefined reference to `sf::Window::~Window()'|
..\libext\SFML\lib\libsfml-graphics-s.a(RenderWindow.cpp.obj):RenderWindow.cpp|| undefined reference to `sf::Window::Window()'|
..\libext\SFML\lib\libsfml-graphics-s.a(RenderWindow.cpp.obj):RenderWindow.cpp|| undefined reference to `sf::Window::Create(sf::VideoMode, std::string const&, unsigned long, sf::ContextSettings const&)'|
..\libext\SFML\lib\libsfml-graphics-s.a(RenderWindow.cpp.obj):RenderWindow.cpp|| undefined reference to `sf::Window::~Window()'|
..\libext\SFML\lib\libsfml-graphics-s.a(RenderWindow.cpp.obj):RenderWindow.cpp|| undefined reference to `sf::Window::Window()'|
..\libext\SFML\lib\libsfml-graphics-s.a(RenderWindow.cpp.obj):RenderWindow.cpp|| undefined reference to `sf::Window::Create(sf::VideoMode, std::string const&, unsigned long, sf::ContextSettings const&)'|
..\libext\SFML\lib\libsfml-graphics-s.a(RenderWindow.cpp.obj):RenderWindow.cpp|| undefined reference to `sf::Window::~Window()'|
..\libext\SFML\lib\libsfml-graphics-s.a(RenderWindow.cpp.obj):RenderWindow.cpp|| undefined reference to `sf::Window::GetHeight() const'|
..\libext\SFML\lib\libsfml-graphics-s.a(RenderWindow.cpp.obj):RenderWindow.cpp|| undefined reference to `sf::Window::GetWidth() const'|
..\libext\SFML\lib\libsfml-graphics-s.a(RenderWindow.cpp.obj):RenderWindow.cpp|| undefined reference to `sf::Window::SetActive(bool) const'|
..\libext\SFML\lib\libsfml-graphics-s.a(RenderTarget.cpp.obj):RenderTarget.cpp|| undefined reference to `sf::GlResource::~GlResource()'|
..\libext\SFML\lib\libsfml-graphics-s.a(RenderTarget.cpp.obj):RenderTarget.cpp|| undefined reference to `sf::GlResource::~GlResource()'|
..\libext\SFML\lib\libsfml-graphics-s.a(RenderTarget.cpp.obj):RenderTarget.cpp|| undefined reference to `sf::GlResource::~GlResource()'|
..\libext\SFML\lib\libsfml-graphics-s.a(RenderTarget.cpp.obj):RenderTarget.cpp|| undefined reference to `sf::GlResource::~GlResource()'|
..\libext\SFML\lib\libsfml-graphics-s.a(RenderTarget.cpp.obj):RenderTarget.cpp|| undefined reference to `sf::GlResource::~GlResource()'|
..\libext\SFML\lib\libsfml-graphics-s.a(Renderer.cpp.obj):Renderer.cpp|| undefined reference to `sf::GlResource::GlResource()'|
..\libext\SFML\lib\libsfml-graphics-s.a(Renderer.cpp.obj):Renderer.cpp|| undefined reference to `sf::GlResource::GlResource()'|
..\libext\SFML\lib\libsfml-graphics-s.a(Shader.cpp.obj):Shader.cpp|| undefined reference to `sf::GlResource::EnsureGlContext()'|
||More errors follow but not being shown.|
||Edit the max errors limit in compiler options...|
||=== Build finished: 50 errors, 0 warnings ===|


I've rebuild the master SFML on GIT with CMake without any error (very clean build system by the way :wink:).

I link with these:

-mthreads
-lsfml-system-s
-lsfml-window-s
-lsfml-graphics-s
-lopengl32
-lglu32

So, what did I miss?

Pages: [1]
anything