You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Assertion failed: !(Pair.first != Ty && Pair.second == Ty) && "mapping to a source type", file D:\Temp\LDC-BUILD\src\llvm-3.6.0.src\lib\Linker\LinkModules.cpp, line 265
This fails before getting to the linking step unlike Debug mode
Found the file that doesn't work:-
dlib.geometry.ray.d:
struct Ray
{
Vector3f p0;
Vector3f p1;
float t;
// Commenting out this constructor seems to fix the problem
this(Vector3f begin = Vector3f(), Vector3f end = Vector3f())
{
p0 = begin;
p1 = end;
}
}
The text was updated successfully, but these errors were encountered:
Which version and operating system do you use?
The first failure looks like you are using Windows. The problem is fixed in the current development trunk merge-2.067.
The second failure is #821 and #855 which is an LLVM bug.
https://github.com/gecko0307/dlib
Doesn't appear to build with an assertion failure
Debug Mode
echo dlib\coding\huffman.d >Debug\dlib.build.rsp
echo dlib\coding\package.d >>Debug\dlib.build.rsp
echo dlib\coding\varint.d >>Debug\dlib.build.rsp
...
ldc2 -m64 -gc -X -Xf="Debug\dlib.json" -deps="Debug\dlib.dep" -c -od="Debug" @debug\dlib.build.rsp -oq
if errorlevel 1 goto reportError
echo huffman.obj >Debug\dlib.build.lnkarg
echo package.obj >>Debug\dlib.build.lnkarg
...
ar cru "Debug\dlib.lib" @debug\dlib.build.lnkarg
fails with
Assertion failed: (*p == 'e' || *p == 'E') && "Invalid character in significand", file D:\Temp\LDC-BUILD\src\llvm-3.6.0.src\lib\Support\APFloat.cpp, line 272
Release Mode
echo dlib\coding\huffman.d >Release\dlib.build.rsp
echo dlib\coding\package.d >>Release\dlib.build.rsp
echo dlib\coding\varint.d >>Release\dlib.build.rsp
...
"H:\apps\VisualD\pipedmd.exe" ldc2 -lib -m64 -release -X -Xf="Release\dlib.json" -deps="Release\dlib.dep" -of="Release\dlib.lib" -L/MAP:"Release\dlib.map" @Release\dlib.build.rsp
** fails with **
Assertion failed: !(Pair.first != Ty && Pair.second == Ty) && "mapping to a source type", file D:\Temp\LDC-BUILD\src\llvm-3.6.0.src\lib\Linker\LinkModules.cpp, line 265
This fails before getting to the linking step unlike Debug mode
Found the file that doesn't work:-
dlib.geometry.ray.d:
struct Ray
{
Vector3f p0;
Vector3f p1;
float t;
// Commenting out this constructor seems to fix the problem
this(Vector3f begin = Vector3f(), Vector3f end = Vector3f())
{
p0 = begin;
p1 = end;
}
}
The text was updated successfully, but these errors were encountered: