-
Notifications
You must be signed in to change notification settings - Fork 94
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I'm having issues with $make when building SCRIMMAGE #580
Comments
This is likely a 20.04 problem. I updated the build instructions for 20.04 today. Could you go through them and see if it changes anything for you? |
Thanks for the update, but I still have the issue after running your new stuff. My output for cmake .. shows: -- Python Versions Found: 3.9.12 -- Found Protobuf: /usr/lib/x86_64-linux-gnu/libprotobuf.so;-lpthread (found version "3.6.1") -- Found Protobuf: /usr/lib/x86_64-linux-gnu/libprotobuf.so;-lpthread (found suitable version "3.6.1", minimum required is "3.6.1") Environment variable JSBSIM_ROOT is set to: /opt/scrimmage/x86_64-linux-gnu/etc/JSBSim For compatibility, CMake is ignoring the variable. -- Found JSBSIM
-- The imported target "vtkParseOGLExt" references the file
-- The imported target "vtkEncodeString" references the file
-- Found VTK Version: 6.3.0 runtime library [libpng16.so.16] in /usr/lib/x86_64-linux-gnu may be hidden by files in: Some of these libraries may not be found correctly. CMake Warning at /opt/scrimmage/x86_64-linux-gnu/share/cmake/pybind11/pybind11Tools.cmake:131 (add_library): runtime library [libpng16.so.16] in /usr/lib/x86_64-linux-gnu may be hidden by files in: Some of these libraries may not be found correctly. -- Generating done This error still comes from make: [ 4%] Built target scrimmage-proto-gen I'm really not certain where to begin with this error. Everything with protobuf appears to be fine, apart for that the library and compiler version don't match. Is that going to matter here? Many thanks for your help. |
I'm still struggling with this issue. I've re-installed from scratch and come across the exact same error. I'm gravitating to this issue in the terminal output - -- Found PythonInterp: /home/Emelles/anaconda3/bin/python (found version "3.9.12") The fact that the library and compiler versions of Protobuf don't match appears to be the only issue that's been flagged that could lead to the subsequent error message after calling $make [ 4%] Building CXX object src/proto/CMakeFiles/scrimmage-protos.dir/scrimmage/proto/Color.pb.cc.o It seems to me that this Protobuf error must be upstream of this version clash thing, as what would cause the two to not match to begin with? |
Ok an update. I fixed that particular problem by changing the
Searching for libuuid So now the issue is with a non-human readable .so file. And it's only an undefined reference? I still can't help but feel that this issue and the previous issue were both due to something earlier in the process not working correctly, without notifying me. Something not being put in place is causing problems here. Although I might be going crazy. I'd appreciate any input. |
Answer the following questions:
I am trying to build SCRIMMAGE on machine. Ubuntu 20.04.06 LTS 64-bit
I am following the directions in the README.md.
Everything seems to be running smoothly until the section
I encounter an error with $ make. I've copied it here:
[ 4%] Built target scrimmage-proto-gen
[ 4%] Building CXX object src/proto/CMakeFiles/scrimmage-protos.dir/scrimmage/proto/Color.pb.cc.o
In file included from /home/Emelles/scrimmage/build/src/proto/scrimmage/proto/Color.pb.cc:4:
/home/Emelles/scrimmage/build/src/proto/scrimmage/proto/Color.pb.h:10:10: fatal error: google/protobuf/port_def.inc: No such file or directory
10 | #include <google/protobuf/port_def.inc>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [src/proto/CMakeFiles/scrimmage-protos.dir/build.make:231: src/proto/CMakeFiles/scrimmage-protos.dir/scrimmage/proto/Color.pb.cc.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:3063: src/proto/CMakeFiles/scrimmage-protos.dir/all] Error 2
make: *** [Makefile:152: all] Error 2
I don't know what to make of this error message.
Checking the protobuf installation
$ sudo apt install protobuf-compiler
Reading package lists... Done
Building dependency tree
Reading state information... Done
protobuf-compiler is already the newest version (3.6.1.3-2ubuntu5.2).
The following packages were automatically installed and are no longer required:
gir1.2-goa-1.0 libfwupdplugin1 libllvm11 libxmlb1 scrimmage-pybind11
Use 'sudo apt autoremove' to remove them.
0 to upgrade, 0 to newly install, 0 to remove and 26 not to upgrade.
Reviewing the previous step,
$ source /opt/scrimmage/*/setup.sh
. It successfully creates a .scrimmage directory in my HOME. If something went wrong in the earlier steps, they're not screaming errors at me.I'd appreciate any insight into this issue.
git rev-parse HEAD
My output for this command is 'bde1ed5422a8c0380986587cdb87bd11c7a321c4'
None, still not installed.
The text was updated successfully, but these errors were encountered: