Discussion:
[brlcad-devel] Raytracing throws error.
Mario Meissner
2017-06-21 14:51:13 UTC
Permalink
Hello!
I'm working my way through the introductory guide, and I haven't been able
to use raytracing. As I try to do as the guide tells me to, this error
shows up: http://imgur.com/a/RGCBV , but only after a few minutes of
waiting. I'm using Arch Linux (Antergos) x64. Am I missing a library? I had
to manually check for the dependencies, but I might have missed one.

Also I'd like to ask two secondary questions:
I tried building for Visual studio as mentioned on a previous post, but the
resulting build is different from the one I would obtain on linux, as you
can see here: https://imgur.com/QznornV and https://imgur.com/1YZWULO
I've not been able to find the archer and mged executables, for example.
Whats going on here?
Can I change the color of the console text? I'm using Plasma with a dark
theme and blue text is difficult to read. The color settings only seem to
affect the wireframes.

Mario.
Daniel Roßberg
2017-06-21 15:47:20 UTC
Permalink
Hi Mario,
Post by Mario Meissner
I'm working my way through the introductory guide, and I haven't been able
to use raytracing. As I try to do as the guide tells me to, this error shows
up: http://imgur.com/a/RGCBV , but only after a few minutes of waiting. I'm
using Arch Linux (Antergos) x64. Am I missing a library? I had to manually
check for the dependencies, but I might have missed one.
Looks like there is an issue with the frame buffer device. Maybe this
is helpful: https://wiki.archlinux.org/index.php/Uvesafb
Post by Mario Meissner
I tried building for Visual studio as mentioned on a previous post, but the
resulting build is different from the one I would obtain on linux, as you
can see here: https://imgur.com/QznornV and https://imgur.com/1YZWULO
I've not been able to find the archer and mged executables, for example.
Whats going on here?
They look very much the same. In case of Linux you have them in the
build/Release/bin directory. You should look at the same directory
under MS Windows too.

However, I recommend to install the program. This is "make install"
under Linux and building the INSTALL project under MS Visual Studio.
You can set up the directory where it should put the files with CMake.
Post by Mario Meissner
Can I change the color of the console text? I'm using Plasma with a dark
theme and blue text is difficult to read. The color settings only seem to
affect the wireframes.
In mged: File -> Preferences -> Color Schemes
Or not?


Regards,
Daniel
Mario Meissner
2017-06-21 17:27:10 UTC
Permalink
Hi Daniel.
Following the compilation instructions, the built filesystem on linux
doesn't yield any Release folder, just a bin folder. That folder contains
dozens of executables, including mged and archer. However if you look at
the screenshots I attached, you can see that on windows I do get a release
folder, however no executables can be found inside the bin of that folder.
Where are they?

About the color shemes, as I said they only seem to change colors inside
the main window but not the console. However this is not important and
probably conflicting with my window manager settings.

I installed Uvesafb and configured it as stated in the wiki entry to linked
me, but the same error is still happening. I also added myself to the video
user group to have access to /dev/fb0 but that doesn't seem to be the issue
either.

Mario.
Post by Daniel Roßberg
Hi Mario,
Post by Mario Meissner
I'm working my way through the introductory guide, and I haven't been
able
Post by Mario Meissner
to use raytracing. As I try to do as the guide tells me to, this error
shows
Post by Mario Meissner
up: http://imgur.com/a/RGCBV , but only after a few minutes of waiting.
I'm
Post by Mario Meissner
using Arch Linux (Antergos) x64. Am I missing a library? I had to
manually
Post by Mario Meissner
check for the dependencies, but I might have missed one.
Looks like there is an issue with the frame buffer device. Maybe this
is helpful: https://wiki.archlinux.org/index.php/Uvesafb
Post by Mario Meissner
I tried building for Visual studio as mentioned on a previous post, but
the
Post by Mario Meissner
resulting build is different from the one I would obtain on linux, as you
can see here: https://imgur.com/QznornV and https://imgur.com/1YZWULO
I've not been able to find the archer and mged executables, for example.
Whats going on here?
They look very much the same. In case of Linux you have them in the
build/Release/bin directory. You should look at the same directory
under MS Windows too.
However, I recommend to install the program. This is "make install"
under Linux and building the INSTALL project under MS Visual Studio.
You can set up the directory where it should put the files with CMake.
Post by Mario Meissner
Can I change the color of the console text? I'm using Plasma with a dark
theme and blue text is difficult to read. The color settings only seem to
affect the wireframes.
In mged: File -> Preferences -> Color Schemes
Or not?
Regards,
Daniel
------------------------------------------------------------
------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
BRL-CAD Developer mailing list
https://lists.sourceforge.net/lists/listinfo/brlcad-devel
Mario Meissner
2017-06-21 19:40:40 UTC
Permalink
I don't know if this helps but running rt separately works flawlessly.
Post by Mario Meissner
Hi Daniel.
Following the compilation instructions, the built filesystem on linux
doesn't yield any Release folder, just a bin folder. That folder contains
dozens of executables, including mged and archer. However if you look at
the screenshots I attached, you can see that on windows I do get a release
folder, however no executables can be found inside the bin of that folder.
Where are they?
About the color shemes, as I said they only seem to change colors inside
the main window but not the console. However this is not important and
probably conflicting with my window manager settings.
I installed Uvesafb and configured it as stated in the wiki entry to
linked me, but the same error is still happening. I also added myself to
the video user group to have access to /dev/fb0 but that doesn't seem to be
the issue either.
Mario.
Post by Daniel Roßberg
Hi Mario,
Post by Mario Meissner
I'm working my way through the introductory guide, and I haven't been
able
Post by Mario Meissner
to use raytracing. As I try to do as the guide tells me to, this error
shows
Post by Mario Meissner
up: http://imgur.com/a/RGCBV , but only after a few minutes of
waiting. I'm
Post by Mario Meissner
using Arch Linux (Antergos) x64. Am I missing a library? I had to
manually
Post by Mario Meissner
check for the dependencies, but I might have missed one.
Looks like there is an issue with the frame buffer device. Maybe this
is helpful: https://wiki.archlinux.org/index.php/Uvesafb
Post by Mario Meissner
I tried building for Visual studio as mentioned on a previous post, but
the
Post by Mario Meissner
resulting build is different from the one I would obtain on linux, as
you
Post by Mario Meissner
can see here: https://imgur.com/QznornV and https://imgur.com/1YZWULO
I've not been able to find the archer and mged executables, for example.
Whats going on here?
They look very much the same. In case of Linux you have them in the
build/Release/bin directory. You should look at the same directory
under MS Windows too.
However, I recommend to install the program. This is "make install"
under Linux and building the INSTALL project under MS Visual Studio.
You can set up the directory where it should put the files with CMake.
Post by Mario Meissner
Can I change the color of the console text? I'm using Plasma with a dark
theme and blue text is difficult to read. The color settings only seem
to
Post by Mario Meissner
affect the wireframes.
In mged: File -> Preferences -> Color Schemes
Or not?
Regards,
Daniel
------------------------------------------------------------
------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
BRL-CAD Developer mailing list
https://lists.sourceforge.net/lists/listinfo/brlcad-devel
Daniel Roßberg
2017-06-22 06:28:17 UTC
Permalink
Post by Mario Meissner
Following the compilation instructions, the built filesystem on linux
doesn't yield any Release folder, just a bin folder. That folder contains
dozens of executables, including mged and archer. However if you look at the
screenshots I attached, you can see that on windows I do get a release
folder, however no executables can be found inside the bin of that folder.
Where are they?
Which target (project) with which configuration (Release/Debug,
win32/x64) did you build?
However, I still recommend to do the installation.


Regards,
Daniel
Mario Meissner
2017-06-22 08:33:42 UTC
Permalink
Ah, after going into Visual Studio and building the install target, the
binaries showed up. Thank you!
Post by Mario Meissner
Post by Mario Meissner
Following the compilation instructions, the built filesystem on linux
doesn't yield any Release folder, just a bin folder. That folder contains
dozens of executables, including mged and archer. However if you look at
the
Post by Mario Meissner
screenshots I attached, you can see that on windows I do get a release
folder, however no executables can be found inside the bin of that
folder.
Post by Mario Meissner
Where are they?
Which target (project) with which configuration (Release/Debug,
win32/x64) did you build?
However, I still recommend to do the installation.
Regards,
Daniel
------------------------------------------------------------
------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
BRL-CAD Developer mailing list
https://lists.sourceforge.net/lists/listinfo/brlcad-devel
Loading...