libcs50 icon indicating copy to clipboard operation
libcs50 copied to clipboard

Code Blocks

Open Dcolonel6 opened this issue 2 years ago • 2 comments

How do you add cs50 to codeblocks?

Dcolonel6 avatar Jan 31 '24 16:01 Dcolonel6

Hey @Dcolonel6 you just have to add the cs50 flag to the linker settings. Go to Settings -> Compiler click on Linker Settings and add "cs50".

Landixbtw avatar Apr 02 '24 19:04 Landixbtw

Hello there; even doing this on a W11, i get that error: ld.exe||cannot find -lcs50| I've put the .c and .h files that comes in /src folder where the codeblocks get they libs, but it only works when i make a #includes <cs50.c>, if i try to use the .h file it throws a bunch of errors...

Kazbonfim avatar Jun 30 '24 18:06 Kazbonfim