PDA

View Full Version : Compiling Project 64



Akuja
July 9th, 2006, 19:12
Help me. I keep getting these errors upon compiling.

1>c:\documents and settings\kuja_akuma\desktop\pj64 build\mempak.c(73) : warning C4996: 'sprintf' was declared deprecated
1> c:\program files\microsoft visual studio 8\vc\include\stdio.h(345) : see declaration of 'sprintf'
1> Message: 'This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'



What do i have to do to fix this. I have never programmed before. I figured it could not be that hard. It is basically scripting that is used in Maya MEL.
But as for compiling i am completly lost

Falcon4ever
July 9th, 2006, 21:04
that's a warning, not a compile error
and you can add

#define _CRT_SECURE_NO_DEPRECATE
to get rid of that warning


Btw: Why are you trying to compile it if a binary version is available?

Doomulation
July 9th, 2006, 22:25
Naturally, you should heed those warnings, but since you are not a programmer...
And yes, as falcon explained, it will compile anyway, unless you've told the compiler to treat warnings as errors.

Akuja
July 10th, 2006, 19:58
that's a warning, not a compile error
and you can add

#define _CRT_SECURE_NO_DEPRECATE
to get rid of that warning


Btw: Why are you trying to compile it if a binary version is available?

Well thats a good question and normally i would not try but i noticed no n64 emulator had support for 10, 11, 20, 21 gameshark incremental codes.
I have added the codes in 1964 source but i end up with more errors in that than Pj64.

Doomulation
July 10th, 2006, 20:07
Adding things to a source without being a programmer is not recommended. You don't know what you're doing. You'll generally not know how to make it work or what effects it might have. Furthermore, you'll probably not know how to fix any issues that arise.