Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: compilling SFML2 with CodeBlocks  (Read 8478 times)

0 Members and 1 Guest are viewing this topic.

dkaip

  • Newbie
  • *
  • Posts: 32
    • View Profile
compilling SFML2 with CodeBlocks
« Reply #15 on: February 19, 2010, 10:21:39 am »
Ok i'll try.
Thank's
Jim

dkaip

  • Newbie
  • *
  • Posts: 32
    • View Profile
compilling SFML2 with CodeBlocks
« Reply #16 on: February 19, 2010, 10:29:45 am »
I just activate sfml-system and rebuild(ctrl+F11). Ok
Next choosing build>rebuild workspace i have problem. Maybe wrong is the CB svn version. I'll change version to default 8.05 and i'll see if runs ok.


Quote


-------------- Clean: Debug DLL_Win32 in sfml-system ---------------

Cleaned "sfml-system - Debug DLL_Win32"

-------------- Clean: Debug DLL_Win32 in sfml-window ---------------

Cleaned "sfml-window - Debug DLL_Win32"

-------------- Clean: Debug DLL_Win32 in sfml-network ---------------

Cleaned "sfml-network - Debug DLL_Win32"

-------------- Clean: Debug DLL_Win32 in sfml-graphics ---------------

Cleaned "sfml-graphics - Debug DLL_Win32"

-------------- Clean: Debug DLL_Win32 in sfml-audio ---------------

Cleaned "sfml-audio - Debug DLL_Win32"

-------------- Build: Debug DLL_Win32 in sfml-system ---------------

Compiling: ..\..\src\SFML\System\Clock.cpp
Compiling: ..\..\src\SFML\System\Lock.cpp
Compiling: ..\..\src\SFML\System\Mutex.cpp
Compiling: ..\..\src\SFML\System\Randomizer.cpp
Compiling: ..\..\src\SFML\System\Sleep.cpp
Compiling: ..\..\src\SFML\System\String.cpp
Compiling: ..\..\src\SFML\System\Thread.cpp
Compiling: ..\..\src\SFML\System\ThreadLocal.cpp
Compiling: ..\..\src\SFML\System\Utf.cpp
Compiling: ..\..\src\SFML\System\Win32\MutexImpl.cpp
Compiling: ..\..\src\SFML\System\Win32\Platform.cpp
Compiling: ..\..\src\SFML\System\Win32\ThreadImpl.cpp
Compiling: ..\..\src\SFML\System\Win32\ThreadLocalImpl.cpp
Linking dynamic library: ..\..\lib\mingw\sfml-system-d.dll
Creating library file: ..\..\lib\mingw\libsfml-system-d.dll.a
Output size is 2.12 MB

-------------- Build: Debug DLL_Win32 in sfml-window ---------------

Compiling: ..\..\src\SFML\Window\Context.cpp
Compiling: ..\..\src\SFML\Window\ContextGL.cpp
Compiling: ..\..\src\SFML\Window\Input.cpp
Compiling: ..\..\src\SFML\Window\VideoMode.cpp
Compiling: ..\..\src\SFML\Window\Win32\ContextWGL.cpp
Compiling: ..\..\src\SFML\Window\Win32\Joystick.cpp
Compiling: ..\..\src\SFML\Window\Win32\VideoModeSupport.cpp
Compiling: ..\..\src\SFML\Window\Win32\WindowImplWin32.cpp
Compiling: ..\..\src\SFML\Window\Window.cpp
Compiling: ..\..\src\SFML\Window\WindowImpl.cpp
Linking dynamic library: ..\..\lib\mingw\sfml-window-d.dll
mingw32-g++.exe: ..\..\lib\mingw\libsfml-system-d.a: No such file or directory
Process terminated with status 1 (0 minutes, 6 seconds)
0 errors, 0 warnings
 


--------------------------------


I just change to CB 8.05 and all are ok.
First in build>rebuild workspace i had problem.
Second activate sfml-system and compile, ok.
Then build>rebuild workspace and all are ok.
Thank's for help and good day.
Jim

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
compilling SFML2 with CodeBlocks
« Reply #17 on: February 19, 2010, 11:30:41 am »
This was still the same problem
Quote from: "Laurent"
The name of the generated libraries is wrong, the extension is ".dll.a" instead of ".a".


I found that you can change the default extension in the advanced compiler options.
Laurent Gomila - SFML developer

 

anything