--- a/ProjectController.py Tue Jul 08 18:01:33 2014 +0100
+++ b/ProjectController.py Wed Nov 12 17:36:27 2014 +0000
@@ -118,6 +118,7 @@
self.iec2c_path = os.path.join(base_folder, "matiec", "iec2c"+(".exe" if wx.Platform == '__WXMSW__' else ""))
self.ieclib_path = os.path.join(base_folder, "matiec", "lib")
+ self.ieclib_c_path = os.path.join(base_folder, "matiec", "lib", "C") # Setup debug information
@@ -204,7 +205,7 @@
- return self.ieclib_path
+ return self.ieclib_c_path @@ -440,7 +441,7 @@
if len(self.Libraries)==0:
self.GetIECProgramsAndVariables()
- LibIECCflags = '"-I%s/C" -Wno-unused-function'%os.path.abspath(self.GetIECLibPath())
+ LibIECCflags = '"-I%s" -Wno-unused-function'%os.path.abspath(self.GetIECLibPath()) for lib in self.Libraries:
@@ -675,7 +676,7 @@
# Keep track of generated C files for later use by self.CTNGenerate_C
self.PLCGeneratedCFiles = C_files
- self.plcCFLAGS = '"-I%s/C" -Wno-unused-function'%self.ieclib_path
+ self.plcCFLAGS = '"-I%s" -Wno-unused-function'%self.ieclib_c_path