CDP Forum Forum Index CDP Forum
NOTE: The forum is being replaced by support.icd.no
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Common beginner problems using CDPSim

 
Post new topic   Reply to topic    CDP Forum Forum Index -> CDPSim
View previous topic :: View next topic  
Author Message
Svein



Joined: 14 Mar 2007
Posts: 94
Location: Ålesund, Norway

PostPosted: Thu 5 Jul 10:01:29 2007    Post subject: Common beginner problems using CDPSim Reply with quote

Exclamation Problem
DynamicSimComponent.h not found compiler error.

Idea Solution
Add $(CDPBase)\CDPSim to the C++ include path in the project that gives this error. Both the CDP_Application project and the lib projects containing the simulator models need this in their C++ include paths. (Properties->C/C++->General->Additional Include Directories).
_________________
Svein Erling Linge, ICD
Back to top
View user's profile Send private message Visit poster's website
Svein



Joined: 14 Mar 2007
Posts: 94
Location: Ålesund, Norway

PostPosted: Thu 5 Jul 10:15:56 2007    Post subject: Reply with quote

Also see common CDP beginner problems and How to set up a project for running CDPSim.
_________________
Svein Erling Linge, ICD


Last edited by Svein on Thu 5 Jul 10:26:38 2007; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website
Svein



Joined: 14 Mar 2007
Posts: 94
Location: Ålesund, Norway

PostPosted: Thu 5 Jul 10:23:14 2007    Post subject: Linker error: DynamicSimComponent etc not found Reply with quote

Exclamation Problem
The linker complains about not finding symbols like DynamicSimComponent, SimulatorManager etc.

Idea Solution
The CDPSim library must be linked with the application. Add CDPSim_Debug.lib or CDPSim_Release.lib to CDP_Application->Properties->Linker->Input->Additional Dependencies.
_________________
Svein Erling Linge, ICD
Back to top
View user's profile Send private message Visit poster's website
Svein



Joined: 14 Mar 2007
Posts: 94
Location: Ålesund, Norway

PostPosted: Thu 5 Jul 10:40:23 2007    Post subject: Reply with quote

Exclamation Problem
The simulation does not start.

Idea Solution
Send a Start command to the Simulator (SimulatorManager) component to start the simulation. The Simulator should then go to Simulate state.

The SimulatorManager must be present to be able to run a CDPSim simulation.

If you do not have a Simulator component (model SimulatorManager), then see point 7 and 8 in How to set up a project for running CDPSim.
_________________
Svein Erling Linge, ICD
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    CDP Forum Forum Index -> CDPSim All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group