mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 23:35:03 +01:00
tracking down why alpha binaries don't find control surfaces
git-svn-id: svn://localhost/ardour2/branches/3.0@9189 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
7178f031ba
commit
e43b01535c
3 changed files with 12 additions and 14 deletions
|
|
@ -17,6 +17,7 @@
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include <iostream>
|
||||||
#include <glibmm/miscutils.h>
|
#include <glibmm/miscutils.h>
|
||||||
|
|
||||||
#include "ardour/control_protocol_search_path.h"
|
#include "ardour/control_protocol_search_path.h"
|
||||||
|
|
@ -35,18 +36,18 @@ SearchPath
|
||||||
control_protocol_search_path ()
|
control_protocol_search_path ()
|
||||||
{
|
{
|
||||||
bool surfaces_path_defined = false;
|
bool surfaces_path_defined = false;
|
||||||
SearchPath spath_env(Glib::getenv(surfaces_env_variable_name, surfaces_path_defined));
|
SearchPath spath_env (Glib::getenv(surfaces_env_variable_name, surfaces_path_defined));
|
||||||
|
|
||||||
if (surfaces_path_defined)
|
if (surfaces_path_defined) {
|
||||||
{
|
|
||||||
return spath_env;
|
return spath_env;
|
||||||
}
|
}
|
||||||
|
|
||||||
SearchPath spath(user_config_directory ());
|
SearchPath spath (user_config_directory ());
|
||||||
|
|
||||||
|
std::cerr << "for CPS, AMD = " << ardour_module_directory().to_string() << std::endl;
|
||||||
|
|
||||||
spath += ardour_module_directory ();
|
spath += ardour_module_directory ();
|
||||||
|
spath.add_subdirectory_to_paths (surfaces_dir_name);
|
||||||
spath.add_subdirectory_to_paths(surfaces_dir_name);
|
|
||||||
|
|
||||||
return spath;
|
return spath;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -17,6 +17,7 @@
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include <iostream>
|
||||||
#include <glibmm/miscutils.h>
|
#include <glibmm/miscutils.h>
|
||||||
|
|
||||||
#include "ardour/panner_search_path.h"
|
#include "ardour/panner_search_path.h"
|
||||||
|
|
@ -41,8 +42,10 @@ panner_search_path ()
|
||||||
return spath_env;
|
return spath_env;
|
||||||
}
|
}
|
||||||
|
|
||||||
SearchPath spath(user_config_directory ());
|
SearchPath spath (user_config_directory ());
|
||||||
|
|
||||||
|
std::cerr << "for panner, AMD = " << ardour_module_directory().to_string() << std::endl;
|
||||||
|
|
||||||
spath += ardour_module_directory ();
|
spath += ardour_module_directory ();
|
||||||
spath.add_subdirectory_to_paths(panner_dir_name);
|
spath.add_subdirectory_to_paths(panner_dir_name);
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -7,13 +7,7 @@ while [ $# -gt 0 ] ; do
|
||||||
-d)
|
-d)
|
||||||
DEBUG="T";
|
DEBUG="T";
|
||||||
shift ;;
|
shift ;;
|
||||||
*)
|
*) break;;
|
||||||
#catch all for unknown arguments
|
|
||||||
echo ""
|
|
||||||
echo "!!! ERROR !!! - Unknown argument $1"
|
|
||||||
echo ""
|
|
||||||
exit 1
|
|
||||||
;;
|
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue