Code::Blocks Forums
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
As usual while waiting for the next release - don't forget to check the
nightly builds
in the forum.
Home
Help
Search
Login
Register
Code::Blocks Forums
»
User forums
»
Using Code::Blocks
»
Autocomplete with SDL
« previous
next »
Send this topic
Print
Pages: [
1
]
Go Down
Author
Topic: Autocomplete with SDL (Read 3378 times)
maja_ldm
Single posting newcomer
Posts: 2
Autocomplete with SDL
«
on:
July 09, 2016, 07:06:07 pm »
I'm trying some SDL tutorials and I realized functions and constant variables aren't auto-completing.
I'm using Code::Blocks 16.01, GCC 4.9, SDL2.0.4 in a project. I tried
libquadmath
and it auto-completes fine.
The project is compiling fine with SDL contents, but if I try to open the SDL include file I get a not found error.
Search Directories/Compiler : ..\SDL2-2.0.4\i686-w64-mingw32\include\SDL2
Search Directories/Linker : ..\SDL2-2.0.4\i686-w64-mingw32\lib
Linker Settings/Other Linker Options: -lmingw32 -lSDL2main -lSDL2
Include in source code: #include <SDL.h>
(duplicate of:
http://forums.codeblocks.org/index.php?topic=15712.0
, which didn't contain useful information)
«
Last Edit: July 09, 2016, 07:10:18 pm by maja_ldm
»
Logged
maja_ldm
Single posting newcomer
Posts: 2
Re: Autocomplete with SDL
«
Reply #1 on:
July 10, 2016, 05:59:02 pm »
It seems like I had
removed the -lmingw32 library from the linker
. After some maintenance the auto-complete is working.
I'm so sorry to introduce myself like this, I'll leave this thread here as a remainder of the obvious.
«
Last Edit: July 10, 2016, 06:35:29 pm by maja_ldm
»
Logged
Send this topic
Print
Pages: [
1
]
Go Up
« previous
next »
Code::Blocks Forums
»
User forums
»
Using Code::Blocks
»
Autocomplete with SDL