Bentley Communities
Site
Search
User
Site
Search
User
Product Communities
OpenRoads | OpenSite
OpenRoads | OpenSite Forum
LNK2001 error
Sign In
State
Verified Answer
Replies
2 replies
Subscribers
142 subscribers
Views
1233 views
Users
0 members are here
InRoads
.lib
SCad
C++
LNK2001 error
Offline
HDR_Coder
over 8 years ago
You can ignore/delete this. I figured out the problem
Parents
0
Offline
Richard W. Bradshaw
Tue, Oct 27 2015 1:50 PM
In Help
Under Using Visual C++ to Create an InRoads Group Macro
...
Step Two — VC++ Project Settings
...
5. In order to link, make the following changes:
a.
Go to the Project > Properties > Linker > Input leaf and set Additional Dependencies to "C:\Program Files (x86)\Bentley\InRoads Group V8.11\sdk\ScadSDK.lib" (and this path is where ever InRoads is installed at!)
Also, the current version of InRoads is 32 bit, so it may not work if you compile / link as 64 bit.
Answer Verified By: HDR_Coder
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Reject Answer
Cancel
Reply
0
Offline
Richard W. Bradshaw
Tue, Oct 27 2015 1:50 PM
In Help
Under Using Visual C++ to Create an InRoads Group Macro
...
Step Two — VC++ Project Settings
...
5. In order to link, make the following changes:
a.
Go to the Project > Properties > Linker > Input leaf and set Additional Dependencies to "C:\Program Files (x86)\Bentley\InRoads Group V8.11\sdk\ScadSDK.lib" (and this path is where ever InRoads is installed at!)
Also, the current version of InRoads is 32 bit, so it may not work if you compile / link as 64 bit.
Answer Verified By: HDR_Coder
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Reject Answer
Cancel
Children
0
Offline
HDR_Coder
Tue, Oct 27 2015 1:53 PM
in reply to
Richard W. Bradshaw
Thank you. I just forgot the "" on the .lib file.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel