Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Strange compilation errors in build 8

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

    Strange compilation errors in build 8

    I developed several indicators in NT8 using VS
    In build 7 the indicators work fine , I could compile then in VS and under ninja
    As I downloaded build 8 I got compilation errors as some of my scripts which were marked as "not in project" were exposed to the project.
    I removed them from the project. And succeeded to compile my indicators in VS.
    Compilation succeeded under VS !!!

    However when I compile them under ninja I get compilation errors.
    Those errors report that several object are already define .
    Now I can not activate any of my indicators
    Please help

    #2
    Hello doron,

    Thank you for writing in.

    Can you please provide a screenshot of the error messages in full so I may investigate further?

    To send a screenshot press Alt + PRINT SCREEN to take a screen shot of the selected window. Then go to Start--> Accessories--> Paint, and press CTRL + V to paste the image. Lastly, save as a jpeg file and send the file as an attachment.
    Zachary G.NinjaTrader Customer Service

    Comment


      #3
      Hi
      Jesse from ninja support was in my computer.
      He comment some methods in my script which were reported as duplicate
      As a result compilation in Niinja succeeded and the indicator which uses the method in comment continue to work !!!!!!!
      To me it shows that those methodד are duplicated in ninja space somewhere , I have no idea were .
      However after those methods were put in comment my indicator can not be compiled by VS .
      All this caused by the new build . Before this build all was ok .
      Ninja support refused to return to my computer and find the bug you have in the new build.
      I am trying to bypass this problem somehow by renaming names of my methods.
      Hope I will succeed.
      No doubt you have a bug somewhere which related to working with VS.

      Comment


        #4
        Hello doron,

        We will reach out to via e-mail.

        Comment


          #5
          Hello Doron,

          Look at the files in the folder Documents\NinjaTrader 8\bin\Custom\

          You may find the duplicate .cs files of your indicators there. I had the same problem once. NT copied the .cs files to that folder and included them in the project for some unknown reason.

          To prevent such problems in the future you may use the trick described here.
          Last edited by quicktrick; 01-13-2016, 12:38 AM.

          Comment


            #6
            hi

            i succeeded to overcome the strange compilation errors i had since i downloaded build 8 of NT8


            This was done just by renaming the name of the indicator .



            I and other people reported in the past about a problem with VS that automatically remove script from the project ? is it solved already ?


            thx quicktrick

            Comment


              #7
              doron,

              I have no word if that item was reproduced and resolved. Test it out in NinjaTrader 8 Beta 8. You can view the release notes at the following link: http://ninjatrader.com/support/helpG...s/?8_0_0_8.htm

              Comment


                #8
                Originally posted by doron View Post
                i succeeded to overcome the strange compilation errors i had since i downloaded build 8 of NT8

                This was done just by renaming the name of the indicator .
                doron, look for the duplicate .cs files somewhere. You renamed your indicator in one copy, so the errors disappeared. But another copy of your indicator with the old name may still be there.

                Comment


                  #9
                  Originally posted by quicktrick View Post
                  doron, look for the duplicate .cs files somewhere. You renamed your indicator in one copy, so the errors disappeared. But another copy of your indicator with the old name may still be there.
                  thx quicktrick for your remarks

                  i could not find a duplication of my indicator
                  strange but a fact
                  thx again

                  Comment


                    #10
                    doron, there may be also a problem in the NinjaScript generated code. Read this message too.

                    Comment

                    Latest Posts

                    Collapse

                    Topics Statistics Last Post
                    Started by nightstalker, 05-04-2024, 02:05 PM
                    5 responses
                    52 views
                    1 like
                    Last Post nightstalker  
                    Started by MSerag, Yesterday, 11:52 PM
                    0 responses
                    6 views
                    0 likes
                    Last Post MSerag
                    by MSerag
                     
                    Started by DynamicTest, Yesterday, 11:18 PM
                    0 responses
                    3 views
                    0 likes
                    Last Post DynamicTest  
                    Started by dcriador, Yesterday, 01:43 AM
                    3 responses
                    20 views
                    0 likes
                    Last Post dcriador  
                    Started by smartromain, Yesterday, 10:50 PM
                    0 responses
                    5 views
                    0 likes
                    Last Post smartromain  
                    Working...
                    X