Hello

I'm trying to compile nana-creator for linux. I downloaded the project and it includes a build/codeblocks_linux folder.

I opened that project and when I gave it to compile I get the following errors:

nana-creator/src/creator.cpp:179:9: error: could not convert ‘nana::filebox::operator()() const()’ from ‘std::vector<std::experimental::filesystem::v1::__cxx11::path>’ to ‘bool’

nana-creator/src/creator.cpp:182:47: error: ‘class nana::filebox’ has no member named ‘file’; did you mean ‘title’?

nana-creator/src/creator.cpp:186:20: error: ‘class nana::filebox’ has no member named ‘file’; did you mean ‘title’?

nana-creator/src/creator.cpp:207:9: error: could not convert ‘nana::filebox::operator()() const()’ from ‘std::vector<std::experimental::filesystem::v1::__cxx11::path>’ to ‘bool’

nana-creator/src/creator.cpp:209:20: error: ‘class nana::filebox’ has no member named ‘file’; did you mean ‘title’?

Is there a detailed guide to compiling this program?

A greeting and sorry for using google translate (I am Spanish)

Hello I'm trying to compile nana-creator for linux. I downloaded the project and it includes a build/codeblocks_linux folder. I opened that project and when I gave it to compile I get the following errors: ```` nana-creator/src/creator.cpp:179:9: error: could not convert ‘nana::filebox::operator()() const()’ from ‘std::vector<std::experimental::filesystem::v1::__cxx11::path>’ to ‘bool’ nana-creator/src/creator.cpp:182:47: error: ‘class nana::filebox’ has no member named ‘file’; did you mean ‘title’? nana-creator/src/creator.cpp:186:20: error: ‘class nana::filebox’ has no member named ‘file’; did you mean ‘title’? nana-creator/src/creator.cpp:207:9: error: could not convert ‘nana::filebox::operator()() const()’ from ‘std::vector<std::experimental::filesystem::v1::__cxx11::path>’ to ‘bool’ nana-creator/src/creator.cpp:209:20: error: ‘class nana::filebox’ has no member named ‘file’; did you mean ‘title’? ```` Is there a detailed guide to compiling this program? A greeting and sorry for using google translate (I am Spanish)
edited Mar 27 at 11:13 pm

Nana v1.7 has breaking changes to the filebox widget. An example of the new filebox in NANA 1.7.0

nana::filebox fb(fm,true);
fb.title("Mixer Logs");
fb.init_path("C:\\ProgramData\\pinmed\\pelexmixer");
fb.add_filter("Log File", "*.log");
fb.add_filter("All Files", "*.*");

auto path = fb.show();
if( ! path.empty() )    //When user clicked 'OK'
{
    text.load( path[0].string() );
}
Nana v1.7 has breaking changes to the filebox widget. An example of the new filebox in NANA 1.7.0 nana::filebox fb(fm,true); fb.title("Mixer Logs"); fb.init_path("C:\\ProgramData\\pinmed\\pelexmixer"); fb.add_filter("Log File", "*.log"); fb.add_filter("All Files", "*.*"); auto path = fb.show(); if( ! path.empty() ) //When user clicked 'OK' { text.load( path[0].string() ); }

ok, then the program is not ported to version 1.7 yet?

Without knowing much nana yet, I made some changes and that part already compiles, but now the error is that it does not find the file src/pg_items.cpp

I think I'll wait to update the program. While I will use the binary for windows.

a greeting

ok, then the program is not ported to version 1.7 yet? Without knowing much nana yet, I made some changes and that part already compiles, but now the error is that it does not find the file **src/pg_items.cpp** I think I'll wait to update the program. While I will use the binary for windows. a greeting

Hello

A new version of nana-creator has just been published. I have downloaded the binary for windows, but for linux you have to compile.

Included in the build folder is a Code::Blocks file for linux and another for windows, as well as one for VS2015

I do not use Code::Blocks, it's an obsolete editor, I'm only using it to compile nana and now to try to compile nana-creator.

The error I get now is:

reference to 'nana::detail::theme::theme()' not defined

I guess it's related to the nana library, but I do not get it or I do not know how to add it to the project properly.

Let's see if any of you have compiled this program or have detailed instructions on how to do it with Code::Blocks

Thank you very much (and sorry for my bad English)

A greeting

Hello A new version of nana-creator has just been published. I have downloaded the binary for windows, but for linux you have to compile. Included in the build folder is a Code::Blocks file for linux and another for windows, as well as one for VS2015 I do not use Code::Blocks, it's an obsolete editor, I'm only using it to compile nana and now to try to compile nana-creator. The error I get now is: ```` reference to 'nana::detail::theme::theme()' not defined ```` I guess it's related to the nana library, but I do not get it or I do not know how to add it to the project properly. Let's see if any of you have compiled this program or have detailed instructions on how to do it with Code::Blocks Thank you very much (and sorry for my bad English) A greeting
28
views
3
replies
2
followers
live preview
enter atleast 10 characters
WARNING: You mentioned %MENTIONS%, but they cannot see this message and will not be notified
Saving...
Saved
All posts under this topic will be deleted ?
Pending draft ... Click to resume editing
Discard draft