示例#1
0
def get_panda_lib_path():
    """ Returns the path to the panda3d libraries """
    if is_windows():
        return first_existing_path([join(get_panda_sdk_path(), "lib")], "libpanda.lib")
    elif is_linux():
        return dirname(ExecutionEnvironment.get_dtool_name())
    raise NotImplementedError("Unsupported OS")
示例#2
0
def get_panda_lib_path():
    """ Returns the path to the panda3d libraries """
    if is_windows():
        return find_in_sdk("lib", "libpanda.lib")
    elif is_linux() or is_macos() or is_freebsd():
        return dirname(ExecutionEnvironment.get_dtool_name())
    raise NotImplementedError("Unsupported OS")
def get_panda_lib_path():
    """ Returns the path to the panda3d libraries """
    if is_windows():
        return first_existing_path([join(get_panda_sdk_path(), "lib")],
                                   "libpanda.lib")
    elif is_linux():
        return dirname(ExecutionEnvironment.get_dtool_name())
    raise NotImplementedError("Unsupported OS")