Developer forums (C::B DEVELOPMENT STRICTLY!) > Development
Squirrel 3.1 and new bindings
stahta01:
After manually creating "sdk_tests" sub folder these results on the third run.
Tim S.
--- Code: ---======= Test SDK function END =======
Global executed tests: 519
Global passed tests: 498
Global failed tests: 21
--- End code ---
stahta01:
--- Code: ---======= Test helpers BEGINN =======
Test: MakePath 0....................PASSED
[ERROR] Test: MakePath 1....................FAILED
[ERROR] got: "path\name"
[ERROR] needed: "path/name "
[ERROR] Test: MakePath 2....................FAILED
[ERROR] got: "path/\name"
[ERROR] needed: "path/name "
[ERROR] Test: MakeDir 0.....................FAILED
[ERROR] got: "name\"
[ERROR] needed: "name/ "
[ERROR] Test: MakeDir 1.....................FAILED
[ERROR] got: "name/\"
[ERROR] needed: "name/ "
[ERROR] Test: MakeDir 2.....................FAILED
[ERROR] got: "path\name/\"
[ERROR] needed: "path/name/ "
[ERROR] Test: MakeDir 3.....................FAILED
[ERROR] got: "path/\name/\"
[ERROR] needed: "path/name/ "
Executed tests: 7
passed tests: 1
failed tests: 6
======= Test helpers END =======
--- End code ---
--- Code: ---[ERROR] Test: CompileTargetBase::GetOutputFilename......................................FAILED
[ERROR] got: "NewProject.exe"
[ERROR] needed: "NewProject "
[ERROR] Test: CompileTargetBase::SuggestOutputFilename..................................FAILED
[ERROR] got: "NewProject.exe"
[ERROR] needed: "NewProject "
[ERROR] Test: CompileTargetBase::SetOutputFilename......................................FAILED
[ERROR] got: "debugOutput.exe"
[ERROR] needed: "debugOutput "
[ERROR] Test: CompileTargetBase::SuggestOutputFilename after set........................FAILED
[ERROR] got: "NewProject.exe"
[ERROR] needed: "NewProject "
--- End code ---
--- Code: ---[ERROR] Test: CompileTargetBase::GetExecutableFilename..................................FAILED
[ERROR] got: "C:\Users\stahta01\AppData\Local\Temp\sdk_tests\NewProject.exe"
[ERROR] needed: "C:\Users\stahta01\AppData\Local\Temp\sdk_tests\NewProject "
[ERROR] Test: CompileTargetBase::GetDynamicLibFilename..................................FAILED
[ERROR] got: "C:\Users\stahta01\AppData\Local\Temp\sdk_tests\NewProject.exe"
[ERROR] needed: "C:\Users\stahta01\AppData\Local\Temp\sdk_tests\NewProject "
--- End code ---
--- Code: ---[ERROR] Test: cbProject::AddFile 2: weight..........FAILED
[ERROR] got: 50
[ERROR] needed: 17
--- End code ---
--- Code: ---[ERROR] Test: cbProject::ExtensionListNodes root after 2....FAILED
[ERROR] got: "//rootNode[0]"
[ERROR] needed: "/rootNode[0] "
[ERROR] Test: cbProject::ExtensionListNodes after addition..FAILED
[ERROR] got: "rootNode[0]/child[0];rootNode[0]/multi[1];rootNode[0]/multi[2]"
[ERROR] needed: "rootNode[0]/child[0];rootNode[0]/multi[0];rootNode[0]/multi[1] "
--- End code ---
--- Code: ---[ERROR] Test: cbProject::ExtensionRemoveNode multi 1....................FAILED
[ERROR] got: "rootNode[0]/child[0];rootNode[0]/multi[1]"
[ERROR] needed: "rootNode[0]/child[0];rootNode[0]/multi[0] "
--- End code ---
Tim S.
ollydbg:
--- Quote from: stahta01 on April 24, 2021, 07:09:11 pm ---
--- Code: ---From fcd586699f2330ee51d684945031252d7122c378 Mon Sep 17 00:00:00 2001
From: Tim Stahlhut <stahta01@gmail.com>
Date: Sat, 24 Apr 2021 11:47:24 -0400
Subject: Add define of EXPORT_LIB to Squirrel target
---
src/CodeBlocks_wx31.cbp | 1 +
src/CodeBlocks_wx31_64.cbp | 1 +
2 files changed, 2 insertions(+)
diff --git a/src/CodeBlocks_wx31.cbp b/src/CodeBlocks_wx31.cbp
index adfafe2aa..0652f4cf4 100644
--- a/src/CodeBlocks_wx31.cbp
+++ b/src/CodeBlocks_wx31.cbp
@@ -50,6 +50,7 @@
<Option type="2" />
<Option compiler="gcc" />
<Compiler>
+ <Add option="-DEXPORT_LIB" />
<Add directory="include/scripting/include" />
</Compiler>
</Target>
diff --git a/src/CodeBlocks_wx31_64.cbp b/src/CodeBlocks_wx31_64.cbp
index 16c775c76..6d31ed7d5 100644
--- a/src/CodeBlocks_wx31_64.cbp
+++ b/src/CodeBlocks_wx31_64.cbp
@@ -50,6 +50,7 @@
<Option type="2" />
<Option compiler="gcc" />
<Compiler>
+ <Add option="-DEXPORT_LIB" />
<Add directory="include/scripting/include" />
</Compiler>
</Target>
--
2.31.1.windows.1
--- End code ---
Updated the patch file; I have only tested the 64 bit project and it builds without error.
I have yet to run the built binaries.
Tim S.
--- End quote ---
Hi, Tim, thanks, you patch fixes the build error on my 64bit Windows. I don't have 32bit GCC system right now.
And I see that I got the same test results as posted by you.
stahta01:
My MinGW GCC 32 bit build fails on this line from scriptingmanager.cpp
--- Code: ---static_assert(sizeof(int64_t)==sizeof(SQInteger), "Incorrect setup of Squirrel!");
--- End code ---
Tim S.
oBFusCATed:
--- Quote from: stahta01 on April 25, 2021, 05:44:42 pm ---My MinGW GCC 32 bit build fails on this line from scriptingmanager.cpp
--- End quote ---
What do you use to build project files or autotools?
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version