Am 11.11.2012 17:39, schrieb Jon S. Berndt:
> Also, if I specify only the custom scenery path - as in the command line
> below - I get the errors that follow. Don't know if those are revealing or
> unexpected ...
>
> bin/Win64/fgfs.exe --fg-root=./data --fg-scenery=./scenery
> --aircraft=CitationX --native-fdm=socket,in,30,,5550,udp --fdm=external
> --airport=KCHS
>
> Cannot find Nasal script './data/Nasal/local_weather ...
Aha... You must not use relative paths on Windows. Only absolute paths
are supported.
If anyone was interested/able to fix the support for relative paths on
Windows, please implement "SGPath::realpath" in simgear/misc/sg_path.cxx:
> std::string SGPath::realpath() const
> {
> #if defined(_WIN32) || (defined(__APPLE__) && MAC_OS_X_VERSION_MAX_ALLOWED <=
> 1050)
> // Not implemented for Windows yet. Return original path instead.
>
> #else
> ...
This code is supposed to convert a relative path (given in command-line
parameters) into a proper absolute path - since we have several places
in FG, which just cannot deal with relative paths.
cheers,
Thorsten
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_nov
_______________________________________________
Flightgear-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/flightgear-devel