Recent Posts

Pages: 1 2 3 4 5 [6] 7 8 9 10
51
Using Code::Blocks / Code::Blocks don't finds my SDL2 libs
« Last post by moevenbaer on June 04, 2024, 08:44:29 pm »
Hello to the CB-World,
after some days searching and learning and searching and ... my brain is a little bit confused about that all.  ;)

System: Win 11 - get error linking SDL2-libs:
 ld.exe   can't find -llibSDL2
 ld.exe   can't find -llibSDL2main

I didn't find out what is wrong here in my steps:
  • C:\CODEBLOCKS\ is my folder for all stuff
  • C:\CODEBLOCKS\Codeblocks is installation folder of codeblocks with MinGW in there.
  • Copied content of zip file "codeblocks-20.03mingw-nosetup.zip" to this CodeBlocks installation folder
  • Copied folder SDL2 from SDL2-devel-2.30.3-mingw.zip folder SDL2 found under  SDL2-2.30.3\include to C:\CODEBLOCKS\Codeblocks\MinGW\include\
  • Copied content from lib folder found in SDL2-devel-2.30.3-mingw.zip under  SDL2-2.30.3\lib to C:\CODEBLOCKS\Codeblocks\MinGW\lib\
  • Created a console project for c++ in workspace folder C:\CODEBLOCKS\CB_WSp\
  • Build and went ok (Returncode zero)
  • Added compiler path C:\CODEBLOCKS\Codeblocks\MinGW\include\
  • Added linker path C:\CODEBLOCKS\Codeblocks\MinGW\lib\
  • Added the test code from the SDL2.0 project template with the #include <SDL2/SDL.h>
  • In allmost tutorials there is spoken about linker options -lSDL2 -lSDL2main to added to the lib, but there isn't any.
    So I decided using -llibSDL2 and -libSDL2main for the other linker options.
What I'm thinking wrong? What did I forgot or not know?
Greetings from Germany
Ekkehard
53
General (but related to Code::Blocks) / Re: Problem with SFML 2.0 libraries
« Last post by Qday on June 04, 2024, 03:58:34 pm »
Quote
How did you link this DLL? Directly or using *.a file?

I dont know the terminology but the dll is in the same folder as my .exe file
54
General (but related to Code::Blocks) / Re: Problem with SFML 2.0 libraries
« Last post by nenin on June 04, 2024, 02:57:24 pm »
Quote
You probably have to try this "GCC 13.1.0 MinGW (SEH) - 64-bit" from here  https://www.sfml-dev.org/download/sfml/2.6.1/  or check msys for  SFML2.
Versions you tried are totally outdated.

Thanks, it worked but now i have a diffrent problem :( maybe u can help me with this one to ?
How did you link this DLL? Directly or using *.a file?
55
General (but related to Code::Blocks) / Re: Problem with SFML 2.0 libraries
« Last post by Qday on June 04, 2024, 02:39:26 pm »
Quote
You probably have to try this "GCC 13.1.0 MinGW (SEH) - 64-bit" from here  https://www.sfml-dev.org/download/sfml/2.6.1/  or check msys for  SFML2.
Versions you tried are totally outdated.

Thanks, it worked but now i have a diffrent problem :( maybe u can help me with this one to ?
56
Nightly builds / Re: The 25 May 2024 build (13524) is out.
« Last post by Uriens The Gray on May 31, 2024, 09:13:32 am »
Works perfectly fine from the MSYS2 packages. Thanks!!  :)
57
Development / Re: new feature of wxSmith in r13522
« Last post by ollydbg on May 31, 2024, 04:12:39 am »
All the thanks should go to GitHubLionel, I was just the messenger.  :)

BTW: I think GitHubLionel is a wxWidgets export, because his wxMathPlot control (https://github.com/GitHubLionel/wxMathPlot)

has many new features than the old one(https://sourceforge.net/projects/wxmathplot/).
58
Using Code::Blocks / Re: Code::Blocks and wxWidgets 3.2.5...
« Last post by PB on May 30, 2024, 10:20:30 pm »
The updated wizard is in https://github.com/PBfordev/wxpbguide/tree/master/cb/wizard

The nightly builds of Code::Blocks ship with a wizard supporting wxWidgets 3.2.

My guide uses multilib build by default (as monolithic build is IMO not very useful) but should be used without issues with monolithic builds as well (the differences are noted where needed).
59
Using Code::Blocks / Re: Code::Blocks and wxWidgets 3.2.5...
« Last post by Sephiroth on May 30, 2024, 08:37:30 pm »
Thank you, I will start there.
60
Using Code::Blocks / Re: Code::Blocks and wxWidgets 3.2.5...
« Last post by stahta01 on May 30, 2024, 08:32:07 pm »
Link that should help; I have never read or used these steps.

https://github.com/PBfordev/wxpbguide

Tim S.
Pages: 1 2 3 4 5 [6] 7 8 9 10