all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Has anyone successfully compiled NtEmacs with fully image support?
@ 2003-06-02 16:06 Robin Hu
  2003-06-02 16:42 ` lawrence mitchell
  0 siblings, 1 reply; 4+ messages in thread
From: Robin Hu @ 2003-06-02 16:06 UTC (permalink / raw)



Hi Everyone:

   I am tring to compile NtEmacs (current cvs version) with fully image
   support (I mean gif, jpg, png, xpm and tiff).

   While I am trying to compile with mingw (runtime 3.0 + gcc 3.2.3 +
   winapi 2.3), NtEmacs failed to display jpg images. And while I am
   compiling with MSVC (msvc 7.1), NtEmacs will trigge an access
   exception while loading gif file or png file.

   I remember someone in this list once mentioned he had successfully
   compiled NtEmacs with fully image support, can you offer some hint?

   Robin.Hu

-- 
The goal of science is to build better mousetraps.  The goal of nature
is to build better mice.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Has anyone successfully compiled NtEmacs with fully image support?
  2003-06-02 16:06 Has anyone successfully compiled NtEmacs with fully image support? Robin Hu
@ 2003-06-02 16:42 ` lawrence mitchell
  2003-06-02 19:02   ` Jason Rumney
  2003-06-03  3:50   ` Robin Hu
  0 siblings, 2 replies; 4+ messages in thread
From: lawrence mitchell @ 2003-06-02 16:42 UTC (permalink / raw)


Robin Hu wrote:

> Hi Everyone:

>    I am tring to compile NtEmacs (current cvs version) with fully image
>    support (I mean gif, jpg, png, xpm and tiff).

>    While I am trying to compile with mingw (runtime 3.0 + gcc 3.2.3 +
>    winapi 2.3), NtEmacs failed to display jpg images. And while I am
>    compiling with MSVC (msvc 7.1), NtEmacs will trigge an access
>    exception while loading gif file or png file.

This is a bug.  You can report it using M-x report-emacs-bug RET
when running Emacs.  Alternately, someone on emacs-devel might
have an idea as to what is not working, though, without some
kind of backtrace, it's a bit tricky :).

>    I remember someone in this list once mentioned he had successfully
>    compiled NtEmacs with fully image support, can you offer some hint?

I have managed to compile Emacs with mingw and gotten image
support working.  A few things:
* do you have both the dlls /and/ the header files for the
  relevant image libraries you are compiling with?

* Does Emacs find the /correct/ image dlls when it starts up.
  It may be that you have multiple, incompatible, dlls for (say)
  libjpeg on your system.  Make sure that the one you should be
  using sits in a directory near the beginning of your PATH.
  This could be what is causing access exceptions, the image dll
  Emacs is loading might not be the correct one.

Other than that, you might want to try picking up an unofficial
CVS binary, I believe <URL: http://www.crasseux.com/emacs/> has
one, not sure how up-to-date it is.

-- 
lawrence mitchell <wence@gmx.li>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Has anyone successfully compiled NtEmacs with fully image support?
  2003-06-02 16:42 ` lawrence mitchell
@ 2003-06-02 19:02   ` Jason Rumney
  2003-06-03  3:50   ` Robin Hu
  1 sibling, 0 replies; 4+ messages in thread
From: Jason Rumney @ 2003-06-02 19:02 UTC (permalink / raw)


lawrence mitchell <wence@gmx.li> writes:

> This is a bug.

It's known, but if you can help debug it, please do. So far we know
that it happens only with MSVC when optimizations are enabled. I
think Juanma narrowed down to a couple of optimization options.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Has anyone successfully compiled NtEmacs with fully image support?
  2003-06-02 16:42 ` lawrence mitchell
  2003-06-02 19:02   ` Jason Rumney
@ 2003-06-03  3:50   ` Robin Hu
  1 sibling, 0 replies; 4+ messages in thread
From: Robin Hu @ 2003-06-03  3:50 UTC (permalink / raw)


>>>>> "lawrence" == lawrence mitchell <wence@gmx.li> writes:

    lawrence> I have managed to compile Emacs with mingw and gotten
    lawrence> image support working.  A few things: * do you have both
    lawrence> the dlls /and/ the header files for the relevant image
    lawrence> libraries you are compiling with?

    So can you run preview-latex within that Emacs? Mine failed
    sometimes. ;-(

    lawrence> * Does Emacs find the /correct/ image dlls when it starts
    lawrence> up.  It may be that you have multiple, incompatible, dlls
    lawrence> for (say) libjpeg on your system.  Make sure that the one
    lawrence> you should be using sits in a directory near the beginning
    lawrence> of your PATH.  This could be what is causing access
    lawrence> exceptions, the image dll Emacs is loading might not be
    lawrence> the correct one.

    Yeah, ther is the problem. JPEG can be displayed correctly after I
    tuned the PATH environment. But TIFF remains incorrect. I'd like to
    know why not we just static link all there libraries into emacs to
    avoid this dll hell?

    lawrence> -- lawrence mitchell <wence@gmx.li>

-- 
The goal of science is to build better mousetraps.  The goal of nature
is to build better mice.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2003-06-03  3:50 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-06-02 16:06 Has anyone successfully compiled NtEmacs with fully image support? Robin Hu
2003-06-02 16:42 ` lawrence mitchell
2003-06-02 19:02   ` Jason Rumney
2003-06-03  3:50   ` Robin Hu

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.