PDA

View Full Version : Could not compile after installing beta 4 (install dir)


Pete S
11-28-2007, 04:30 PM
Guys, I initially installed beta 4 to \Program Files\Ninja Trader 6.5 beta 4\. When I did this, I couldn't compile my strategies/indicators, it complained about not being able to find metadata files, the core DLL and a WilsonORMapper DLL, they were listed with the full path being \Program Files\Ninja Trader 6.5\. I uninstalled and reinstalled to the default directory, everything works fine now. Maybe left a path hard coded somewhere? Just FYI.

NinjaTrader_Ray
11-28-2007, 04:50 PM
Thanks for reporting.

JangoFolly
11-30-2007, 05:06 PM
I'm also having a compile error that seems unrelated to my own files. FYI -- I installed beta 4 over beta 3 (i.e., without uninstalling beta 3).


NinjaScript File: Type\@BarsTypes.cs
Error: The type or namespace name 'BarsType' could not be found (are you missing a using directive or an assembly reference?)

This error occurs on multiple lines throughout @BarsType.cs


NinjaScript File: Type\@DefaultTickFilter.cs
Error: The type or namespace name 'TickFilter' could not be found (are you missing a using directive or an assembly reference?)

The error code of CS0246 is listed for both errors

Thank you.


Regards,

P.S. All of the files in the ..\NinjaTrader 6.5\bin\Custom\Type folder are dated 28Nov2007.

NinjaTrader_Dierk
11-30-2007, 11:18 PM
Looks like some mix of NT6 and NT6.5 setup. Please make sure you NEVER copy ANY NT6 NinjaScript files manually from NT6 to NT6.5 installation.

You would need to clear out your complete NT6.5 installation by:
- uninstalling NT6.5
- manually remove <my documents>/NinjaTrader6.5/bin/custom (note: you will loose all custom NinjaScript files)
- reinstall NT6.5

JangoFolly
12-01-2007, 08:43 AM
Looks like some mix of NT6 and NT6.5 setup. Please make sure you NEVER copy ANY NT6 NinjaScript files manually from NT6 to NT6.5 installation.

You would need to clear out your complete NT6.5 installation by:
- uninstalling NT6.5
- manually remove <my documents>/NinjaTrader6.5/bin/custom (note: you will loose all custom NinjaScript files)
- reinstall NT6.5

That did the trick, Dierk.

Thank you.