Jump to content
  • Advertisement
Sign in to follow this  
Hikaru

Setting up SDL_gfx with VC6 on XP

This topic is 4877 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi! I've tried building SDL_gfx using the "nmake" command, but got this error: makefile(12) : fatal error U1035: syntax error : expected ':' or '=' separator Stop. does anyone know what to do?

Share this post


Link to post
Share on other sites
Advertisement
I had the same problem..., I'm not sure, but I think I fixed it by removing all the "^M"...., you'll still have to change the path to make it compile....

Good luck!!

Haora

Share this post


Link to post
Share on other sites
well, there is no "^M"

this is exactly what i do:
*Setting environment with VCVARS32.BAT
*copy VisualC\makefile
*try to build with nmake

and this is what the makefile contains:

# This makefile will build an SDL_gfx.dll with Visual C
# It was made for VC6 on Windows 98
#
# nmake should build the lot.
# .dll file goes in your system directory
# .lib and the .h files go into the searchpath of you compiler
#
# Edit this:
LIBSDL=C:\sdl\SDL.lib

# Leave the rest
CFLAGS=-DBUILD_DLL -DWIN32

.c.obj:$(CC) $(CFLAGS) -I. $(CPPFLAGS) -c $(<:/=\)

OBJS=SDL_framerate.obj SDL_gfxPrimitives.obj SDL_imageFilter.obj SDL_rotozoom.obj

SDL_gfx.dll: $(OBJS)
cl $(OBJS) /link /dll /out:$@ $(LIBSDL)
clean:
del *.obj
del *.lib
del *.exp
del *.dll

the problem should be on line 12, but even if i erase that line i still get the same problem, which is

makefile(12) : fatal error U1035: syntax error : expected ':' or '=' separator

Share this post


Link to post
Share on other sites
I have SDL_gfx precompiled that I made on VC7, and I think it'll work with VC6.

http://home.comcast.net/~joobot/SDL_gfx.zip

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!