Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
fmt_converter
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
xuebingbing
fmt_converter
Commits
4f4b58ba
Commit
4f4b58ba
authored
Dec 21, 2020
by
xuebingbing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cross platform code fix
parent
0cb9e928
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
main.cpp
src/jfhdconvertor/main.cpp
+6
-3
No files found.
src/jfhdconvertor/main.cpp
View file @
4f4b58ba
...
...
@@ -156,7 +156,8 @@ int pcd2las(const cxxopts::ParseResult& argsresult)
}
path
full_path
(
initial_path
());
full_path
=
system_complete
(
path
(
pcdfilepath
,
portable_name
));
//full_path = system_complete(path(pcdfilepath, portable_name));
full_path
=
system_complete
(
path
(
pcdfilepath
));
if
(
!
exists
(
full_path
))
{
std
::
cout
<<
"ERROR:file not exist,"
<<
full_path
<<
std
::
endl
;
...
...
@@ -164,7 +165,8 @@ int pcd2las(const cxxopts::ParseResult& argsresult)
}
std
::
string
lasfilepath
;
full_path
=
system_complete
(
path
(
lasfilepath
,
portable_name
));
//full_path = system_complete(path(lasfilepath, portable_name));
full_path
=
system_complete
(
path
(
lasfilepath
));
if
(
exists
(
full_path
))
std
::
cout
<<
"INFO:cover file,"
<<
lasfilepath
<<
std
::
endl
;
...
...
@@ -242,7 +244,8 @@ int pcd2lasauto(const cxxopts::ParseResult& argsresult)
// 查找station_jf.txt文件
path
workdir
(
initial_path
());
workdir
=
system_complete
(
path
(
workdirpath
,
portable_name
));
//workdir = system_complete(path(workdirpath, portable_name));
workdir
=
system_complete
(
path
(
workdirpath
));
std
::
stringstream
ss
;
ss
<<
workdir
.
filename
().
string
()
<<
"_station_jf.txt"
;
...
...
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