Author Topic: Code Libraries  (Read 7472 times)

Offline awsdert

  • Multiple posting newcomer
  • *
  • Posts: 28
Code Libraries
« on: February 24, 2011, 01:18:52 am »
I think that the installer should have a section for code libraries to include upon installation such as:
+ Code Libraries
---+ Language
-------- C
-------- C#
-------- C++
-------- D
-------- etc
---+ Library
-------- SDL
-------- OpenGL
-------- OpenAL
-------- etc
This would make it much easier for a developer to just get started rather than mess around looking for libraries and setting Code::Blocks up for them. Well I suppose it would be better to make 2 installers, 1 Lite and 1 Full (this one having the optional libraries included in the download). I know this might be a lot of work but it would make things far easier for developers if they didn't have to worry about getting libraries for their projects. I mean fair enough having to setup the compiler as having those as well would make the download too large. What does everyone else think?

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7582
    • My Best Post
Re: Code Libraries
« Reply #1 on: February 24, 2011, 04:05:23 am »
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline awsdert

  • Multiple posting newcomer
  • *
  • Posts: 28
Re: Code Libraries
« Reply #2 on: February 24, 2011, 04:29:14 am »
Didn't say it was, I was saying fair enough not putting compilers into the download because that would make it too big.

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: Code Libraries
« Reply #3 on: February 24, 2011, 06:34:17 am »
---+ Library
-------- SDL
-------- OpenGL
-------- OpenAL
-------- etc
[...]
What does everyone else think?
Well - Code::Blocks is used with literally each and every SDK you can think of, including MS Windows/Platform SDK (different versions, ~500MB each), Direct/X SDK (different versions, around 300MB each), several Open Source libraries (each around at least 10-15MB), including QT (different versions, around 200 MB each) and so on.

Not to forget that some SDK's would depend on the compiler you are using and thus require different libraries... than the platform comes into play (32bit / 64 bit) and so on and so on...

There is no minimal set that would make developers more happy. So your request is impossible to do. Sorry.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline ptDev

  • Almost regular
  • **
  • Posts: 222
Re: Code Libraries
« Reply #4 on: February 24, 2011, 09:47:07 am »
I've been planning to also make an unofficial installer including a bundled MinGW-TDM (C++ only, though), but no libraries. There are simply too many peculiarities/setups to handle.

Offline awsdert

  • Multiple posting newcomer
  • *
  • Posts: 28
Re: Code Libraries
« Reply #5 on: February 24, 2011, 11:11:16 am »
Fair enough, however I was talking about compiler independent Libraries for 32bit platforms, at least then the developer could simply replace the 32bit versions with 64bit versions should he need to. Furthermore 1s that are specific to OS would not be included on the list.

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: Code Libraries
« Reply #6 on: February 24, 2011, 12:54:01 pm »
No way this could happen.
You have to learn to build the libs you need or switch to linux.
There you'll have a package manager and 99% of the libs will be installed/managed automatically.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline awsdert

  • Multiple posting newcomer
  • *
  • Posts: 28
Re: Code Libraries
« Reply #7 on: February 24, 2011, 02:09:51 pm »
I already can, it's just a pain to do manually. Maybe I'll start a Project on Google Code later for platform specific installers.

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: Code Libraries
« Reply #8 on: February 24, 2011, 05:49:14 pm »
Remember that there is general support for the most common libs through DevPaks on Windows.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7582
    • My Best Post
Re: Code Libraries
« Reply #9 on: February 24, 2011, 07:04:20 pm »
Remember that there is general support for the most common libs through DevPaks on Windows.

@awsdert: If you Compiler is supported by DevPaks, I suggest trying to use DevPaks and work on ways to improve it under Code::Blocks.
If not, I suggest working on ways to add Libraries to the Compiler you wish to support.

Note: Most/All C++ Binary Libraries are Compiler dependent. Some C++ Binary Libraries only work with a limited version of one Compiler.
If you truly wish to support multiple Compilers, you are likely going to be able to only use C Binary Libraries and Libraries that are header files only.
(or Source code only support of Libraries.)

Tim S.
« Last Edit: February 24, 2011, 07:24:42 pm by stahta01 »
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org