Comments (4)
Could you please copy and print the compilation errors here? I can't see the screenshot image you uploaded and I do not know why.
from gerber-parser.
from gerber-parser.
cd gerber-parser
mkdir build
cd build
cmake .. -G "NMake Makefiles" -DBUILD_EXAMPLES=OFF -DBUILD_TESTS=OFF -DBUILD_TESTING=OFF -DBUILD_SHARED_LIBS=OFF -DQt5_DIR=path/of/Qt
Try these commands please. It always works on my computer.
from gerber-parser.
Dear hsiang-lee,
I hope this message finds you well.
When attempting to use the provided commands in the command prompt:
bash
cmake .. -G "NMake Makefiles" -DBUILD_EXAMPLES=OFF -DBUILD_TESTS=OFF -DBUILD_TESTING=OFF -DBUILD_SHARED_LIBS=OFF -DQt5_DIR=D:/qt5/5.15.2/msvc2019_64
I encountered the following error:
CMake Error at C:/Program Files/CMake/share/cmake-3.28/Modules/CMakeTestCCompiler.cmake:67 (message):
The C compiler
"C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/cl.exe"
is not able to compile a simple test program.
...
NMAKE : fatal error U1077: '"C:\Program Files\CMake\bin\cmake.exe"' : return code '0xffffffff'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\bin\Hostx64\x64\nmake.exe"' : return code '0x2'
Stop.
CMake will not be able to correctly generate this project.
It seems there is an issue with the C compiler identification, and the compilation process is failing. I have checked the specified paths, and they seem correct. However, the error persists.
Could you please provide guidance on how to address this issue? Your assistance would be highly appreciated.
Thank you for your time and support.
Best regards,
Bharath
from gerber-parser.
Related Issues (9)
- Threre is a bug in your program reading this gerver file(Gerver_TopLayer.GTL) HOT 2
- 缺少gerber_exporter.png HOT 3
- 这个文件渲染有问题 HOT 1
- 支持使用opencv来渲染(不依赖Qt)
- 支持渲染到QGraphicsScene HOT 2
- make_unique(): "Microsoft C++ exception: std::bad_alloc at memory location" HOT 4
- 使用opengl来渲染
- CMake Error at src/CMakeLists.txt:1 (find_package):
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gerber-parser.