RE: [myjunk] [Proj] My problem: Trying to use proj (4.4-8) within a Microsoft Visual C++ 6.0 project: It doesn´t work.
Sam Harrell
sammyh at 3rddim.com
Mon Aug 2 17:25:05 EDT 2004
3 critical project settings
1. Linker -> General -> Additional Library directories (point to
proj.lib)
2. Linker -> Input -> Additional Dependencies (must include proj.lib)
3. C++ settings -> Additional include directories ( point to source
files)
If you get more LNK errors, you may need to set some other flags.
1. C++ -> Code generation -> RunTime library (set to Mtd)
2. Linker -> Input -> Additional Dependencies (may need to add
nochkclr.obj mscoree.lib)
Hope this helps,
Sam
_____
From: proj-bounces at xserve.flids.com [mailto:proj-bounces at xserve.flids.com]
On Behalf Of Anneli Gramusset
Sent: Monday, August 02, 2004 3:58 PM
To: proj at xserve.flids.com
Subject: [myjunk] [Proj] My problem: Trying to use proj (4.4-8) within a
Microsoft Visual C++ 6.0 project: It doesn´t work.
Hello.
I have already written, but I wasn´t in the group. So I don´t know if you
got my message. I´ll explain my problem again. I would like to use the proj
library (release 4.4.8) within a Visual C++ project. I have followed all
instructions to install it and I´ve tried to compile/execute an exemple
taken from the manual "Cartographic Projection Procedures, Release 4,
Interim Report" by Gerald I. Evenden.
After making some changes (projUV instead of UV...) I could compile the
exemple1.c...
But the linking doen´t work. I get the following error messages:
example1.obj : error LNK2001: unresolved external symbol
_pj_fwd
example.obj : error LNK2001: unresolved external symbol
_pj_init
Debug/ejemplo1.exe : fatal error LNK1120: 2 unresolved
externals
Error executing link.exe.
Creating browse info file...
example1.exe - 3 error(s), 0 warning(s)
I really don´t understand what´s happening. If someone has already work with
Microsoft Visual C++ (I don´t have the choice, sorry) and can help me, I´ll
be very greatful.
Thank you,
Anneli Gramusset
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/proj/attachments/20040802/c0d73461/attachment.html
More information about the Proj
mailing list