Unable to build inside vscode using c/c++ extension #4667
Replies: 1 comment
-
I am NOT a developer so can only observe that there is a very good reason the build process is done via Studio rather than Code. so consider the first 480 lines of a build (which will become one of 6 "release" versions plus others such as Debug) are for installed Builder support. Before the next line starts with
Personally for a pure 32 bit build on a legacy 32 bit system even then I need to make a few changes to get a cleanish build as my VStudio is unsupported. That last one is a problem for 32bit device as its 64bit inclusion, so then my personal build needs that first. |
Beta Was this translation helpful? Give feedback.
-
I am trying to build sumatrapdf code locally to be able to get into its development. I am using windows 11(I am new to windows). I did clone sumatra pdf. I installed vscode and c/c++ extension in it. I also installed windows sdk and kits in it. Now I want to compile sumatrapdf from scratch(not from sln file). To add my system libraries I made some changes in
c_cpp_properties.json
andtasks.json
.c_cpp_properties.json
tasks.json
I want to add a sample test
src/testcode/TestEngineDump.cpp
which has below codeWhen I am trying to run this test, I am getting a pile of linker errors
In the error, there are some linkage errors for the libraries that are present locally e.g.
src/utils/...
. I have tried adding some linker command line options but the errors for local libraries persist. Can someone please guide me here? What am I doing wrong? How can I compile and run the sample test code?Beta Was this translation helpful? Give feedback.
All reactions