Thanks for the reply FluffyFreak. Don't get me wrong - I'm not criticising the compilation process for Pioneer (and I have gotten it to work in the past. Maybe my machine simply needs a rebuild). I just remember "back in the day" when compiling a HelloWorld.cpp was a single line command :-p
Onto the task at hand. I have tried compiling using the assimp package from the ubuntu repository as well as compiling pioneer-thirdparty explicitly.
This is the state of my system right now.
When I attempt to compile using:
... I get...
Code: Select all
-- Version: 6.2.1
-- Build type: RelWithDebInfo
-- CXX_STANDARD: 11
-- Required features: cxx_variadic_templates
-- Configuring done
CMake Error at CMakeLists.txt:282 (add_executable):
Target "modelcompiler" links to target "Threads::Threads" but the target
was not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
CMake Error at CMakeLists.txt:282 (add_executable):
Target "modelcompiler" links to target "Threads::Threads" but the target
was not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
CMake Error at CMakeLists.txt:281 (add_executable):
Target "pioneer" links to target "Threads::Threads" but the target was not
found. Perhaps a find_package() call is missing for an IMPORTED target, or
an ALIAS target is missing?
-- Generating done
-- Build files have been written to: /home/xxxxxx/Documents/Games/Pioneer/pioneer/build
When I attempt to compile using:
... It appears that the thirdparty files are getting compiled, then after about a minute I get ...
Code: Select all
<<<snip>>>
----------------------------------------------------------------------
Libraries have been installed in:
/home/xxxxxx/Documents/Games/Pioneer/pioneer-thirdparty/usr/lib
If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the `LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the `LD_RUN_PATH' environment variable
during linking
- use the `-Wl,-rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to `/etc/ld.so.conf'
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
/bin/mkdir -p '/home/xxxxxx/Documents/Games/Pioneer/pioneer-thirdparty/usr/include/SDL2'
/usr/bin/install -c -m 644 SDL_image.h '/home/xxxxxx/Documents/Games/Pioneer/pioneer-thirdparty/usr/include/SDL2'
/bin/mkdir -p '/home/xxxxxx/Documents/Games/Pioneer/pioneer-thirdparty/usr/lib/pkgconfig'
/usr/bin/install -c -m 644 SDL2_image.pc '/home/xxxxxx/Documents/Games/Pioneer/pioneer-thirdparty/usr/lib/pkgconfig'
make[2]: Leaving directory '/home/xxxxxx/Documents/Games/Pioneer/pioneer-thirdparty/source/sdl2_image'
make[1]: Leaving directory '/home/xxxxxx/Documents/Games/Pioneer/pioneer-thirdparty/source/sdl2_image'
CMake Error at CMakeLists.txt:134 (list):
list sub-command REMOVE_ITEM requires list to be present.
CMake Error: File /home/xxxxxx/Documents/Games/Pioneer/buildopts.h.cmakein does not exist.
CMake Error at CMakeLists.txt:158 (configure_file):
configure_file Problem configuring file
CMake Error at CMakeLists.txt:221 (add_subdirectory):
add_subdirectory given source "contrib/lz4" which is not an existing
directory.
CMake Error at CMakeLists.txt:222 (add_subdirectory):
add_subdirectory given source "contrib/fmt" which is not an existing
directory.
CMake Error at CMakeLists.txt:242 (add_subdirectory):
add_subdirectory given source "contrib/glew" which is not an existing
directory.
CMake Error at CMakeLists.txt:243 (add_library):
add_library cannot create ALIAS target "GLEW::GLEW" because target "glew"
does not already exist.
CMake Error at CMakeLists.txt:250 (add_subdirectory):
add_subdirectory given source "contrib/imgui" which is not an existing
directory.
CMake Error at CMakeLists.txt:251 (add_subdirectory):
add_subdirectory given source "contrib/jenkins" which is not an existing
directory.
CMake Error at CMakeLists.txt:252 (add_subdirectory):
add_subdirectory given source "contrib/PicoDDS" which is not an existing
directory.
CMake Error at CMakeLists.txt:253 (add_subdirectory):
add_subdirectory given source "contrib/profiler" which is not an existing
directory.
CMake Error at CMakeLists.txt:255 (add_subdirectory):
add_subdirectory given source "contrib/lua" which is not an existing
directory.
CMake Error at CMakeLists.txt:260 (add_subdirectory):
add_subdirectory given source "src/core" which is not an existing
directory.
CMake Error at CMakeLists.txt:265 (add_subdirectory):
add_subdirectory given source "src/lua" which is not an existing directory.
CMake Error: File /home/xxxxxx/Documents/Games/Pioneer/metadata/net.pioneerspacesim.Pioneer.desktop.cmakein does not exist.
CMake Error at CMakeLists.txt:395 (configure_file):
configure_file Problem configuring file
-- Configuring incomplete, errors occurred!
See also "/home/xxxxxx/Documents/Games/Pioneer/build/CMakeFiles/CMakeOutput.log".
The location of the pioneer-thirdparty files is interesting.
I've cloned the pioneer code to "/home/xxxxxx/Documents/Games/Pioneer/pioneer". It is from this directory that I'm running bootstrap. Curious that the thridparty files are being put in a sibling folder (i.e. /home/xxxxxx/Documents/Games/Pioneer/pioneer-thirdparty). For some reason I was expecting them to be in "/home/xxxxxx/Documents/Games/Pioneer/pioneer/pioneer-thirdparty"
So once again, FOR SCIENCE!!!, I tried running 'make' against /home/xxxxxx/Documents/Games/Pioneer/pioneer-thirdparty, then running ./bootstrap thirdparty in the pioneer folder.
I get the same errors as when I previously ran ./bootstrap thirdparty
Does this shed any further light on the situation?