- Index
- » Users
- » phfr83
- » Profile
Posts
Posts
HI,
I find an issue in https://github.com/OpenModelica/OpenMod … nfigure.ac file.
On my computer, OpenSceneGraph is installed in a non standard path.
So, my script to build is :
export CPPFLAGS="-I/path/to/OSG/include"
export LDFLAGS="-L/path/to/OSG//lib64"
CONFIGURE_OPTIONS="--prefix=/path/to/my/prefix"
CONFIGURE_OPTIONS="${CONFIGURE_OPTIONS} CC=/path/to/my C compiler"
CONFIGURE_OPTIONS="${CONFIGURE_OPTIONS} CXX=/path/to/my C++ compiler"
./configure ${CONFIGURE_OPTIONS}
I see in the config.log file that "ac_cv_env_CPPFLAGS_value" and "ac_cv_env_LDFLAGS_value" variables are well initialized but these variables are not used to generate makefile.
I continue to investigate.
My distro is centos 8.
I build OpenModelica from git repo. I clone recursively OpenModelica and all its dependencies from github. My build works well.
But when I analyze the makefile for the component "OMEditLIB", the makefile contains the flag "-DWITHOUT_OSG". I would like to know what is the configure option to change this flag .
Many thanks
Extract of the makefile
------------------------------
MAKEFILE = Makefile
EQ = =
####### Compiler, tools and options
CC = /devops/AGL/Linux/x86_64/CSCI_COMPILER-master/release/bin/clang
CXX = /devops/AGL/Linux/x86_64/CSCI_COMPILER-master/release/bin/clang++
DEFINES = -DQT_WEBKITWIDGETS_LIB -DQT_WEBKIT_LIB -DQT_SVG_LIB -DQT_OPENGL_LIB -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XMLPATTERNS_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_CONCURRENT_LIB -DQT_CORE_LIB
CFLAGS = -g -O2 -DWITHOUT_OSG -g -fPIC -Wall -Wextra -D_REENTRANT $(DEFINES)
CXXFLAGS = -DWITHOUT_OSG -isystem . -isystem ../ -isystem /devops/SOFT/CLUSTER/CLUSTER_OPENMODELICA/master/build/clang/Qt_5.15.1/Linux/x86_64/
Hi,
What is the configure option to build OpenModelica with OpenSceneGraph dependency to have 3D support ?
I work on Linux.
Many thanks
- Index
- » Users
- » phfr83
- » Profile