X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f X-Recipient: geda-user AT delorie DOT com X-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=JrBFt8sOGNHsZU2p3zEXsSbJVQg0FoJaAL6y0E6E2jc=; b=wLybVre/e2NfWkzjSOBMc+Yb1Prvmt/E3kAkn1Y/h60lpSKOX+KF2fLWQDaW6cz7G1 ZD24Qp6FJShAsTyhel4XWBgn6WTI7zi7T+BLRBa9Hb8nOhMEP+7WmuTslLQrdQJ+X+DC i6mUYzsKeSJ4vy+Cs9iGFq5DGA/yLRDhsiSCq0gxcvM4ohRqmdDHO8dhkj5Ir6aAXDIe Qt7pf+MBqi6o/dBIl8c+EgmE+UYyaBIUId0yogNruOVBpRraxfzIHusf0ArJIac32VS3 t5nKr2mtUDIv5mKHqz3zc7K5eB90j+Fqn8lZ6AhgdUtLzYEOgm1HsOcwWrDrpnI9X1C6 A4pQ== MIME-Version: 1.0 X-Received: by 10.194.21.199 with SMTP id x7mr15451294wje.63.1441788365799; Wed, 09 Sep 2015 01:46:05 -0700 (PDT) Date: Wed, 9 Sep 2015 00:46:05 -0800 Message-ID: Subject: [geda-user] early results/problems trying to make pcb file parsers using SWIG From: "Britton Kerin (britton DOT kerin AT gmail DOT com) [via geda-user AT delorie DOT com]" To: geda-user AT delorie DOT com Content-Type: text/plain; charset=UTF-8 Reply-To: geda-user AT delorie DOT com Spent today on this. SWIG itself was somewhat painful, had to rebuild most of pcb as shared lib, but it calls into it ok now Then come the problems with pcb itself... LoadPCB(char *) sounds good but apparently not, it seg faults I think due to assumptions about things in global Settings already being filled in. Down from there its something of a tangled web, as pcb file and settings loading seem strangely intertwined. Anyone off-hand know how/what to call to parse just the pcb file? This mess manifests itself to users as well with the strange rewriting of the config file by pcb (I'd much rather just get error messages) and lack of clarity where the settings are coming from. Not that I have any idea how to clean it up Britton