Results 1 to 5 of 5
  1. #1
    EmuTalk Member Akuja's Avatar
    Join Date
    Jul 2006
    Posts
    3

    Compiling Project 64

    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


    • Advertising

      advertising
      EmuTalk.net
      has no influence
      on the ads that
      are displayed
        
       

  2. #2
    Plugin coder / Betatester Falcon4ever's Avatar
    Join Date
    Mar 2002
    Location
    The Netherlands
    Posts
    1,253
    that's a warning, not a compile error
    and you can add
    Code:
    #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?
    Last edited by Falcon4ever; July 9th, 2006 at 20:06.

  3. #3
    ????????????????????????? Doomulation's Avatar
    Join Date
    Nov 2001
    Location
    ????????????????
    Posts
    8,780
    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.
    Atashi wa juu-yon-sai no onna no ko! Atashi no namae wa Miizuki. Yurushiku ne!
    Nani? Atashi o shinjirimasen desu ka? Baka!
    "You're all doomed! Doomed, I say! Hehe... are we approaching the end of the world?"

    shikata ga kaite aru - "the instructions are written above"
    Need to download GoodN64 or instructions to use it? Need to check if it's a good or bad rom?
    Download: Glide64 | Hacktarux's wrapper

  4. #4
    EmuTalk Member Akuja's Avatar
    Join Date
    Jul 2006
    Posts
    3
    Quote Originally Posted by Falcon4ever
    that's a warning, not a compile error
    and you can add
    Code:
    #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.

  5. #5
    ????????????????????????? Doomulation's Avatar
    Join Date
    Nov 2001
    Location
    ????????????????
    Posts
    8,780
    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.
    Atashi wa juu-yon-sai no onna no ko! Atashi no namae wa Miizuki. Yurushiku ne!
    Nani? Atashi o shinjirimasen desu ka? Baka!
    "You're all doomed! Doomed, I say! Hehe... are we approaching the end of the world?"

    shikata ga kaite aru - "the instructions are written above"
    Need to download GoodN64 or instructions to use it? Need to check if it's a good or bad rom?
    Download: Glide64 | Hacktarux's wrapper

Similar Threads

  1. Replies: 27
    Last Post: December 28th, 2007, 22:19
  2. Project 64 Help!!!!
    By TMACPIERCE in forum Project64
    Replies: 16
    Last Post: July 29th, 2006, 01:42
  3. Project 64 better than the real thing!
    By _Zack_ in forum Project64
    Replies: 10
    Last Post: March 29th, 2006, 14:47
  4. Replies: 10
    Last Post: January 14th, 2004, 19:48
  5. Compiling Project 64
    By hotquik in forum Project64
    Replies: 2
    Last Post: March 25th, 2003, 22:09

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •