First time here? Checkout the FAQ!
x
0 votes
ago by (200 points)

Hello,

When using meshtool, I encountered the following problem. 

I wanted to use the interpolate shelldata utility. To use it, it was necessary to make meshtool using addons, so I modified my_switches.def file in the following way:

#MT_DEBUG = 1         # Compile in debug mode

#MT_STATIC = 1        # Try to link statically

MT_OPENMP = 1        # Use OpenMP

#MT_SANITIZE = 1      # Activate memory sanitizer in compile flags

#MT_ADDONS = 1        # Include addons

MT_SILENT = 1        # Dont show build command

MT_CC_ENV = gnu      # choose between intel, gnu, clang

#TUNE_NATIVE = 1         # tune for the native platform (not for deployment)

PAR_MAKE = 16         # choose the number of processes to use for parallel make

#MT_SILENT_PRG = 1    # use silent progress instead of a bar

#MT_GZIP = 1          # whether gzip is available

#WINDOWS_BUILD = 1    # tell build system we are on windows

Unfortunately, during the make process, I received the following error: 

make -j16 -s meshtool_deps

make -s meshtool

* building addons ..

/bin/sh: 1: cd: can't cd to meshtool_addons

make[1]: *** [Makefile:165: meshtool] Error 2

make: *** [Makefile:96: parbuild] Error 2

or, in other way: 

fatal error: addons_utils.h: No such file or directory

I used the master branch from meshtool git. 

Has anyone encountered this problem before or knows what might be causing this error?

Thank you in advance for help!

1 Answer

0 votes
ago by (8.6k points)
Hi!

The "meshtool_addons" is an additional codebase that allows us to distinguish between code we want to share with the public, and code that we do not want to publish.

As you dont have access to the meshtool_addons, you cannot build meshtool with this flag turned on.

Best wishes, Aurel
ago by (200 points)

Unfortunately, when using MT_ADDONS = 1, the same error is obtained (there is a typo in the question, #MT_ADDONS = 1 has been commented out).

Could you suggest why the building might go wrong?

Best wishes, Anastasia

ago by (8.6k points)
As I said above, you cannot use

MT_ADDONS = 1

Keep the line as

#MT_ADDONS = 1

Therefore, keep MT_ADDONS off, because you do not have the necessary source file to compile with addons turned on.
Welcome to openCARP Q&A. Ask questions and receive answers from other members of the community. For best support, please use appropriate TAGS!
architecture, carputils, documentation, experiments, installation-containers-packages, limpet, slimfem, website, governance
...