_fmemcopy and _fmemset not found Turbo C 2.01

Developer's Forum, for discussion of bugs, code, and other developmental aspects of DOSBox.

_fmemcopy and _fmemset not found Turbo C 2.01

Postby Dosogger » 2011-11-10 @ 06:02

I trying to write a simple game and have run into a dead end. I am using Turbo C 2.01 to write my game and am following this tutorial. AWhen i try to compile my game i get the error "unknown symbol _fmemcpy and _fmemset". I have included string.h which is supposed to contain those functions but, after further investigation does not. I am using the wrong version of turbo c or did i not install it correctly?Any assistance in this matter would be greatly appreciated.

Sincerely,

Dosogger
User avatar
Dosogger
Newbie
 
Posts: 2
Joined: 2011-11-10 @ 05:55

Re: _fmemcopy and _fmemset not found Turbo C 2.01

Postby Dominus » 2011-11-10 @ 06:54

Dosbox development is for developing dosbox and not for developing on dosbox (or even dos)
User avatar
Dominus
DOSBox Moderator
 
Posts: 5644
Joined: 2002-10-03 @ 09:54
Location: Vienna

Re: _fmemcopy and _fmemset not found Turbo C 2.01

Postby Dosogger » 2011-11-10 @ 07:18

Sorry about that. Do you know where i can post my question to have it answered as I'm totally stumped.

Sincerely,

Dosogger
User avatar
Dosogger
Newbie
 
Posts: 2
Joined: 2011-11-10 @ 05:55

Re: _fmemcopy and _fmemset not found Turbo C 2.01

Postby Qbix » 2011-11-10 @ 07:42

sounds like you forgot to link against a library
Water flows down the stream
How to ask questions the smart way!
User avatar
Qbix
DOSBox Author
 
Posts: 9720
Joined: 2002-11-27 @ 14:50
Location: Fryslan

Re: _fmemcopy and _fmemset not found Turbo C 2.01

Postby bloodbat » 2011-11-10 @ 19:27

Try memcpy and memset...
User avatar
bloodbat
Oldbie
 
Posts: 717
Joined: 2009-12-06 @ 07:11

Re: _fmemcopy and _fmemset not found Turbo C 2.01

Postby h-a-l-9000 » 2011-11-10 @ 19:30

Turbo C 2.01 is too old for these. You could try your luck with Open Watcom.
1+1=10
h-a-l-9000
DOSBox Author
 
Posts: 4179
Joined: 2005-2-23 @ 00:14


Return to DOSBox Development

Who is online

Users browsing this forum: No registered users and 1 guest