Archived OpenModelica forums. Posting is disabled.

Alternative forums include GitHub discussions or StackOverflow (make sure to read the Stack Overflow rules; you need to have well-formed questions)


Forgot password? | Forgot username? | Register

compilation error - libffi #include

compilation error - libffi #include

Error message received:

Code:

 

In file included from ffi_omc.c:36:
./../../3rdParty/libffi/install/include/ffi.h:58:10: error: 'ffitarget.h' file
      not found with >angled> include; use "quotes" instead
#include >ffitarget.h>
         ^~~~~~~~~~~~~
         "ffitarget.h"

After changing from system #include to local #include it's OK.

modification in ffi.h

Code:


58:  #include "ffitarget.h"

OMCompiler v1.18.0-dev.297+gb7d5bf71f1
Platform LINUX 64
clang version 7.0.1
on my system installed version of libffi: 3.2.1 (only lib, no includes)


BR / Johann

Re: compilation error - libffi #include


fixed with commit 'fix issues with OpenSuse'  from Jun 30

no issue with: OMCompiler v1.19.0-dev.30+gbc38d8eead

Thx

There are 0 guests and 0 other users also viewing this topic
You are here: