Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
K
kicad-source-mirror
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Elphel
kicad-source-mirror
Commits
989ccd0e
Commit
989ccd0e
authored
Apr 16, 2009
by
charras
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wxWidgets 2.9 compatibility change.
parent
7ab924c3
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
17 deletions
+19
-17
COMPILING-Debian.txt
COMPILING-Debian.txt
+2
-2
specctra.cpp
pcbnew/specctra.cpp
+17
-5
running_kicad_under_W98.txt
running_kicad_under_W98.txt
+0
-10
No files found.
COMPILING-Debian.txt
View file @
989ccd0e
...
...
@@ -33,8 +33,8 @@ Checkout sourcecode using subversion or download latest release.
'svn checkout https://kicad.svn.sourceforge.net/svnroot/kicad/trunk/kicad kicad'
*Release*
'wget ftp://iut-tice.ujf-grenoble.fr/cao/kicad-sources-2008-08-25c.tar.
gz'
'tar -xvf kicad-sources-
2008-08-25c.tar.
gz'
download http://iut-tice.ujf-grenoble.fr/cao/kicad-sources-yyyy-mm-dd.t
gz'
'tar -xvf kicad-sources-
yyyy-mm-dd.t
gz'
Compiling
...
...
pcbnew/specctra.cpp
View file @
989ccd0e
...
...
@@ -321,7 +321,9 @@ void SPECCTRA_DB::LoadPCB( const wxString& filename ) throw( IOError )
if
(
!
fp
)
{
ThrowIOError
(
_
(
"Unable to open file
\"
"
)
+
filename
+
wxT
(
"
\"
"
)
);
wxString
msg
;
msg
.
Printf
(
_
(
"Unable to open file
\"
%s
\"
"
),
filename
.
GetData
()
);
ThrowIOError
(
msg
);
}
file
.
Attach
(
fp
);
// "exception safe" way to close the file.
...
...
@@ -351,7 +353,9 @@ void SPECCTRA_DB::LoadSESSION( const wxString& filename ) throw( IOError )
if
(
!
fp
)
{
ThrowIOError
(
_
(
"Unable to open file
\"
"
)
+
filename
+
wxT
(
"
\"
"
)
);
wxString
msg
;
msg
.
Printf
(
_
(
"Unable to open file
\"
%s
\"
"
),
filename
.
GetData
()
);
ThrowIOError
(
msg
);
}
file
.
Attach
(
fp
);
// "exception safe" way to close the file.
...
...
@@ -3465,7 +3469,11 @@ int SPECCTRA_DB::Print( int nestLevel, const char* fmt, ... ) throw( IOError )
}
if
(
result
<
0
||
(
result
=
vfprintf
(
fp
,
fmt
,
args
))
<
0
)
ThrowIOError
(
_
(
"System file error writing to file
\"
"
)
+
filename
+
wxT
(
"
\"
"
)
);
{
wxString
msg
;
msg
.
Printf
(
_
(
"System file error writing to file
\"
%s
\"
"
),
filename
.
GetData
()
);
ThrowIOError
(
msg
);
}
va_end
(
args
);
...
...
@@ -3521,7 +3529,9 @@ void SPECCTRA_DB::ExportPCB( wxString filename, bool aNameChange ) throw( IOErro
if
(
!
fp
)
{
ThrowIOError
(
_
(
"Unable to open file
\"
"
)
+
filename
+
wxT
(
"
\"
"
)
);
wxString
msg
;
msg
.
Printf
(
_
(
"Unable to open file
\"
%s
\"
"
),
filename
.
GetData
()
);
ThrowIOError
(
msg
);
}
if
(
pcb
)
...
...
@@ -3546,7 +3556,9 @@ void SPECCTRA_DB::ExportSESSION( wxString filename )
if
(
!
fp
)
{
ThrowIOError
(
_
(
"Unable to open file
\"
"
)
+
filename
+
wxT
(
"
\"
"
)
);
wxString
msg
;
msg
.
Printf
(
_
(
"Unable to open file
\"
%s
\"
"
),
filename
.
GetData
()
);
ThrowIOError
(
msg
);
}
if
(
session
)
...
...
running_kicad_under_W98.txt
deleted
100644 → 0
View file @
7ab924c3
Since the 2007-05-25 version, Kicad (which uses unicode strings) can run under W98,
if the library unicows.dll is found by kicad.
If you want to use kicad you must download unicows.dll,
and copy it in Windows or kicad/winexe directory.
Because many others programs use unicows.dll, this can be already done.
But kicad is NOT tested under W98.
A known problem is incorrect printing
(However, you can plot a postscript file, and use gsview to show and print it)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment