Quantcast
Channel: MicroStation Programming Forum - Recent Threads
Viewing all articles
Browse latest Browse all 7260

RE: [C++ V8i] Replicating the Facet Curve - Equal Chord Length method

$
0
0

[quote user="Maury"]Placing the prototype at the top of my file (does not compile).
Placing the prototype at in the msbsplin.fdf compiles[/quote]

When you get compiler errors Visual C++ identifies them with a 4-digit number having a C prefix (e.g. C1234).  You would get a  compiler error if C++ can't find a header file, or can't find a function prototype in any #included file.

If there are compiler errors then build stops before it gets to the linker.  If compilation succeed then the compiler found the function prototype.  It's not a good idea to modify the delivered header files — you've introduced a maintenance nightmare.

What I do is put all unpublished function prototypes into their own header file and #include that as required.

(Please visit the site to view this file)

[quote user="Maury"]unresolved symbol[/quote]

That's a linker error.  The Microsoft linker identifes a linker error with a 4-digit number having an L prefix (e.g. L1234).  The linker can't find the implementation of mdlBspline_computeEqualChordByNumber in any .lib or .dll file that you've included in your library list.


Viewing all articles
Browse latest Browse all 7260


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>