Skip to content
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

matlab2015b atmexall and text.m problem #31

Closed
simoneliuzzo opened this issue Jan 19, 2018 · 1 comment
Closed

matlab2015b atmexall and text.m problem #31

simoneliuzzo opened this issue Jan 19, 2018 · 1 comment

Comments

@simoneliuzzo
Copy link
Contributor

Trying to install AT for M.B. (LAL and INFN-Frascati) on matlab2015b we got this error

>> atmexall
mex -DGLNXA64 -largeArrayDims  -silent -outdir /users/dsksi/biagini/matlab/at/atmat/attrack -I'/users/dsksi/biagini/matlab/at/atmat/../atintegrators' /users/dsksi/biagini/matlab/at/atmat/attrack/atpass.c -ldl
mex -DGLNXA64 -largeArrayDims  -silent -outdir /users/dsksi/biagini/matlab/at/atmat/atphysics/Radiation -I'/users/dsksi/biagini/matlab/at/atmat/../atintegrators' /users/dsksi/biagini/matlab/at/atmat/atphysics/Radiation/findmpoleraddiffmatrix.c
mex -DGLNXA64 -largeArrayDims  -silent -outdir /users/dsksi/biagini/matlab/at/atmat/atphysics/NonLinearDynamics /users/dsksi/biagini/matlab/at/atmat/atphysics/NonLinearDynamics/RDTelegantAT.cpp
Error using mex
cc1plus: error: unrecognized command line option "-std=c++11"


Error in atmexall (line 49)
eval(MEXCOMMAND);

We commented the line to see if it would work for everything else and it did.
then the function text.m gave the following error

Error using text
First two or three arguments must be numeric doubles.

Error in atplot (line 100)
curve.comment=text(ax,-0.14,1.12,{line1;line2},'Units','normalized',...

Exception in thread "AWT-EventQueue-0" javax.media.nativewindow.NativeWindowException: X11Util.Display: Unable to create a display(localhost:13.0) connection. Thread AWT-EventQueue-0
    at jogamp.nativewindow.x11.X11Util.openDisplay(X11Util.java:452)
    at jogamp.opengl.x11.glx.X11GLXDrawableFactory.createMutableSurfaceImpl(X11GLXDrawableFactory.java:507)
    at jogamp.opengl.x11.glx.X11GLXDrawableFactory.createDummySurfaceImpl(X11GLXDrawableFactory.java:523)
    at jogamp.opengl.GLDrawableFactoryImpl.createOffscreenDrawable(GLDrawableFactoryImpl.java:324)
    at javax.media.opengl.awt.GLJPanel$OffscreenBackend.initialize(GLJPanel.java:1665)
    at javax.media.opengl.awt.GLJPanel.initializeBackendImpl(GLJPanel.java:1339)
    at javax.media.opengl.awt.GLJPanel.paintComponent(GLJPanel.java:550)
    at com.mathworks.hg.peer.JavaSceneServerGLJPanel.paintComponent(JavaSceneServerGLJPanel.java:147)
    at javax.swing.JComponent.paint(Unknown Source)
    at javax.swing.JComponent.paintChildren(Unknown Source)
    at javax.swing.JComponent.paint(Unknown Source)
    at javax.swing.JComponent.paintToOffscreen(Unknown Source)
    at javax.swing.BufferStrategyPaintManager.paint(Unknown Source)
    at javax.swing.RepaintManager.paint(Unknown Source)
    at javax.swing.JComponent._paintImmediately(Unknown Source)
    at javax.swing.JComponent.paintImmediately(Unknown Source)
    at javax.swing.RepaintManager$3.run(Unknown Source)
    at javax.swing.RepaintManager$3.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
    at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
    at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
    at javax.swing.RepaintManager.prePaintDirtyRegions(Unknown Source)
    at javax.swing.RepaintManager.access$1100(Unknown Source)
    at javax.swing.RepaintManager$ProcessingRunnable.run(Unknown Source)
    at java.awt.event.InvocationEvent.dispatch(Unknown Source)
    at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
    at java.awt.EventQueue.access$200(Unknown Source)
    at java.awt.EventQueue$3.run(Unknown Source)
    at java.awt.EventQueue$3.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)

@lnadolski
Copy link
Contributor

@simoneliuzzo
Can you close this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Development

No branches or pull requests

2 participants