bob prohaska writes:
>> Tests pass except for two in the regress suite and they fail due to
>> timeout. However, mged just crashes when I try to start it.
>
> Using
>
> cmake .. -DBRLCAD_ENABLE_STRICT=OFF -DBRLCAD_ENABLE_COMPILER_WARNINGS=OFF
-DCMAK
> E_BUILD_TYPE=Release
Looks like I managed to build something that at least starts up. Not
everything seems to work, I tried a simple tutorial but when it came
time to ray trace some simple objects I got error messages only. My
cmake options were:
cmake -DBRLCAD_ENABLE_STRICT=NO -DBRLCAD_ENABLE_COMPILER_WARNINGS=NO
-DBRLCAD_BUNDLED_LIBS=AUTO -DCMAKE_BUILD_TYPE=Release
To make it detect X11 and OpenGL I had to add
/usr/lib/arm-linux-gnueabihf in two files, FindX11.cmake and
FindGL.cmake. Here's the diffs:
$ diff -u FindX11.cmake.org FindX11.cmake
--- FindX11.cmake.org 2020-09-30 17:12:37.550501468 +0300
+++ FindX11.cmake 2020-09-30 21:43:24.734950303 +0300
@@ -169,7 +169,7 @@
set(64BIT_DIRS ${64BIT_DIRS} /usr/lib/X11 /usr/lib)
endif(EXISTS "/usr/lib32" OR NOT EXISTS "/usr/lib64")
else(SEARCH_64BIT)
- set(32BIT_DIRS "/usr/lib32/X11;/usr/lib32;/usr/lib/i386-linux-gnu")
+ set(32BIT_DIRS
"/usr/lib32/X11;/usr/lib32;/usr/lib/i386-linux-gnu;/usr/lib/arm-linux-gnueabihf
")
if(EXISTS "/usr/lib64" OR NOT EXISTS "/usr/lib32")
set(32BIT_DIRS ${32BIT_DIRS} /usr/lib/X11 /usr/lib)
endif(EXISTS "/usr/lib64" OR NOT EXISTS "/usr/lib32")
$ diff -u FindGL.cmake.org FindGL.cmake
--- FindGL.cmake.org 2020-09-30 17:18:55.059802235 +0300
+++ FindGL.cmake 2020-09-30 21:42:35.315081010 +0300
@@ -172,7 +172,7 @@
if(SEARCH_64BIT)
set(64BIT_DIRS "/usr/lib64/X11;/usr/lib64;/usr/lib/x86_64-linux-gnu")
else(SEARCH_64BIT)
- set(32BIT_DIRS "/usr/lib/X11;/usr/lib;/usr/lib/i386-linux-gnu")
+ set(32BIT_DIRS
"/usr/lib/X11;/usr/lib;/usr/lib/i386-linux-gnu;/usr/lib/arm-linux-gnueabihf")
endif(SEARCH_64BIT)
set(OPENGL_LIB_SEARCH_PATH
--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)
|