Announcement

Collapse
No announcement yet.

Code compiling error

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Code compiling error

    I have written the code for my own custom gun for Ut2004, but whenever I run ucc make it reports this error.
    Error opening file

    History: UObject::SavePackage <- UMakeCommandlet::Main

    Exiting due to error

    Can somebody help me with this?

    #2
    I believe I have run into that problem before, but I can't quite recall what was causing it... I guess the first question would be, are you trying to import any other files aside from code (like meshes, textures, sounds).
    Do you have all of your folders set up properly as listed here: http://wiki.beyondunreal.com/wiki/Se...ackage_Folders

    Have you set up your UT2004.ini file like this:
    http://wiki.beyondunreal.com/wiki/Compiling_With_UCC

    are there any other errors listed in your UCC.log file?
    Here is a list for other common compile errors: http://wiki.beyondunreal.com/wiki/Compiler_Errors

    Comment


      #3
      Make sure your code is in UT2004\WhateverYourPackageName\Classes and not UT2004\system\WhateverYourPackageName\Classes.

      Comment

      Working...
      X