David P
Members-
Content Count
42 -
Joined
-
Last visited
Everything posted by David P
-
Thanks. Do you ship a WebView2Loader.dll or use a MS installer for that. I shipped the one provided in the \redist folder and have had mixed results on client test sites.
-
Hello I would like to be able to connect to a video camera (USB Initially) to capture footage and to process the footage (frame by frame), either live or after it has been saved. The idea is to create a traffic counter. Can anyone recommend a video capture/processing library Many thanks
-
Video capture/processing library recommendations
David P replied to David P's topic in Delphi Third-Party
Thanks Rollo/Tom. This is intended as a hobby project intended for use in my local area. I'm hoping this means I can simplify the configuration/detection a lot. -
Video capture/processing library recommendations
David P replied to David P's topic in Delphi Third-Party
Thanks Tom. that's very useful. Always good to get a recommendation from someone who uses the library. -
11.2 now doesn't link my Windows VCL C++ Clang64 project
David P replied to Roger Cigol's topic in General Help
I had that issue for a debug build, I had to increase the linker sizes. Clang can be made to use multiple threads and be almost as fast as TC. -
11.2 now doesn't link my Windows VCL C++ Clang64 project
David P replied to Roger Cigol's topic in General Help
I agree. In 11.2 I'm able to switch between 32/64 bit builds with no issue. Have you tried without using TwineCompile? I've used that for many years and just recently have reverted to using Clang directly with 16 threads. It's almost as fast and there appear to be fewer build/link issues. -
11.2 now doesn't link my Windows VCL C++ Clang64 project
David P replied to Roger Cigol's topic in General Help
For any odd build/link issues like that I usually wipe all build and temp files from all associated directories. I also have each project output to a platform/config specific directory so there should be no cross-contamination: $(DEV_BUILD_DIR)\ProjName_$(Platform)_$(Config) -
Roger I use Project Options - Building - C++ Compiler - LSP and untick 'Enable Project iNdexing for Navigation/Tooltip support'
-
They say that you need to save the project first before it works. I'm running 11.2 and code completion is still poor. For our large project it's indexing 300+ files, taking min 10% CPU, hundreds of MB of disk space. I just end up switching it off.
-
That linker error may just be a #pragma issue. Take a look at this link https://docwiki.embarcadero.com/RADStudio/Alexandria/en/Auto_Linking?fbclid=IwAR1J2_W6UYbPxxUFtC-rWGy81mVU6RQ_lnJCFVih5yhbyxm5zeXR3wgveAc
-
It seems that EurekaLog may do this, not sure about 64 bits though.
-
Compile times Embarcadero clang C++ 17 vs other C++ 17 compilers
David P replied to Roger Cigol's topic in General Help
Yep, already click the pch option, though I do find that it randomly unticks itself occasionally. Not found out why just yet. Twine - we've used it for many years but have recently found it not as reliable with 11.1. We're now tending to use the IDE built in parallel compiling: Tools|Options - IDE - Compiling and Running - Tick Background compilation and set Priority=High Project Options - C++ Compiler - General Compilation - Enable Batch Compilation Project Options - Project Properties - General - Tick 'Run C++ Compiler in a separate process'. Subprocesses = 16 for me. I find the above is a similar speed to Twine, but also has the added advantage of carrying the speed increase over when releasing with FinalBuilder, We find the debugger is poor with Clang Win32, so may try a classic build again. We found it gave catastrophic internal compiler error in 10.4.x. -
I'm trying to standardise on a common output pathing for our various apps and for the output directories I have something like this: $(DEV_BUILD_DIR)\$(MSBuildProjectName)_$(Platform)_$(Config) To create C:\dev_build\MyApp_Win32_Debug\ This works fine for the intermediate files etc. If I use the above for the Final Ouput directory, the exe (+others) are placed in the directory, but an F9 results in an error saying unable to locate the executable. It looks like the IDE has no knowledge of $(MSBuildProjectName). Aside from envrionment variables, is there a list available of other params to be used in the project directory fields, specifically the project name? Thanks.
-
Compiler param like $(Config) for the app name
David P replied to David P's topic in Delphi IDE and APIs
Thanks, it partially works. An empty directory called c:\dev_build\MyApp_Win32_Debug\ is created, but also one called c:\dev_build\_Win32_Debug\ which contains all the output files (exe, obj, il* etc) -
Compile times Embarcadero clang C++ 17 vs other C++ 17 compilers
David P replied to Roger Cigol's topic in General Help
We're moving from BCB2007 where it takes 3.2s (Classic, using Twine x 16) to compile our main project. With 11.1 (Clang + Twine) it takes ~90s. Such a huge difference we've often had seconds thoughts about moving to v11. I'm hoping that it's just a case of more fully optimising the pch. -
Is anyone using Build Groups? How do I add different Configuration/Platforms to a Build Group? I have a project group containing 10 projects, some (design-time packages) I want to only compile as Win32, and the run-time packages I want to build as both Win32 + 64. The projects have the relevant Target Platforms listed in Project Manager. When I open the Build Groups pane and create a new Build Group, it adds all the projects to the Build Group. All of them are Release + Win32, but I cannot figure out how to add the Win64 platform too. I'm sure I've managed this in the past with 10.x but I cannot figure it out in 11.1. Any pointers?
-
Thanks, but there is no way for me to edit the Configurations / Platforms columns. Tried, clicking, double-clicking, right-clicking, no ellipsis. It could do with an 'Edit..' option on the context menu. This is with 11.1. Tried it on 10.4.3 and works as expected, looks like they broke it.