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

How to add SDL and JPEG library for Cygwin compilation? #8

Open
longma624 opened this issue Apr 28, 2017 · 0 comments
Open

How to add SDL and JPEG library for Cygwin compilation? #8

longma624 opened this issue Apr 28, 2017 · 0 comments

Comments

@longma624
Copy link

Hi guys!

I am compiling the ImageStack project with Windows7 x64 platform and I chose Cygwin tool to build the project.

I noticed that there is a SDL library called "SDL-x86-static-mt.lib" in ImageStack-master_path/msvc/lib, so I copied it into /usr/local/lib folder as the Makefile.cygwin indicated. After renaming this lib file as SDL.lib and entering a soft-link command as "ln -sf /usr/local/lib/SDL.lib /usr/local/lib/libSDL.so", I compiled ImageStack in Cygwin window by the command "make -f makefiles/Makefile.cygwin".

The results told me that -ljpeg, -ltiff, -lpng, and -lfftw3f were not found, so I directly commented them out and continued to compile. To my surprise, numerous errors were appeared, most of which concerned about undefined deference on modules in SDL.lib.

I wonder if I included an incorrect SDL library. If it is true, how should I include the right one? Besides, how could I install SDL and JPEG libraries in my platform?

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

No branches or pull requests

1 participant