rochus-keller / Oberon

Oberon parser, code model & browser, compiler and IDE with debugger, and an implementation of the Oberon+ programming language
GNU General Public License v2.0
463 stars 30 forks source link

Build failure FreeBSD on PowerPC64 #4

Closed lenoil98 closed 3 years ago

lenoil98 commented 3 years ago

I encounter the error below when compiling ObnlcMain.cpp:


#    define Q_DECL_DEPRECATED_X(text) __attribute__ ((__deprecated__(text)))
                                                      ^
ObnlcMain.cpp:468:17: error: no type named 'FileGroups' in 'Obx::Model'
    Obx::Model::FileGroups fgs;
    ~~~~~~~~~~~~^
ObnlcMain.cpp:469:24: error: no member named 'FileGroup' in 'Obx::Model'
    fgs << Obx::Model::FileGroup();
           ~~~~~~~~~~~~^
53 warnings and 4 errors generated.
rochus-keller commented 3 years ago

Thanks, I will have a look at it.

Please use OBXLJ.pro instead of the predecessor OBNLC.pro. Is there a special feature of OBNLC which you need?

rochus-keller commented 3 years ago

There is a new commit which fixes the compile errors in OBNLC, basically by removing all OBX parts which I included some month ago before there was OBXLJ.

But as mentioned, I recommend to focus on ObxIDE and OBXLJ, which both support the Oberon+ and older Oberon versions with a LuaJIT backend. Also note that there is new OBXMC which generates DotNet IL assembler compatible with Mono, .NET and CoreCLR on all supported platforms (where Mono 3 is about factor 2.5 speed-up compared to LuaJIT).

lenoil98 commented 3 years ago

Thanks, I will have a look at it.

Please use OBXLJ.pro instead of the predecessor OBNLC.pro. Is there a special feature of OBNLC which you need?

I initially thought I needed OBNLC, but I see it is OBE. However, I'll use the newer OBXLJ.

But as mentioned, I recommend to focus on ObxIDE and OBXLJ, which both support the Oberon+ and older Oberon versions with a LuaJIT backend. Also note that there is new OBXMC which generates DotNet IL assembler compatible with Mono, .NET and CoreCLR on all supported platforms (where Mono 3 is about factor 2.5 speed-up compared to LuaJIT).

Thanks for all your great work!