Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unix-style vs Windows-style paths #4

Open
roversch opened this issue Jun 1, 2018 · 2 comments
Open

Unix-style vs Windows-style paths #4

roversch opened this issue Jun 1, 2018 · 2 comments

Comments

@roversch
Copy link

roversch commented Jun 1, 2018

When running the Quadrotor example, I get following error:

??? OCP_F_Fu_Fx.c specified in custom source files string does not
exist in any of the following search directories:
"/Users/robin/ParNMPC/Quadrotor/.\codegen\lib\OCP_F_Fu_Fx"
"/Users/robin/ParNMPC/Quadrotor"

Code generation failed: View Error Report
Error using codegen

Error in OptimalControlProblem/codeGen (line 123)
    codegen -config cfg_OCP_KKTs...

Error in NMPC_Problem_Formulation (line 53)
    OCP.codeGen();

Error in run (line 91)
    evalin('caller', strcat(script, ';'));

Works if I replace the .\codegen\... path with codegen/lib/....

@deng-haoyang
Copy link
Owner

Hello, roversch,

Thanks for pointing out this problem. I've fixed this bug in a new commit.
Sorry for just testing on Windows, and I will test this software on Linux later.

I am looking forward to hearing more feedback from you.

@xeeman
Copy link

xeeman commented Aug 23, 2019

Hi Deng,
I run the example but I got this error in the final stage.

Failed to load custom code simulation library:D:\Users\sanim\Documents\MATLAB\MPC\ParNMPC\SemiActiveDamper\slprj_slcc\oSDpra6UYTzTcubJVwU2TH\oSDpra6UYTzTcubJVwU2TH_cclib.dll
Component:Simulink | Category:Model error

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants