-
Trying to build ASMC in VC 22 with asmc.vcxproj fails because of path problems. I´m not an expert for VC, so maybe i´m doing something wrong. I expected opening the project would be enough for being able to rebuilt ASMC. VC doesn´t find asmc.props because it expects it to be in "C:\bin\asmc.props". I have no idea what to is wrong. |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 2 replies
-
No, you definitely on the right track here ;-) The short answer is that you should launch VS from the shell ( Assuming from the question this is the first time you test the debugging features in Asmc here are a few things to consider and prepare for. The tool chain (like Mingw and others) are made for local installations which means you could have multiple versions of Asmc installed on different drives and directories, hence adding a global environment (like LIB, INCLUDE, PATH) for Asmc are not recommended. The package should be installed using the asmc-x.xx.cmd file in the root directory, and a shortcut added to the desktop for this directory (to ./bin/dz.exe) named Asmc-x.xx with admin rights. It's also recommended that you exclude this directory from live AV scans as this slows down the build process, especially on large projects and libraries. Take some time to setup DZ properly. Set the right font (and) size, test the Alt-F9 and Alt-Enter, and finally hit Alt-T and enter. The default PATH setting should be:
Here you should add the path to the VS tools (if not already in the PATH):
Exit and restart the shell for this to take effect. Now to the last bit (debated before) regards the import libraries: Navigate to the Note that it is a great convenience to have two screens when debugging. One for the source and one for registers, call stack and watches. To test if this works try a simple project first, like Debugging Asmc needs source input so you need to add a |
Beta Was this translation helpful? Give feedback.
-
Trying to follow your above steps, i can create a 64 bit debug version of ASMC in VC Using dz.exe it fails (makefile in \source\asmc), it assembles, but then i get this:
file libc.lib(_filbuf.obj): undefined symbol ___pioinfo |
Beta Was this translation helpful? Give feedback.
-
Good, so now you can try the debugging features (greatly) needed to add any changes.
The makefile was out of date so I just uploaded a new one. This defaults to 64-bit so additional arguments to make is The command for building Asmc in Windows should be something like this (make sure asmc is not in this directory):
Commands for Linux:
|
Beta Was this translation helpful? Give feedback.
-
Thanks - now i can build ASMC for 64 bit but for 32 bit it still fails with the same errors as above. |
Beta Was this translation helpful? Give feedback.
-
Added a new update with some 32-bit updates. |
Beta Was this translation helpful? Give feedback.
Added a new update with some 32-bit updates.