Recent Posts

Pages: 1 2 [3] 4 5 6 7 8 ... 10
21
Help / How to use CB with GTK3 on Windows 10
« Last post by arkkimede on April 22, 2018, 02:17:20 am »
Probably this is a question yet done a lot of times.
I followed the instructions reported in the www.gtk.org but installing MSYS2 and following the instruction I obtain a lot of errors.
What I ask is to redirect toward a page where is reported how to install GTK3 on Windows 10 and use it with Code Blocks.

Thank you for your patience.
22
Development / Bug Report
« Last post by Landslyde on April 22, 2018, 12:55:11 am »
Hope this helps.
23
Thanks sodev for the info :)

I'm so glad. I love codeblocks.
24
Using Code::Blocks / Re: Using system environment variables in .cbp project file
« Last post by oBFusCATed on April 21, 2018, 10:16:25 am »
The makefiles control the build process, so if you can do it with a makefile it will work, but you won't see the files in the project tree.
25
Using Code::Blocks / Re: Using system environment variables in .cbp project file
« Last post by akk0rd87 on April 21, 2018, 10:07:46 am »
oBFusCATed, Thank you for reply. Is it allowed through cutsom makefile?
26
Using Code::Blocks / Re: Using system environment variables in .cbp project file
« Last post by oBFusCATed on April 21, 2018, 09:17:37 am »
Code: [Select]
<Unit filename="${AKKORD_SDK_HOME}/framework/basewrapper.cpp" />I don't think this is supported.
The variables in the other places are supported, but I don't think they are supported here.
27
Using Code::Blocks / Re: Using system environment variables in .cbp project file
« Last post by akk0rd87 on April 21, 2018, 08:58:18 am »
This works for MSVS, but now I want implement it to CodeBlocks.
28
Using Code::Blocks / Using system environment variables in .cbp project file
« Last post by akk0rd87 on April 21, 2018, 08:43:09 am »
Code::BLocks 17.12.
I have a system env variable on my windows 10:
Code: [Select]
C:\Users\MyUser>set AKKORD_SDK_HOME
AKKORD_SDK_HOME=C:\CommonVersioning\akk0rdsdk

I have a project file Example1.cbp contains some search directories and path to source code files.
Code: [Select]
...
<Compiler>
<Add option="-Wall" />
<Add directory="../../../framework" />
<Add directory="../../../libraries/SDL/i686-w64-mingw32/include/SDL2" />
<Add directory="../../../libraries/SDL_image/i686-w64-mingw32/include/SDL2" />
</Compiler>
<Linker>
<Add option="-lmingw32 -lSDL2main -lSDL2 -lSDL2_image" />
<Add directory="../../../libraries/SDL/i686-w64-mingw32/lib" />
<Add directory="../../../libraries/SDL_image/i686-w64-mingw32/lib" />
</Linker>
<Unit filename="../../../framework/admob.cpp" />
<Unit filename="../../../framework/basewrapper.cpp" />
<Unit filename="../src/main.cpp" />
...

It is any way to use my env variable to specify path like this? This example does not work for me.
Code: [Select]
...
<Compiler>
<Add option="-Wall" />
<Add directory="${AKKORD_SDK_HOME}/framework" />
<Add directory="${AKKORD_SDK_HOME}/libraries/SDL/i686-w64-mingw32/include/SDL2" />
<Add directory="${AKKORD_SDK_HOME}/libraries/SDL_image/i686-w64-mingw32/include/SDL2" />
</Compiler>
<Linker>
<Add option="-lmingw32 -lSDL2main -lSDL2 -lSDL2_image" />
<Add directory="${AKKORD_SDK_HOME}/libraries/SDL/i686-w64-mingw32/lib" />
<Add directory="${AKKORD_SDK_HOME}/libraries/SDL_image/i686-w64-mingw32/lib" />
</Linker>
<Unit filename="${AKKORD_SDK_HOME}/framework/admob.cpp" />
<Unit filename="${AKKORD_SDK_HOME}/framework/basewrapper.cpp" />
<Unit filename="../src/main.cpp" />
...
I have a search, for example http://forums.codeblocks.org/index.php?topic=5411.0, but I didn't find solution there.
29
Development / Re: Ticket #108 App crashes when pressing F9 / compile+run
« Last post by BlueHazzard on April 21, 2018, 12:54:12 am »
i have the bad feeling, that this whole depslib is not unicode aware?
can someone explain to me what this depslib does?
Is it only timestamp reading ecc? Can't we do this in c++?
ok i got it. It searches for dependencies... What is the origin of this library?

i have googled for depslib but could not find anything...

[EDIT2:]
i just found out, that gcc also can not handle this kind of character:
Code: [Select]
G:\test>gcc -M tmp\ă\main.cpp
gcc: error: tmp\a\main.cpp: No such file or directory
gcc: fatal error: no input files
compilation terminated.

30
Help / Re: MAN pages for C++ classes?
« Last post by pca_ on April 20, 2018, 11:20:56 pm »
Ok, thanks
Pages: 1 2 [3] 4 5 6 7 8 ... 10