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
I built the DCPLib examples using steps I documented in #62. However, when I try to build the examples with debug options using CMake, I get errors for both master and slave examples.
Using CMake command-line arguments -DCMAKE_BUILD_TYPE=Debug or -DCMAKE_BUILD_TYPE=RelWithDebInfo results in the following compile-time or run-time errors.
Compile-time error for both master and slave examples when using the CMake command-line option -DCMAKE_BUILD_TYPE=Debug
[build] .../as.exe: CMakeFiles/dcpmaster.dir/src/Main.cpp.obj: too many sections (35151)
[build] C:\Users\user\AppData\Local\Temp\ccJ1LSjs.s: Fatal error: can't write 97 bytes to section .text of CMakeFiles/dcpmaster.dir/src/Main.cpp.obj because: 'File too big'
Run-time error only with master example when using the CMake command-line option -DCMAKE_BUILD_TYPE=RelWithDebInfo
terminate called after throwing an instance of 'std::invalid_argument'
what(): unable to open primary document entity 'C:\GIT\DCPLib\example\master/slaveDescription.xsd' at line 0 column 0
How can I compile DCPLib with the ability debug, set breakpoints and step through code during development? Just using Wireshark to review UDP packets is not ideal for debugging DCP applications. Any pointers will be greatly appreciated.
The text was updated successfully, but these errors were encountered:
I built the DCPLib examples using steps I documented in #62. However, when I try to build the examples with debug options using CMake, I get errors for both master and slave examples.
Using CMake command-line arguments -DCMAKE_BUILD_TYPE=Debug or -DCMAKE_BUILD_TYPE=RelWithDebInfo results in the following compile-time or run-time errors.
Compile-time error for both master and slave examples when using the CMake command-line option -DCMAKE_BUILD_TYPE=Debug
[build] .../as.exe: CMakeFiles/dcpmaster.dir/src/Main.cpp.obj: too many sections (35151)
[build] C:\Users\user\AppData\Local\Temp\ccJ1LSjs.s: Fatal error: can't write 97 bytes to section .text of CMakeFiles/dcpmaster.dir/src/Main.cpp.obj because: 'File too big'
Run-time error only with master example when using the CMake command-line option -DCMAKE_BUILD_TYPE=RelWithDebInfo
terminate called after throwing an instance of 'std::invalid_argument'
what(): unable to open primary document entity 'C:\GIT\DCPLib\example\master/slaveDescription.xsd' at line 0 column 0
How can I compile DCPLib with the ability debug, set breakpoints and step through code during development? Just using Wireshark to review UDP packets is not ideal for debugging DCP applications. Any pointers will be greatly appreciated.
Thank you for your notes that allowed me to successfully build DCBlib on windows. I am now experiencing the same problem as you. terminate called after throwing an instance of 'std::invalid_argument'
what(): Unable to open primary document entity 'C: \ DCPLib \ example \ master/slaveDescription XSD' at the column line 0 0, could you tell me your problem is how to solve, I would appreciate it
I built the DCPLib examples using steps I documented in #62. However, when I try to build the examples with debug options using CMake, I get errors for both master and slave examples.
Using CMake command-line arguments
-DCMAKE_BUILD_TYPE=Debug
or-DCMAKE_BUILD_TYPE=RelWithDebInfo
results in the following compile-time or run-time errors.master
andslave
examples when using the CMake command-line option-DCMAKE_BUILD_TYPE=Debug
master
example when using the CMake command-line option-DCMAKE_BUILD_TYPE=RelWithDebInfo
How can I compile DCPLib with the ability debug, set breakpoints and step through code during development? Just using Wireshark to review UDP packets is not ideal for debugging DCP applications. Any pointers will be greatly appreciated.
The text was updated successfully, but these errors were encountered: