I've found a way to compile the glib project :
It is necessary to change the additional include directories setting and move the related jpeg folders at the end of the list : "..\..\jpeg" and "..\..\jpeg\simd". Many source files of the glib project includes the (wrong) "config.h" from the jpeg ...
Search found 3 matches
- 2014-12-19T02:42:34-07:00
- Forum: Developers
- Topic: Fail to compile CORE_glib project in VisualMagic solution
- Replies: 5
- Views: 6319
- 2014-12-18T10:24:42-07:00
- Forum: Developers
- Topic: Fail to compile CORE_glib project in VisualMagic solution
- Replies: 5
- Views: 6319
Re: Fail to compile CORE_glib project in VisualMagic solution
Hi,
The problem is that giomodule.c and gdbusprivate.c both include "config.h", but the compiler find the wrong one !
In the additional include directories of the CORE_glib project, "..\..\jpeg" directory comes before "..\..\glib\glib" directory. So the compiler inlcudes the "config.h" which is ...
The problem is that giomodule.c and gdbusprivate.c both include "config.h", but the compiler find the wrong one !
In the additional include directories of the CORE_glib project, "..\..\jpeg" directory comes before "..\..\glib\glib" directory. So the compiler inlcudes the "config.h" which is ...
- 2014-11-27T06:26:49-07:00
- Forum: Developers
- Topic: Fail to compile CORE_glib project in VisualMagic solution
- Replies: 5
- Views: 6319
Fail to compile CORE_glib project in VisualMagic solution
Hi all,
When I try to build the CORE_glib project, I've got 2 error messages :
#1 :
>..\..\glib\gio\giomodule.c(926) : error C2065: 'GET_MODULE_HANDLE_EX_FLAG_FROM_ADDRESS' : undeclared identifier
#2 :
>..\..\glib\gio\gdbusprivate.c(2059) : error C2065: 'HW_PROFILE_INFOA' : undeclared identifier ...
When I try to build the CORE_glib project, I've got 2 error messages :
#1 :
>..\..\glib\gio\giomodule.c(926) : error C2065: 'GET_MODULE_HANDLE_EX_FLAG_FROM_ADDRESS' : undeclared identifier
#2 :
>..\..\glib\gio\gdbusprivate.c(2059) : error C2065: 'HW_PROFILE_INFOA' : undeclared identifier ...