Comments (6)
from orangec.
And the compile errors are?
I expect the developer to actually test it himself. But in case of you are too lazy:
C:\Work\covscript\build>ninja -j1
[1/32] Building CXX object CMakeFiles\...ipt.dir\sources\compiler\codegen.cpp.o
FAILED: CMakeFiles/covscript.dir/sources/compiler/codegen.cpp.o
C:\Work\OrangeC\bin\occ.exe -x c++ -! -c C:\Work\covscript\sources\compiler
\codegen.cpp -IC:\Work\covscript\include -IC:\Work\covscript\csbuild\deps\i
nclude -fPIC -O3 -std=c++14 -MD -MT CMakeFiles\covscript.dir\sources\compiler\co
degen.cpp.o -MF CMakeFiles\covscript.dir\sources\compiler\codegen.cpp.o.d -o CMa
keFiles\covscript.dir\sources\compiler\codegen.cpp.o
Error C:\Work\covscript\include\covscript\core\core.hpp(32): Could not open <
covscript/import/libdll/dll.hpp> for input
Error C:\Work\covscript\include\covscript\core\core.hpp(36): Could not open <
covscript/import/parallel_hashmap/phmap.h> for input
Error C:\Work\covscript\include\covscript\core\components.hpp(27): Could not o
pen <covscript/import/mozart/base.hpp> for input
Error(396) C:\Work\covscript\include\covscript\core\components.hpp(615): T
emplate 'template' parameter missing default
Error C:\Work\covscript\include\covscript\core\variable.hpp(27): Could not ope
n <covscript/import/mozart/traits.hpp> for input
Error C:\Work\covscript\include\covscript\core\cni.hpp(27): Could not open <c
ovscript/import/mozart/bind.hpp> for input
Error(405) C:\Work\covscript\sources\compiler\codegen.cpp(662): Templates
must be classes, functions or data
3 Errors
ninja: build stopped: subcommand failed.
Copied from Windows Command Prompt by Mark and Enter, so it's not pretty. Please try to read.
from orangec.
OK. I forgot to clone the repository with recursive! After all of the submodules are initialized and updated, I have occparse.exe crashed with this dr.mingw report:
occparse.exe caused an Access Violation at location 000000000028FC3E in module occparse.exe Reading from location 0000000000000008.
Registers:
eax=00000000 ebx=0000000b ecx=1347e4f0 edx=00000002 esi=1347f1d0 edi=1449ca20
eip=0028fc3e esp=00d6e8cc ebp=00d6e920 iopl=0 nv up ei pl nz ac po nc
cs=0023 ss=002b ds=002b es=002b fs=0053 gs=002b efl=00010216
AddrPC Params
0028FC3E 14496DC4 1347E4F0 1449C9F0 occparse.exe!0xdfc3e
002908F5 14496DC4 1347E490 1347F270 occparse.exe!0xe08f5
0028CF99 14496DC4 1347E4D0 00D6F220 occparse.exe!0xdcf99
001E126A 00000000 00000000 00000000 occparse.exe!0x3126a
ninja simply said:
C:\Work\covscript\build>ninja -j1
[1/32] Building CXX object CMakeFiles\...ipt.dir\sources\compiler\codegen.cpp.o
FAILED: CMakeFiles/covscript.dir/sources/compiler/codegen.cpp.o
C:\Work\OrangeC\bin\occ.exe -x c++ -! -c C:\Work\covscript\sources\compiler
\codegen.cpp -IC:\Work\covscript\include -IC:\Work\covscript\csbuild\deps\i
nclude -fPIC -O3 -std=c++14 -MD -MT CMakeFiles\covscript.dir\sources\compiler\co
degen.cpp.o -MF CMakeFiles\covscript.dir\sources\compiler\codegen.cpp.o.d -o CMa
keFiles\covscript.dir\sources\compiler\codegen.cpp.o
ninja: build stopped: subcommand failed.
from orangec.
@LADSoft Please run some popular static analyzers on your code! Many of them are free! GCC and Clang also offer sanitizers!
from orangec.
from orangec.
@iahunq2 thank you for your efforts, it is much appreciated that you took it to the point of showing the compiler crashing. You might understand, for the issue you had before that I was gonna wonder if something in the setup was wrong because it wasn't finding 'include' files and that didn't seem like a reasonable problem to be having, glad you could take it beyond that!
I'm kinda in the middle of a major rework but after that I will look at these projects and clean up the compiles some more.
from orangec.
Related Issues (20)
- The links on `read the docs` page is broken HOT 3
- Moving away from `read the docs` HOT 1
- FR: please add the tools' purpose to their help output
- Remove Coff2IEEE HOT 1
- `occ -M` doesn't print anything to stdio
- Orange C failed to compile this project HOT 2
- IDE program not properly installed in new install of v67.3.1 on Windows 10 as current user HOT 3
- Incorrect conversion of double precision constants to IEEE-754 format HOT 5
- Segfault during Lua compilation HOT 1
- add __FUNCTION__ preprocessor macro
- Supposed C99 standard incompatibility with lvalue in expression list HOT 9
- Handle directory separator properly
- Utils::AddExt not compatible with source files with more than one dot HOT 5
- Can I compile only omake? HOT 6
- Please setup a Nightly release HOT 1
- Please fix your read the docs site HOT 4
- Please run some popular static analyzers on your code! HOT 1
- Testing Orange C with CMake 2
- CMake makefiles not processed by omake
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 orangec.