Author Topic: problems running the sample project  (Read 3446 times)

daemmon

  • Visitor
  • *
  • Posts: 3
    • View Profile
problems running the sample project
« on: 2007-08-10, 03:23:46 PM »
whenever i try to run the sample project with sgdk2 alpha6, i get the following messages:
Code: [Select]
SHFL\Menu_Map.cs(2,25) : error CS0246: The type or namespace name 'MapBase' could not be found (are you missing a using directive or an assembly reference?)
SHFL\Menu_Map.cs(116,40) : error CS0246: The type or namespace name 'ByteLayer' could not be found (are you missing a using directive or an assembly reference?)
SHFL\Menu_Map.cs(139,37) : error CS0246: The type or namespace name 'PlanBase' could not be found (are you missing a using directive or an assembly reference?)
SHFL\Menu_Map.cs(214,31) : error CS0246: The type or namespace name 'ByteLayer' could not be found (are you missing a using directive or an assembly reference?)
SHFL\Menu_Map.cs(244,36) : error CS0246: The type or namespace name 'PlanBase' could not be found (are you missing a using directive or an assembly reference?)
SHFL\Menu_Map.cs(286,35) : error CS0246: The type or namespace name 'PlanBase' could not be found (are you missing a using directive or an assembly reference?)
SHFL\Menu_Map.cs(330,40) : error CS0246: The type or namespace name 'PlanBase' could not be found (are you missing a using directive or an assembly reference?)
SHFL\Level_1_Map.cs(2,28) : error CS0246: The type or namespace name 'MapBase' could not be found (are you missing a using directive or an assembly reference?)
SHFL\Level_1_Map.cs(131,32) : error CS0246: The type or namespace name 'ByteLayer' could not be found (are you missing a using directive or an assembly reference?)
SHFL\Level_1_Map.cs(154,39) : error CS0246: The type or namespace name 'PlanBase' could not be found (are you missing a using directive or an assembly reference?)
SHFL\Level_1_Map.cs(203,34) : error CS0246: The type or namespace name 'ByteLayer' could not be found (are you missing a using directive or an assembly reference?)
SHFL\Level_1_Map.cs(230,28) : error CS0246: The type or namespace name 'ByteLayer' could not be found (are you missing a using directive or an assembly reference?)
SHFL\Level_1_Map.cs(299,32) : error CS0246: The type or namespace name 'PlanBase' could not be found (are you missing a using directive or an assembly reference?)
SHFL\Level_1_Map.cs(363,33) : error CS0246: The type or namespace name 'PlanBase' could not be found (are you missing a using directive or an assembly reference?)
SHFL\Level_1_Map.cs(427,36) : error CS0246: The type or namespace name 'PlanBase' could not be found (are you missing a using directive or an assembly reference?)
SHFL\Level_1_Map.cs(486,38) : error CS0246: The type or namespace name 'PlanBase' could not be found (are you missing a using directive or an assembly reference?)
SHFL\Level_1_Map.cs(534,36) : error CS0246: The type or namespace name 'PlanBase' could not be found (are you missing a using directive or an assembly reference?)
SHFL\Overlay_for_2_players_Map.cs(2,42) : error CS0246: The type or namespace name 'MapBase' could not be found (are you missing a using directive or an assembly reference?)
SHFL\Overlay_for_2_players_Map.cs(115,33) : error CS0246: The type or namespace name 'ByteLayer' could not be found (are you missing a using directive or an assembly reference?)
SHFL\Overlay_for_2_players_Map.cs(170,30) : error CS0246: The type or namespace name 'PlanBase' could not be found (are you missing a using directive or an assembly reference?)
SHFL\Overlay_for_2_players_Map.cs(206,40) : error CS0246: The type or namespace name 'PlanBase' could not be found (are you missing a using directive or an assembly reference?)
SHFL\Overlay_for_2_players_Map.cs(254,38) : error CS0246: The type or namespace name 'PlanBase' could not be found (are you missing a using directive or an assembly reference?)
SHFL\Overlay_for_2_players_Map.cs(302,42) : error CS0246: The type or namespace name 'PlanBase' could not be found (are you missing a using directive or an assembly reference?)
SHFL\Overlay_for_2_players_Map.cs(350,37) : error CS0246: The type or namespace name 'PlanBase' could not be found (are you missing a using directive or an assembly reference?)
SHFL\Overlay_for_2_players_Map.cs(398,40) : error CS0246: The type or namespace name 'PlanBase' could not be found (are you missing a using directive or an assembly reference?)
SHFL\Overlay_for_2_players_Map.cs(446,38) : error CS0246: The type or namespace name 'PlanBase' could not be found (are you missing a using directive or an assembly reference?)
SHFL\Overlay_for_2_players_Map.cs(494,42) : error CS0246: The type or namespace name 'PlanBase' could not be found (are you missing a using directive or an assembly reference?)
SHFL\Overlay_for_2_players_Map.cs(542,37) : error CS0246: The type or namespace name 'PlanBase' could not be found (are you missing a using directive or an assembly reference?)
SHFL\Overlay_for_2_players_Map.cs(603,36) : error CS0246: The type or namespace name 'ByteLayer' could not be found (are you missing a using directive or an assembly reference?)
SHFL\Overlay_for_1_player_Map.cs(2,41) : error CS0246: The type or namespace name 'MapBase' could not be found (are you missing a using directive or an assembly reference?)
SHFL\Overlay_for_1_player_Map.cs(100,33) : error CS0246: The type or namespace name 'ByteLayer' could not be found (are you missing a using directive or an assembly reference?)
SHFL\Overlay_for_1_player_Map.cs(139,30) : error CS0246: The type or namespace name 'PlanBase' could not be found (are you missing a using directive or an assembly reference?)
SHFL\Overlay_for_1_player_Map.cs(175,31) : error CS0246: The type or namespace name 'PlanBase' could not be found (are you missing a using directive or an assembly reference?)
SHFL\Overlay_for_1_player_Map.cs(223,29) : error CS0246: The type or namespace name 'PlanBase' could not be found (are you missing a using directive or an assembly reference?)
SHFL\Overlay_for_1_player_Map.cs(271,32) : error CS0246: The type or namespace name 'PlanBase' could not be found (are you missing a using directive or an assembly reference?)
SHFL\Overlay_for_1_player_Map.cs(319,28) : error CS0246: The type or namespace name 'PlanBase' could not be found (are you missing a using directive or an assembly reference?)
SHFL\Sprites\Platform.cs(6,28) : error CS0246: The type or namespace name 'SpriteBase' could not be found (are you missing a using directive or an assembly reference?)
SHFL\Sprites\Player.cs(6,26) : error CS0246: The type or namespace name 'SpriteBase' could not be found (are you missing a using directive or an assembly reference?)
SHFL\Sprites\Points.cs(6,26) : error CS0246: The type or namespace name 'SpriteBase' could not be found (are you missing a using directive or an assembly reference?)
SHFL\Message.cs(177,62) : error CS0246: The type or namespace name 'SpriteBase' could not be found (are you missing a using directive or an assembly reference?)
SHFL\DrawSpectrum.cs(11,124) : error CS0246: The type or namespace name 'LayerBase' could not be found (are you missing a using directive or an assembly reference?)
SHFL\TileSpecialization.cs(13,15) : error CS0246: The type or namespace name 'LayerBase' could not be found (are you missing a using directive or an assembly reference?)
SHFL\TileSpecialization.cs(15,70) : error CS0246: The type or namespace name 'LayerBase' could not be found (are you missing a using directive or an assembly reference?)
SHFL\TileSpecialization.cs(23,53) : error CS0246: The type or namespace name 'SpriteBase' could not be found (are you missing a using directive or an assembly reference?)
SHFL\TileSpecialization.cs(29,41) : error CS0246: The type or namespace name 'SpriteBase' could not be found (are you missing a using directive or an assembly reference?)
SHFL\Sprites\Player.cs(26,21) : error CS0246: The type or namespace name 'LayerBase' could not be found (are you missing a using directive or an assembly reference?)
SHFL\Sprites\Player.cs(35,23) : error CS0246: The type or namespace name 'SpriteState' could not be found (are you missing a using directive or an assembly reference?)
SHFL\Sprites\Player.cs(69,44) : error CS0246: The type or namespace name 'Display' could not be found (are you missing a using directive or an assembly reference?)
SHFL\Sprites\Platform.cs(13,22) : error CS0246: The type or namespace name 'SpriteState' could not be found (are you missing a using directive or an assembly reference?)
SHFL\Sprites\Platform.cs(15,23) : error CS0246: The type or namespace name 'LayerBase' could not be found (are you missing a using directive or an assembly reference?)
SHFL\Sprites\Platform.cs(26,23) : error CS0246: The type or namespace name 'LayerBase' could not be found (are you missing a using directive or an assembly reference?)
SHFL\Sprites\Platform.cs(36,23) : error CS0246: The type or namespace name 'SpriteState' could not be found (are you missing a using directive or an assembly reference?)
SHFL\Sprites\Platform.cs(71,44) : error CS0246: The type or namespace name 'Display' could not be found (are you missing a using directive or an assembly reference?)
SHFL\Overlay_for_1_player_Map.cs(144,18) : error CS0246: The type or namespace name 'PlanBase' could not be found (are you missing a using directive or an assembly reference?)
SHFL\Overlay_for_1_player_Map.cs(151,26) : error CS0246: The type or namespace name 'LayerBase' could not be found (are you missing a using directive or an assembly reference?)
SHFL\Overlay_for_1_player_Map.cs(159,29) : error CS0246: The type or namespace name 'PlanBase' could not be found (are you missing a using directive or an assembly reference?)
SHFL\Overlay_for_1_player_Map.cs(182,18) : error CS0246: The type or namespace name 'PlanBase' could not be found (are you missing a using directive or an assembly reference?)
SHFL\Overlay_for_1_player_Map.cs(191,26) : error CS0246: The type or namespace name 'LayerBase' could not be found (are you missing a using directive or an assembly reference?)
SHFL\Overlay_for_1_player_Map.cs(207,29) : error CS0246: The type or namespace name 'PlanBase' could not be found (are you missing a using directive or an assembly reference?)
SHFL\Overlay_for_1_player_Map.cs(230,18) : error CS0246: The type or namespace name 'PlanBase' could not be found (are you missing a using directive or an assembly reference?)
SHFL\Overlay_for_1_player_Map.cs(239,26) : error CS0246: The type or namespace name 'LayerBase' could not be found (are you missing a using directive or an assembly reference?)
SHFL\Overlay_for_1_player_Map.cs(255,29) : error CS0246: The type or namespace name 'PlanBase' could not be found (are you missing a using directive or an assembly reference?)
SHFL\Overlay_for_1_player_Map.cs(278,18) : error CS0246: The type or namespace name 'PlanBase' could not be found (are you missing a using directive or an assembly reference?)
SHFL\Overlay_for_1_player_Map.cs(287,26) : error CS0246: The type or namespace name 'LayerBase' could not be found (are you missing a using directive or an assembly reference?)
SHFL\Overlay_for_1_player_Map.cs(303,29) : error CS0246: The type or namespace name 'PlanBase' could not be found (are you missing a using directive or an assembly reference?)
SHFL\Overlay_for_1_player_Map.cs(326,18) : error CS0246: The type or namespace name 'PlanBase' could not be found (are you missing a using directive or an assembly reference?)
SHFL\Overlay_for_1_player_Map.cs(335,26) : error CS0246: The type or namespace name 'LayerBase' could not be found (are you missing a using directive or an assembly reference?)
SHFL\Overlay_for_1_player_Map.cs(351,29) : error CS0246: The type or namespace name 'PlanBase' could not be found (are you missing a using directive or an assembly reference?)
SHFL\Overlay_for_1_player_Map.cs(15,36) : error CS0246: The type or namespace name 'Display' could not be found (are you missing a using directive or an assembly reference?)
SHFL\Overlay_for_2_players_Map.cs(175,18) : error CS0246: The type or namespace name 'PlanBase' could not be found (are you missing a using directive or an assembly reference?)
SHFL\Overlay_for_2_players_Map.cs(182,26) : error CS0246: The type or namespace name 'LayerBase' could not be found (are you missing a using directive or an assembly reference?)
SHFL\Overlay_for_2_players_Map.cs(190,29) : error CS0246: The type or namespace name 'PlanBase' could not be found (are you missing a using directive or an assembly reference?)
SHFL\Overlay_for_2_players_Map.cs(213,18) : error CS0246: The type or namespace name 'PlanBase' could not be found (are you missing a using directive or an assembly reference?)
SHFL\Overlay_for_2_players_Map.cs(222,26) : error CS0246: The type or namespace name 'LayerBase' could not be found (are you missing a using directive or an assembly reference?)
SHFL\Overlay_for_2_players_Map.cs(238,29) : error CS0246: The type or namespace name 'PlanBase' could not be found (are you missing a using directive or an assembly reference?)
SHFL\Overlay_for_2_players_Map.cs(261,18) : error CS0246: The type or namespace name 'PlanBase' could not be found (are you missing a using directive or an assembly reference?)
SHFL\Overlay_for_2_players_Map.cs(270,26) : error CS0246: The type or namespace name 'LayerBase' could not be found (are you missing a using directive or an assembly reference?)
SHFL\Overlay_for_2_players_Map.cs(286,29) : error CS0246: The type or namespace name 'PlanBase' could not be found (are you missing a using directive or an assembly reference?)
SHFL\Overlay_for_2_players_Map.cs(309,18) : error CS0246: The type or namespace name 'PlanBase' could not be found (are you missing a using directive or an assembly reference?)
SHFL\Overlay_for_2_players_Map.cs(318,26) : error CS0246: The type or namespace name 'LayerBase' could not be found (are you missing a using directive or an assembly reference?)
SHFL\Overlay_for_2_players_Map.cs(334,29) : error CS0246: The type or namespace name 'PlanBase' could not be found (are you missing a using directive or an assembly reference?)
SHFL\Overlay_for_2_players_Map.cs(357,18) : error CS0246: The type or namespace name 'PlanBase' could not be found (are you missing a using directive or an assembly reference?)
SHFL\Overlay_for_2_players_Map.cs(366,26) : error CS0246: The type or namespace name 'LayerBase' could not be found (are you missing a using directive or an assembly reference?)
SHFL\Overlay_for_2_players_Map.cs(382,29) : error CS0246: The type or namespace name 'PlanBase' could not be found (are you missing a using directive or an assembly reference?)
SHFL\Overlay_for_2_players_Map.cs(405,18) : error CS0246: The type or namespace name 'PlanBase' could not be found (are you missing a using directive or an assembly reference?)
SHFL\Overlay_for_2_players_Map.cs(414,26) : error CS0246: The type or namespace name 'LayerBase' could not be found (are you missing a using directive or an assembly reference?)
SHFL\Overlay_for_2_players_Map.cs(430,29) : error CS0246: The type or namespace name 'PlanBase' could not be found (are you missing a using directive or an assembly reference?)
SHFL\Overlay_for_2_players_Map.cs(453,18) : error CS0246: The type or namespace name 'PlanBase' could not be found (are you missing a using directive or an assembly reference?)
SHFL\Overlay_for_2_players_Map.cs(462,26) : error CS0246: The type or namespace name 'LayerBase' could not be found (are you missing a using directive or an assembly reference?)
SHFL\Overlay_for_2_players_Map.cs(478,29) : error CS0246: The type or namespace name 'PlanBase' could not be found (are you missing a using directive or an assembly reference?)
SHFL\Overlay_for_2_players_Map.cs(501,18) : error CS0246: The type or namespace name 'PlanBase' could not be found (are you missing a using directive or an assembly reference?)
SHFL\Overlay_for_2_players_Map.cs(510,26) : error CS0246: The type or namespace name 'LayerBase' could not be found (are you missing a using directive or an assembly reference?)
SHFL\Overlay_for_2_players_Map.cs(526,29) : error CS0246: The type or namespace name 'PlanBase' could not be found (are you missing a using directive or an assembly reference?)
SHFL\Overlay_for_2_players_Map.cs(549,18) : error CS0246: The type or namespace name 'PlanBase' could not be found (are you missing a using directive or an assembly reference?)
SHFL\Overlay_for_2_players_Map.cs(558,26) : error CS0246: The type or namespace name 'LayerBase' could not be found (are you missing a using directive or an assembly reference?)
SHFL\Overlay_for_2_players_Map.cs(574,29) : error CS0246: The type or namespace name 'PlanBase' could not be found (are you missing a using directive or an assembly reference?)
SHFL\Overlay_for_2_players_Map.cs(17,37) : error CS0246: The type or namespace name 'Display' could not be found (are you missing a using directive or an assembly reference?)
SHFL\Level_1_Map.cs(19,23) : error CS0246: The type or namespace name 'Display' could not be found (are you missing a using directive or an assembly reference?)
SHFL\Menu_Map.cs(146,18) : error CS0246: The type or namespace name 'PlanBase' could not be found (are you missing a using directive or an assembly reference?)
SHFL\Menu_Map.cs(155,26) : error CS0246: The type or namespace name 'LayerBase' could not be found (are you missing a using directive or an assembly reference?)
SHFL\Menu_Map.cs(17,20) : error CS0246: The type or namespace name 'Display' could not be found (are you missing a using directive or an assembly reference?)
SHFL\LayerSpriteCategoriesBase.cs(23,19) : error CS0246: The type or namespace name 'SpriteCollection' could not be found (are you missing a using directive or an assembly reference?)
SHFL\Solidity.cs(28,12) : error CS0246: The type or namespace name 'SolidityMapping' could not be found (are you missing a using directive or an assembly reference?)
SHFL\Solidity.cs(77,41) : error CS0246: The type or namespace name 'TileBase' could not be found (are you missing a using directive or an assembly reference?)
SHFL\Frameset.cs(7,12) : error CS0246: The type or namespace name 'Frame' could not be found (are you missing a using directive or an assembly reference?)

... had to lose a lot of lines, as it exceeded the maximum allowed number of chars, but i think you get the idea

Jam0864

  • Contributor
  • Fanatic
  • **
  • Posts: 744
    • MSN Messenger - marmalade0864@hotmail.com
    • View Profile
    • Jam0864's Content Dump
    • Email
Re: problems running the sample project
« Reply #1 on: 2007-08-10, 04:54:47 PM »
Maybe try opening project in SGDK2, click file>reset source code. Then run it.

daemmon

  • Visitor
  • *
  • Posts: 3
    • View Profile
Re: problems running the sample project
« Reply #2 on: 2007-08-11, 02:20:53 PM »
thanks for the reply; reseting the code solved the problem, it now works

bluemonkmn

  • SGDK Author
  • Administrator
  • Fanatic
  • *****
  • Posts: 2761
    • ICQ Messenger - 2678251
    • MSN Messenger - BlueMonkMN@gmail.com
    • View Profile
    • http://sgdk2.sf.net/
    • Email
Re: problems running the sample project
« Reply #3 on: 2007-08-12, 09:53:22 AM »
Actually the "correct" way to solve that is not to reset the code but to treat the templates as templates instead of projects.  The templates don't have source code included any more.  This is to avoid redundant copies of the same code for cases where the template projects have the same code as the built-in code (and each other).  Since the code in the templates is the same as the built-in code, I just removed the code from the templates, and made the environment merge the built-in code with the template code whenever you create a new project from a template.  So if you load a template, you will not see any code in it, but if you create a new project from a template, all the code will be there and you should be able to run it without resetting code.