Jump to content
Sign in to follow this  
AAU

Using Winprop API in Visual Studio

Recommended Posts

Hi,

 

I am trying to run the indoor_propagation.cpp example on Visual Studio. I have used cmake for creating the VS project but when I try to just run the example, I get the following error:

 

image.png.7f96d40fb201dff19f0a5ec5a59e6cac.png

 

Is there any step I am skipping?

 

Thanks in advance.

Share this post


Link to post
Share on other sites

Hi,

 

often the files on the C drive are protected, so you should either install the WinProp API package on the D drive or run Visual Studio as administrator.

Share this post


Link to post
Share on other sites

I got the solution. The problem was it must be specified "set up as startup project" in the actual project. By default is placed on "ALL_BUILD" which is incorrect.

Share this post


Link to post
Share on other sites

Problem solved. In case someone is interested:

 

When I installed the Feko + Winprop software I pointed the environment variable to the license server. However, when using the API you need to configure it as a Windows enviroment variable to make it work. 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
You are posting as a guest. If you have an account, please sign in.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...