-
Notifications
You must be signed in to change notification settings - Fork 93
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
Floating point exception on Centos 8 compile #39
Comments
Program received signal SIGFPE, Arithmetic exception. |
Shouldn't be any floating point for the exception, so I'm guessing divide by zero? Replace the above line with 'psi->xdpcm = 800;' (for 800 x 600) and lets see what happens. |
It sounds like something is amiss with X11... there were some changes made, which I thought I fixed, that got the X11 headers in src/nx11/X11-local/X11 mixed up with the host X11 headers, which are usually in /usr/X11/include. I'm guessing that your host X11 is updated and not compatible with the older X11R6 headers used for the NX11 library. Check your 'config' file, you should be using one close to Configs/config.linux-X11, and make sure that the X11HDRLOCATION= line is properly filled out. |
The X11HDR and lib location are correct as far as I can see :) If I force the xdpcm and ydpcm to 800 and 600, it works fine. |
I've compiled microwindows for Centos 8, with all standard libraries.
I've selected NANO-X to be compiled as well as the other libraries.
I set LINK_APP_INTO_SERVER = Y
Compiles fine, but on running any demo I see the window open briefly and then the message
Floating point exception (core dumped).
If I set LINK_APP_INTO_SERVER = N
the compile completes, but I get
nxclient: bad readblock -1, errno 104
nxclient 15577: Corrupted packet
when I use runapp, eg
./runapp demo-nuklear-demo
The text was updated successfully, but these errors were encountered: