Recent Posts

Pages: [1]
1
Help / Build Ogre 1.9
« Last post by Suryavarman on August 25, 2017, 09:50:08 AM »
[IN PROGRESS]

Unresolved trouble with Mingw:

Mingw - uuidof
Code: [Select]
WIN32/OgreMinGWSupport.h:48:29:
    error:
        'IID_totype' was not declared in this scope
#ifndef __uuidof(Object)
#   define __uuidof(Object) IID_##Object
#endif

Mingw 32bits building:

TDM : http://tdm-gcc.tdragon.net/
TDM 4.8: CMake cannot generate the project because libcloob-isl-3.dll is missing. ( I have try to reinstall the compiler doesn't work)
TDM 5.1 (The last version) : 'IID_totype' was not declared

Official: http://mingw.org/
Mingw 5.3 'IID_totype' was not declared
Mingw 6.3.0.1 CMake cannot generate the project because libmingwex-0.dll is missing.

Mingw w64 : http://mingw-w64.org:
version(gcc?):7.1.0 architecture: x86_x64 thread:win32: … mingw installation failed cannot download the components.

nuwen: https://nuwen.net/mingw.html (The most recent version of mingw.)
version(mingw?) 15.1 : gcc 7.2.0 architecture: x86_x64 :
cc1plus.exe: error: CPU you selected does not support x86-64 instruction set
https://stackoverflow.com/questions/12951385/cpu-you-selected-does-not-support-x86-64-instruction-set


Notes:

mingw_nuwen\x86_64-w64-mingw32\include\_mingw.h
 
Code: [Select]
/* Macros for __uuidof template-based emulation */
#if defined(__cplusplus) && (USE___UUIDOF == 0)

#define __CRT_UUID_DECL(type,l,w1,w2,b1,b2,b3,b4,b5,b6,b7,b8)           \
    extern "C++" {                                                      \
    template<> inline const GUID &__mingw_uuidof<type>() {              \
        static const IID __uuid_inst = {l,w1,w2, {b1,b2,b3,b4,b5,b6,b7,b8}}; \
        return __uuid_inst;                                             \
    }                                                                   \
    template<> inline const GUID &__mingw_uuidof<type*>() {             \
        return __mingw_uuidof<type>();                                  \
    }                                                                   \
    }

#define __uuidof(type) __mingw_uuidof<__typeof(type)>()

#else

#define __CRT_UUID_DECL(type,l,w1,w2,b1,b2,b3,b4,b5,b6,b7,b8)

#endif

I have the same problem with freeimage and wingw_nuwen:
Code: [Select]
x:\mingw_nuwen\x86_64-w64-mingw32\include\windows.h:9:0,
                 from [...]freeimage-cmake\freeimage\Source\DeprecationManager\DeprecationMgr.cpp:27:
x:\mingw_nuwen\x86_64-w64-mingw32\include\unknwnbase.h: In member function 'HRESULT IUnknown::QueryInterface(Q**)':
x:\mingw_nuwen\x86_64-w64-mingw32\include\unknwnbase.h:74:29: error: '__mingw_uuidof' was not declared in this scope
       return QueryInterface(__uuidof(Q), (void **)pp);



2
Help / Quick Start
« Last post by Suryavarman on August 17, 2017, 04:35:14 PM »
Perequistes:

  • Python 3
  • Windows

Install:


Now you have to decide where your gdeps project dependenceis will be install. I call this folder «Projects».

Inside your Projects folder you have to define the paths of your IDE, Makers etc.
To do that Gdeps use a config file : directories.cfg
Copy, past and edit this file : https://sourceforge.net/p/gdeps/mercurial/ci/default/tree/Projects/directories.cfg
You can leave the unused tools.

In the projects folder we have to define the alias. This a link between the gdeps objects and the directories.
Copy, past and edit this file : https://sourceforge.net/p/gdeps/mercurial/ci/default/tree/Projects/Config.cfg
You have to define your work-space. Don't define an alias if the associate application/libraries are not install or unused.

Now you can add some projects to build and use them in your code.
To do that you have to download or create a project. For the example i use the «freetype» project at this url : https://sourceforge.net/p/gdeps/mercurial/ci/default/tree/Projects/freetype/

In your Projects folder create a freetype folder and put inside the freetype contain, in this case, there are only one file the freetype.py script.

Execute this script.
  • A freetype subfolder has been create. Inside there are the sources and the binaries.
  • A freetype.zip archive has been create. It's an export of the freetype folder contain.
  • A report.json has been create. It's a JSON reporting of the errors and warnings.
3
General (but related to GDeps) / Spam
« Last post by Suryavarman on October 28, 2016, 03:35:09 PM »
Sorry for the spam post "attack" >:(. I try to slow down this thing.

Thanks for your comprehension.
4
Development / Reporting
« Last post by Suryavarman on August 29, 2016, 05:33:49 PM »
http://gdeps.org/reports/

First step to create a report viewer with the json generated by GDeps.  8)

When you launch a project you generate a json file : «report.json» this the log of the errors and warnings ( Ex : git logs, cmake logs, codeblocks logs )

The trello card:
https://trello.com/c/ta5iqj8S
5
Help / Documentation
« Last post by Suryavarman on August 28, 2016, 06:10:09 PM »
The API documentation is here :

 http://gdeps.org/doc/index.html

I have to write a FAQ to teach how to start with GDeps.
Pages: [1]